Section Widget
Does not show on posts (in my theme) (3 posts)

  1. donmcleman
    Posted 2 years ago #

    The tabbed plugin would be perfect if it showed up where I need it...

    It does show up on special pages, including the category archives but not on the posts themselves. If I tick the relevant box on the the special pages tab the widget still does not appear on 'all posts'.

    I'm concluding that if the widget can appear on the category archive pages (after ticking the relevant box on the special pages tab) then the widget is able to register which categories are ticked but then simply does not activate itself on any posts. This may help to clarify where the code needs to be tweaked?

    I will take a look inside the code to see what I can find but I don't think I'll get anywhere. Any suggestions - please help!


  2. donmcleman
    Posted 2 years ago #

    Update and aaagh - I've found that my theme has two sidebars; a 'home sidebar' and a 'single sidebar'.

    For the widget to appear on category pages it goes in the home sidebar and for it to aiso appear on single posts it has to also be placed in the single sidebar. I'll have to see if there's a way of disabling the single sidebar so one widget does it all...

  3. donmcleman
    Posted 2 years ago #

    Got it to work!

    For anyone reading this, I edited sidebar.php to remove all reference to dynamic_sidebar(2) so that only one sidebar is loaded for all types of posts and pages - Section Widget then determines which individual posts to target.

    Now, what next to sort out...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Section Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic