• I am using your theme with a plugin called Gallery Plugin by BestWebSoft.

    So far, I’ve been very happy with everything about the theme up until now.

    The plugin, when installed, copies 2 template files to the theme directory which are used to display the gallery pages. On said pages, the sidebars are pushed way down on the page and I simply wish to remove the sidebar from those 2 template pages, but display it on every other page.

    I removed the function call that gets the sidebar on the 2 gallery templates, yet the sidebar STILL renders on those pages (not posts).

    I suspect that the theme is overriding the template pages and inserting the sidebar for me.

    How can I stop this?

    Any insight is much appreciated!

Viewing 1 replies (of 1 total)
  • hi lenglish01,

    try to deregister the sidebar via a remove_action in the first line of the template,
    that should work..

    like this:

    <?php remove_action( 'sidebar_left', 'sidebar_left', 2 ); ?>

    or this one for the right sidebar:

    <?php remove_action( 'sidebar_right', 'sidebar_right', 2 ); ?>

    let me know if it works! ??
    cheers, konrad

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar Issue With Gallery Plugin’ is closed to new replies.