How to Preview the Template on Specific Post?
By default, in editor, the single post template will display the content of the last added blog post. This post serves as a reference and demo for showing you how your template will look like. You can change this reference post to any other post by following this steps:
Elementor
Go to Settings and open Preview Settings
In "Preview Dynamic Content as" choose the post type of your preview post and in "Select Post" search and select your desired post for preview
- Click on "Apply & Preview" button to apply the preview settings to your loop item template
In this way you can create custom templates for posts of any post types in an easy and visual way by previewing the end result directly in the editor.
WPBakery
For TheGem WPBakery theme version, you can select the preview post directly in WPBakery using the options provided in the top bar:
- In "Post Type" you can choose the post type of your preview post
- In "Post" you can select your desired post for loop item preview
- Click on "Apply" button to apply the preview settings to your single post template