Welcome ,
  1. Home
  2. Standard Post Types Parameters in Embedding Widgets

PageCarton Documentation



Interested in coding widgets, classes, or methods? Check out the Code section!

Standard Post Types Parameters in Embedding Widgets

It's good to use Standard Post Types Parameters in Embedding Widgets in themes so that when users change themes, similar posts made from previous themes can work in the theme one is building


Image
Data Type Parameters
Our Services / What we do article_type="service"
Team Members article_types="team-member" && post_type_custom_fields="position,full_name,facebook_url,twitter_url,instagram_url,linkedin_url"
Products true_post_type="product"
Blog Posts article_types="blog-post" && true_post_type="article"
Portfolio / Project  article_types="portfolio" && true_post_type="link"
Slideshow article_types="slideshow"
Testimonial article_types="testimonial" && post_type_custom_fields="position,full_name"
Metrics article_types="metric" && post_type_custom_fields="number"
Gallery article_types="gallery-item"
Features / Why choose us article_types="feature"
Pricing article_types="pricing" && true_post_type="product" && post_type_custom_fields="feature_1,feature_2,feature_3,feature_4,feature_5"
Call-to-action article_types="call-to-action" && true_post_type="link"

 

 

 

← Previous "Steps in Creating a Theme""Standard Replaceable Texts to use in Building Themes" Next →


 

Similar article

 

Changing Number of Posts to Display on a Widget Photo

Changing Number of Posts to Display on a Widget

Another interesting customization feature just came in the latest PageCarton. Users of PageCarton can now change the number of post shown in embedded widget from the admin panel. For example, be...

Documentation Article
 

 

Installing PageCarton via Composer Photo

Installing PageCarton via Composer

If you have Composer installed on your computer, you can easily get PageCarton up by running the following commands on your command line.  # download PageCarton via composer composer c...

article
 

 

Setting up PageCarton via Docker Photo

Setting up PageCarton via Docker

PageCarton now has a few files in its GitHub repository that helps to set it up on Docker easily. If you are familiar with Docker or a newbie, you should be able to get started with PageCarton...

article
 

 

Steps in Creating a PageCarton Website Offline Photo

Steps in Creating a PageCarton Website Offline

Creating a website has now been made easy with the use of Pagecarton, it's not necessary to know much about coding. If you have your contents ready, and the style of how your website wants to...

article
 

 

Steps in Creating a PageCarton Theme Photo

Steps in Creating a PageCarton Theme

Creating a PageCarton theme isn't actually a difficult task, but just that it might involve a long process and a little bit of how programming codes work. The main purpose of having a PageCarto...

article
 

 

HTML Syntax & API for Embedding Widgets Photo

HTML Syntax & API for Embedding Widgets

In an update to PageCarton that was available from August 2020, we added a new way to create and customize PageCarton Themes. In addition to existing ways of creating ...

article