-
AuthorPosts
-
July 5, 2014 at 1:19 pm #287506
I’ve added the bbPress forum plugin to my website, and I want its sidebar to display differently. So, I tried on the Appearance > Widgets page moving widgets from the Display Everywhere section to selectively display in the Blog, Pages and Forum section.
For blog posts, pages and the forum, all is fine. But if I leave the Display Everywhere section empty, the sidebar on the main page of my blog (set to display the most recent posts) displays a long list of links to pages, archives, etc. It seems that, somehow, if the Display Everywhere section is empty, that page picks up some kind of default widgets.
Is there any way I can fix this?
Thanks,
Kirk
July 6, 2014 at 3:49 am #287622Hi kirkmc!
Thank you for using the theme.
You can disable the default widgets on Enfold > Sidebar Layout. Disable the Page Sidebar navigation.
Regards,
IsmaelJuly 6, 2014 at 11:03 am #287681I don’t want to disable the sidebar. Something is happening when I empty the Displayed Everywhere sidebar causing default widgets to display on my front page. I want the front page to display widgets; and I assume those are the ones in the Sidebar Pages section of Appearance > Widgets.
Kirk
July 6, 2014 at 2:06 pm #287705Hey!
Yes, you see some “dummy widgets” if the “Displayed Everywhere” area is empty. Personally I recommend to insert an empty text widget into the sidebar to get rid of the dummy widgets. Alternatively delete this code in sidebar.php:
//default dummy sidebar if ($default_sidebar) { avia_dummy_widget(2); avia_dummy_widget(3); avia_dummy_widget(4); }
Best regards,
PeterAugust 18, 2014 at 12:06 pm #305676heio, is this also possible to write those or similar lines in the childthemes function.php file.
I want to have an ordered customicing.
Can you give some hints for funtions?
August 18, 2014 at 1:19 pm #305714Hi!
No, you can only delete/remove the lines in the parent theme. There is currently no possibility to supress these lines from the child theme.
Regards,
GünterSeptember 8, 2014 at 3:54 pm #315156Hunter74… it’s possible that Günter was correct at the time but all I know is that I am able to simply save sidebar.php from the parent theme in my child theme folder and I can comment out or delete
// avia_dummy_widget(2); // avia_dummy_widget(3); // avia_dummy_widget(4);
in my child theme’s sidebar.php file to suppress the dummy widgets. If it matters I’m using Enfold 2.9.2
-
AuthorPosts
- The topic ‘Widget display: blog, pages, everywhere’ is closed to new replies.