Single View Post Displaying Wrong Template

Posted in: Newspaper
Post count: 9

Under Newspaper > Theme Panel > Post Settings, then Default post templates (site wide):
I have selected default for the default site post template.

All other options in this page except the two boxes in Featured Images are turned off (for the purpose of testing).

I go to Posts and click Add New, then verify that the Post Template selected is “From Panel.”

In scrolling down, I notice that there’s a lot of stuff in my Visual Composer.

I go back up and select the Classic Editor and notice a bunch of short code on the page.

Without adding anything at all to the post, I click on Preview. What I see appears to be three columns of post previews. On the third column, a sidebar is covering the column with other content.

Clearly, I have something fouled up in the setup (and it was going so well).

No matter which template I select in the Post Settings panel, I still get three columns of post previews with the third column covered by a sidebar containing ads.

Here is the short code in case that helps:

[vc_row full_width="stretch_row" parallax="content-moving-fade" parallax_image="iii_td_pic_homepage_iii" el_class="td-travel-header"][vc_column][/vc_column][/vc_row][vc_row el_class="td-travel-features"][vc_column][td_block_5 custom_title="" sort="featured" limit="3"][/vc_column][/vc_row][vc_row][vc_column][td_block_ad_box spot_id="custom_ad_1" spot_title="- Advertisement -"][/vc_column][/vc_row][vc_row][vc_column][td_block_4 custom_title="Trip ideas" category_id="" limit="3" td_ajax_filter_type="td_category_ids_filter" td_ajax_filter_ids="" td_ajax_preloading="preload" sort="random_posts"][vc_separator style="dashed" border_width="4"][vc_empty_space height="2px"][/vc_column][/vc_row][vc_row][vc_column][td_block_4 custom_title="Travel guides" category_id="" limit="3" td_ajax_filter_type="td_category_ids_filter" td_ajax_filter_ids="" td_ajax_preloading="preload" sort="random_posts"][vc_separator style="dashed" border_width="4"][vc_empty_space height="2px"][/vc_column][/vc_row][vc_row][vc_column][td_block_5 custom_title="Latest from blog" limit="3" ajax_pagination="load_more"][/vc_column][/vc_row]

To make a normal post, I can delete the short code and start with a blank page. then and only then do I get a post that’s what I expect to see. I also notice that I can make other changes using the backend editor if I want to add to the content in some pretty significant ways.

Any thoughts would be appreciated as to why I can’t seem to control the default single view post template like the documentation says I should be able to do??

thanks,

  • This topic was modified 9 years by donfink.
Post count: 9

So let me answer my own question in case someone else has this problem in the future.

The mysterious appearance of unwanted shortcodes in my new posts was because I had Visual Composer set to run in both pages and posts. By default, Visual Composer is supposed to work only on pages, which makes sense. that’s the place where you’re most likely to build complex layouts.

Anyway, I set Visual Composer back to its default and the posts are coming up like you would expect a well-behaved new post to do.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.