Custom Post Types
This shortcode allows adding a section with posts to the page.
How To Add Custom Post Types Widget To Your Page
- Click the icon to create a Section
- Set your Column structure
- Right-click to Edit, Duplicate, Copy, Delete, etc.
- Insert Widget using drag and drop inside your Columns.
5. Choose Widget style (Grid, Masonry) in the Layout section.
6. Customize widget and add content in Content Section. Here you can also customize content Typography.
Content Settings:
1. Grid Layout
Skin - Please, select a skin for your post types.
Use the custom font for title? - Turn on the switcher if you want to customize the title typography.
Use the custom font for terms? - Turn on the switcher if you want to customize the term typography. It works for skins that have terms.
Use the custom font for price? - Turn on the switcher if you want to customize the price typography.
Image Size Settings:
Image original size - Select the image size here.
Filters:
Add filters? - Turn on the switcher to add filters on the top.
All item text - Please, add the text for filtering all items.
Enable Centered Style? - Turn on the switcher if you want to make the centered style of the post types.
Use the custom font for filter? - Turn on the switcher if you want to customize the text typography filters.
Custom color for filter active - Choose the color for active filter from the color palette.
Pagination:
Add pagination - Turn on the switcher if you want to add pagination to the section with the post types. Notice: Do not use pagination and load more options together.
Load More:
Add load more? - Turn on the switcher if you want to add a "load more" option. Notice: Do not use pagination and load more options together.
Load more type - Please, select the load more type - button or infinity scroll.
Button name(static) - Here you can enter the text for the static button name.
Button name(loading) - Here you can enter the text for the loading button name.
Layout - Please, select the button layout.
Style - Here you can select the button style (dark or light).
Size - Here you can select button size (small or large).
Type - Here you can select the button type (reverse or transparent).
Box shadow - This option allows you to add the box shadow to the button.
Enable Full Width - Turn on the switch if you want to display a full-width button.
Data Settings:
Element tag for title - Here you can select the title tag.
Item per row - Here you can enter the number of posts by default.
Spaces - Here you can enter the spaces between the default posts.
Item per row(lg) - Here you can enter the number of default posts on devices width <1200px.
Spaces(lg) - Here you can enter spaces between the posts on devices with a width of <1200px.
Item per row(md) - Here you can enter the number of default posts on devices width <991px.
Spaces(md) - Here you can enter spaces between the posts on devices with a width of <991px.
Item per row(sm) - Here you can enter the number of default posts on devices width <768px.
Spaces(sm) - Here you can enter spaces between the posts on devices with a width of <768px.
Item per row(xs) - Here you can enter the number of default posts on devices width <480px.
Spaces(xs) - Here you can enter spaces between the posts on devices with a width of <480px.
Image Height - Here you can enter height relative to image width (percentage). Value between 30-100. You can use this option only for masonry layout and grid layout.
How to customize typography you can check in Typography Settings Category:
2. Masonry
Skin - Please, select a skin for your post types.
Use the custom font for title? - Turn on the switcher if you want to customize the title typography.
Use the custom font for terms? - Turn on the switcher if you want to customize the term typography. It works for skins that have terms.
Use the custom highlight typography in the last word in title? - Turn on the switcher if you want to customize the highlight typography in the last word in the title.
Add box shadow? - Turn on the switcher if you want to add the box-shadow to the posts.
Use excerpt typography? - Turn on the switcher if you want to customize the excerpt typography.
Use quote text typography? - Turn on the switcher if you want to customize the quote text typography.
Use quote author typography? - Turn on the switcher if you want to customize the quote author typography.
Images size:
Image original size - Select the image size here.
Filters:
Add filters? - Turn on the switcher to add filters on the top.
All item text - Please, add the text for filtering all items.
Enable Centered Style? - Turn on the switcher if you want to make the centered style of the post types.
Use the custom font for filter? - Turn on the switcher if you want to customize the text typography filters.
Custom color for filter active - Choose the color for active filter from the color palette.
Pagination:
Add pagination - Turn on the switcher if you want to add pagination to the section with the post types. Notice: Do not use pagination and load more options together.
Load More:
Add load more? - Turn on the switcher if you want to add a "load more" option. Notice: Do not use pagination and load more options together.
Load more type - Please, select the load more type - button or infinity scroll.
Button name(static) - Here you can enter the text for the static button name.
Button name(loading) - Here you can enter the text for the loading button name.
Data Settings:
Data source - Please, select the content type to display
Terms - Please, select the terms to display
Display post only with thumbnails? - Turn on the switcher if you want to display the post only with thumbnails.
Total items - Set max limit for items in a grid or enter -1 to display all (limited to 1000).
Offset - Here you can enter the number of grid elements to displace or pass over.
Order by - Select order type. If "Meta value" or "Meta value Number" is chosen then meta key is required.
Sort order - Here you can select the sorting order.
Excerpt Length - Set the excerpt length or leave blank to set default 55 words
Narrow data source - Please, enter categories, tags, or custom taxonomies.
Exclude - Exclude posts, pages, etc. by title.
Content Settings:
Element tag for title - Here you can select the title tag.
Item per row - Here you can enter the number of posts by default.
Spaces - Here you can enter the spaces between the default posts.
Item per row(lg) - Here you can enter the number of default posts on devices width <1200px.
Spaces(lg) - Here you can enter spaces between the posts on devices with a width of <1200px.
Item per row(md) - Here you can enter the number of default posts on devices width <991px.
Spaces(md) - Here you can enter spaces between the posts on devices with a width of <991px.
Item per row(sm) - Here you can enter the number of default posts on devices width <768px.
Spaces(sm) - Here you can enter spaces between the posts on devices with a width of <768px.
Item per row(xs) - Here you can enter the number of default posts on devices width <480px.
Spaces(xs) - Here you can enter spaces between the posts on devices with a width of <480px.
Image Height - Here you can enter height relative to image width (percentage). The value between 30-100. You can use this option only for masonry layout and grid layout.
How to customize typography you can check in Typography Settings Category:
- Title Typography
- Term Typography
- Highlight Typography
- Excerpt Typography
- Quote Text Typography
- Quote Author Typography
Advanced Settings:
- Margin: Set the section Margin.
- Padding: Set the section Padding.
- Z-index: Set the Z-Index.
- CSS ID: Set a CSS ID for your section.
- CSS Classes: Set CSS Classes for your section.
Motion Effects
- Sticky (Pro only): Set your section as Sticky, and choose between Top or Bottom.
- Scrolling Effects (Pro only): Set Scrolling Effects to On to choose from a variety of animations and interactions that can occur when the user scrolls through the page.
- Entrance Animation: Click the dropdown to choose an animation.
Background
The following options can be set independently for both the normal and hover states.
Border
The following options can be set independently for both the normal and hover states.
- Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved
- Border Radius: Set the border-radius to control corner roundness
- Box Shadow: Adjust box-shadow options
Positioning
- Width: Select the width of the element, choosing from Full Width (100%), Inline (auto), or Custom.
- Custom Width: Only available if Custom is chosen. Use the slider to adjust the width of the element within the column.
- Vertical Align: Only available if Full Width (100%) or Inline (auto) is chosen. Select to display the element at the Start, Center, or End.
- Position: Select the position of the element, choosing either Default, Absolute, Fixed, or Custom. Absolute positions an element absolutely to its first positioned parent. Fixed positions an element relative to the user’s viewport.
If either Absolute or Fixed is selected, the following options also become available.
- Horizontal Orientation: Sets the horizontal reference point for the absolute positioning, with choices of either Start or End.
- Offset: Changes the horizontal reference point by the amount of the offset
- Vertical Orientation: Sets the vertical reference point for the absolute positioning, with choices of either Start or End.
- Offset: Changes the vertical reference point by the amount of the offset
Responsive