Tagged: disappears, loop, sidebar
-
AuthorPosts
-
July 27, 2013 at 5:23 am #26808
I have set up a custom sidebar for my frontpage. This sidebar shows up correctly as long as my page has no blog posts but only simple content on it. But as soon as I display other blog posts (in Grid Layout) on my frontpage, it tries to load a sidebar that is assigned to a blog post shown in the grid layout instead of the sidebar that I have originally assigned to my frontpage.
What to do?
July 29, 2013 at 11:24 am #131666Hi!
I can’t reproduce this bug on my test servers. Please create me a wordpress admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.
Regards,
Peter
July 30, 2013 at 1:12 pm #131667We are having a similar problem.
If we place a post slider on the page, the custom sidebar disappears from the sidebar and only the “Displayed Everywhere” widget remains.
If we take out the post slider the sidebar reappears.
Can you take a look? can i send login info and URL to the email above?
This problem came out after we updated from 1.7 to 1.8.4
July 30, 2013 at 3:05 pm #131668I was doing some testing.
Placing a widget container directly on the page works, the widget shows.
But if placed on the custom sidebar, the same widget disappears.
July 30, 2013 at 6:31 pm #131669Sorry, I am developing offline. I found a workaround for me (by overwriting sidebar.php in my child theme).
Perhaps it would be better to use get_posts() for contents displayed in avia widgets instead of query_posts(), so that get_the_ID() won’t change when the sidebar-code is being reached?
July 31, 2013 at 5:35 am #131670Hi,
I tested this on my end. I applied a custom sidebar, view the page, sidebar works ok. I edit the page again then insert the post slider, checked page and I can still see the custom sidebar at work. I have version 1.8.4.
Regards,
Ismael
July 31, 2013 at 7:37 am #131671I have version 1.8.4, before I have version 1.7.1 and worked well, but new version has problems with menu. Adds all pages to the menu and don’t create sub menus.
July 31, 2013 at 8:02 am #131672Problem solved.
July 31, 2013 at 2:15 pm #131673Hey,
Glad you solved it. I think upgrading to 1.8.4 will automatically fix it.
Regards,
Ismael
August 8, 2013 at 11:32 am #131674Think the problem arose again with 1.9.1 / WP 3.6. I’m having the same issue.
August 9, 2013 at 5:22 am #131675I can confirm this problem. If you use a Blog Grid with a custom sidebar on a page the sidebar won’t load. I think it’s because the posts in the Blog Grid on the affected page are of regular posts type. None of my other pages with custom taxonomy posts in Blog Grids are affected.
Sidebar reappears if I use a normal Blog Posts List instead of a Grid.
BTW 1.9.1 and WP 3.6
Chad
August 10, 2013 at 8:31 am #131676This issue will be fixed in the next version. For now open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace
$output = str_replace('{{thumbnail}}', $thumb_fallback, $output);
with
$output = str_replace('{{thumbnail}}', $thumb_fallback, $output);
wp_reset_query(); -
AuthorPosts
- The topic ‘Bug: Custom Sidebar not showing up when other Loop is on Page’ is closed to new replies.