WordPress.org

Ready to get started?Download WordPress

Forums

WooSidebars
[resolved] Not working with Roots theme (8 posts)

  1. sk
    Member
    Posted 1 year ago #

    Hey, I've tried with a fresh install too and Woosidebars isn't working with the Roots theme http://www.rootstheme.com/

    This theme uses it's own functions to control the output of the sidebar, so I guess that would be to blame. Will post on Roots support as well.

    http://wordpress.org/extend/plugins/woosidebars/

  2. Matty Cohen
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Rene,

    Thanks for bringing this to our attention.

    Yes, please do post this to the Roots support team.

    From a WooSidebars standpoint, as long as the theme's functionality somehow results in calls to dynamic_sidebar() to display the widgets, and is_active_sidebar() for checking if the sidebar has widgets, WooSidebars should handle just fine. :)

    This information can be passed on to the Roots support team as well, please, if required. :)

    Thanks and regards,
    Matty.

  3. retlehs
    Member
    Posted 1 year ago #

    Fixed with this commit last week: https://github.com/retlehs/roots/commit/714982fa42c09e63937a82f8c56819ae10a705c2

    WooSidebars required do_action('get_header'); to work with Roots

  4. Matty Cohen
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks retiehs.

    As a side note, the "get_header" action is run when the "get_header()" function is called.

    This is a standard WordPress template tag and is recommended as a WordPress theme standard. :)

    Regards,
    Matty.

  5. retlehs
    Member
    Posted 1 year ago #

    We use get_template_part to include those templates so that the theme can be better organized and grab files from a subdirectory. Roots isn't a 'standard' WordPress theme:

    https://github.com/retlehs/roots/blob/master/base.php

  6. Matty Cohen
    Member
    Plugin Author

    Posted 1 year ago #

    Nevertheless, while "get_header()" isn't strictly required, as it doesn't inhibit a theme from being a theme (and this is left to the discretion of the theme developer), it is important when making decisions of this nature to consider the implications there-of, such as removing a widely-used hook (ie: accounting for it with the appropriate do_action() call, as you've done in your recent commit).

    Thanks for checking in and responding on this thread. I'm glad the issue has been resolved. :)

  7. iciu
    Member
    Posted 4 months ago #

    Hey guys, I have installed woosidebars, created widget area called "blog widgets... to replace the Primary ones. I add widgets to the new widget area and the widgets are not displayed.... Can you advise what might be wrong? I tried to uninstall the plugin and install again -- did not help. I use canvas

  8. WPyogi
    Volunteer Moderator
    Posted 4 months ago #

    I'd suggest you start your own thread on this forum - this one has nothing to do with Canvas theme and it's 9 months old.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.