Hello! This tutorial is going to show you how to to add a “Related posts” section for single Services post page in CherryFramework 4.
In order to add the Related posts section login into site admin panel and navigate to Services -> Services. Look up the post that you want to display Related posts for and after that open that Services post.
Related posts can be added by using the Insert Shortcode button on the top.
First, we will add shortcode for the new row, so we can display Related posts there.
Click on Insert shortcode button, select Row, in the window that opens you can set all kinds of options for your shortcode.
From the received shortcode remove the “Column content” text and put cursor on its place, as we will add a shortcode for Related posts there. Click on ‘Insert shortcode’ button and ‘posts’, in Post ID’s section enter comma separated ID’s of the posts that you want to show.
To get posts ID’s go to Services->Services, hover over the title of each needed post – you can find post id at the very bottom. You can read more about it here.
In Post types section select Services and set all other options that you need, next click on Insert shortcode button.
You can add a title before cherry posts shortcode starts and update a page.
Feel free to check the detailed video tutorial below: