Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] How to get rid off "Search" and "Archive" widgets in right or left sidebar?

Home Forums Support How to get rid off "Search" and "Archive" widgets in right or left sidebar?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #501782
    Walter

    I tried to get it by eliminating some code in sidebar.php – but I did not succeed.
    What I want to get is selecting “content + right side bar” with text in content and nothing at all in the right sidebar. The sidebar should be just a plain column.
    I always get as standard the widgets “Search” and “Archive” inserted – what I really do not need there on all pages.
    Please help …
    Walter

    PS: I moved over from twenty fourteen and love to work with GeneratePress now – even if I am at the start of the learning curve 🙂

    GP Premium 1.5.6
    #502120
    Leo
    Staff
    Customer Support

    Hi there,

    Those are the default widgets that show up when a sidebar layout is selected but no specific widgets are added – they are there to fill the space as most people would use content only layout if no sidebar widgets are added.

    Is there a specific layout you want to achieve? We can probably do it without the sidebar layout.

    Let me know 🙂

    #503476
    Walter

    Hi Leo,

    I just want to keep the content – sidebar layout for all pages of a site. As long as some pages will not have any content in the sidebar this should be blank (to keep the content column width stable). One workaround could be to insert a HTML-widget with unvisible minimal text. My question: is there a more elegant solution?

    Thank you,
    Walter

    #503867
    Leo
    Staff
    Customer Support

    Hmm if you don’t mind a empty sidebar then that’s actually a good work around.

    So if the goal is to keep the content container always the same, what if we change the container width for pages without sidebar?

    #503909
    Walter

    Hi,
    thank you for your offer. But my preference is to fill the sidebars with statements, hints, pictures and similar small stuff. But that will take time … 🙂 And using your recommendation “Content Aware Sidebars” I will play around with it. Did you find in the meantime an even better plug-in for widget-management?
    Thank you,
    Walter

    #504093
    Leo
    Staff
    Customer Support

    Content Aware sidebars is still the best I believe 🙂

    #689858
    Walter

    That works perfectly,
    Walter

    Hi there,

    the Content Aware Sidebars should do the job of specifying what widgets are on display.
    For the empty sidebars you could try adding a Custom HTML widget, and just add a HTML comment for its content:

    <!– HTML Comment –>

    That should keep the sidebars empty. Then just set its conditions to display where you need it.


    David Beckwith
    Support Specialist

    #690019
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.