Understanding all of the WordPress Template Placeholders in your Blog Template pages can seem like a lot. If you're experiencing a blog post that is duplicating on your live site this doc will help you to know what settings must be in place in order to fix it.
Below are two different layout examples for your blog posts and the necessary settings that should be applied to ensure that your blog posts are not duplicating.
Blog Layout Style 1 (Repeating Design)
In this example, the blog layout is comprised of two canvases: one that acts as the template that displays your blog posts and one that will allow you to click to see more posts. The canvas that displays your posts will be the same design that repeats down the page for every post.
If you are using this repeating blog post layout and your blog posts are duplicating on your live site, make sure that your canvases are set as shown below.
Canvas 1 (In Post Loop)
The first canvas will be used as a template to display previews of your posts. Make sure that this canvas has the WordPress setting: In Post Loop. This will allow it to display WordPress blog post content.
Canvas 2 (Static Content/Pagination)
The canvas that comes immediately after your In Post Loop canvas should be a Pagination canvas that will reside at the bottom the post layout. Make sure this canvas has the WordPress setting: Static Content.
Note: The Static Content setting is the default for any new canvas placed on a blog template page. This setting is typically used for headers, footers, sidebar, pagination links (next/previous), comments & contact form canvases. It should be used for any canvases in the blog that don't hold specific WordPress placeholders for blog content.
Blog Layout Style 2 (Alternating Design)
This blog post layout requires four total canvases, using two of those canvases to display an alternating post layout that will repeat down the the page and ending with a canvas that allows you to click to see more posts.
If you are using this alternating blog post layout and your blog posts are duplicating on your live site, make sure that your canvases are set as shown below.
Canvas 1 (In Post Loop)
The first canvas in this layout will be the primary post layout design for your alternating design. This canvas needs to have the WordPress setting: In Post Loop.
Canvas 2 (Next Post Start)
Your next canvas will be the secondary post layout design that will alternate for your blog posts. Make sure this canvas has the WordPress setting: Next Post Start.
Canvas 3 (In Post Loop)
The third canvas in this alternating post layout will need to "close the post loop." Add a new blank canvas titled "End Post Loop" and set it to have a 1px canvas height. Make sure that this canvas has the WordPress setting: In Post Loop.
Canvas 4 (Static Content/Pagination)
Finally, the fourth canvas in this alternating post layout will be the pagination canvas. As mentioned earlier, this canvas should have the WordPress setting: Static Content.
Additional Troubleshooting
If you have applied these settings and you are still experiencing issues with your blog posts duplicating on your Blog page, reach out to the Showit Support team!