plugin wipes out post if sidebar loaded first
-
In my template the call to get_sidebar() comes before the content. This can’t be changed due to template layout.
index.php for my template looks like this:
<?php get_sidebar(); ?>
[… snip ..]
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
[… snip ..]Problem:
This plugin, during the call to get_sidebar() wipes out the post data for the current page and replaces it with content from the news list. I have tested this with the Twenty Eleven theme, and if the get_sidebar() call is moved earlier then the same bug occurs (in their theme change sidebar-page.php to see this behaviour).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘plugin wipes out post if sidebar loaded first’ is closed to new replies.