Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    #287622

    Hi kirkmc!

    Thank you for using the theme.

    You can disable the default widgets on Enfold > Sidebar Layout. Disable the Page Sidebar navigation.

    Regards,
    Ismael

    #287681

    I 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

    #287705

    Hey!

    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,
    Peter

    #305676

    heio, 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?

    #305714

    Hi!

    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ünter

    #315156

    Hunter74… 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Widget display: blog, pages, everywhere’ is closed to new replies.