If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

CherryFramework 4. How to display posts of certain type with shortcode

Hello! In this tutorial we’ll show you how to display posts of certain type on your page using shortcodes in your CherryFramework4 template.

CherryFramework 4. How to display posts of certain type with shortcode

  1. Navigate to Pages -> Add new and click on Insert shortcode button:

    how_to_display_posts_of_certain_type_with_shortcode-1

  2. Click on Content and choose the type of posts you wish to display on the page, for example Portfolio:

    how_to_display_posts_of_certain_type_with_shortcode-2

  3. In the window that opens you can set all kinds of options for your shortcode. Scroll down to see/change all of them:

    how_to_display_posts_of_certain_type_with_shortcode-3

  4. Among those options you also can:

    • Change the layout of your shortcode. For example, if you choose masonry layout, the posts will have different thumbnail sizes and will stick to each other.

    • How many posts will be displayed on each page.

    • Whether posts will paginate or there will be a read more button to load more posts.

    • Number of columns posts will display in.

    • The animation type posts will have on hover.

    • The pixel value of margin between the posts on the page under Gutter width.

    • Whether there will be filter by category and filter by date on the page.

    • Which shortcode template(layout) will be used on the page.

    • Also you can add custom class to a shortcode.

  5. Once you’re done editing, click on Insert shortcode button:

    how_to_display_posts_of_certain_type_with_shortcode-4

  6. Click on Preview changes to see how it looks on the front-end of your site:

    how_to_display_posts_of_certain_type_with_shortcode-5

  7. There it is, you’ve learned how to display posts of certain type on your page with shortcode:

    how_to_display_posts_of_certain_type_with_shortcode-6

Feel free to check the detailed video tutorial below:

CherryFramework 4. How to display posts of certain type with shortcode