Support » Plugin: Unique Page Sidebars » [Plugin: Unique Page Sidebars] Wasn't able to get it to work.

  • Resolved laptophobo


    Your plugin seems like a godsend since my webs are mainly CMS which require unique sidebars on every page.
    I’m not a PHP person, so maybe it was me not understanding the directions. Here’s what I did:
    In my (custom) template (voice.php) I replaced the existing sidebar code:

    	get_sidebar('voice'); ?>

    with your example (exactly as shown):

    <?php dynamic_sidebar( apply_filters( 'ryno_sidebar', 'default-sidebar-id' ) ); ?>

    I then put the following in functions.php:

        'name' => 'default-sidebar-id',
        'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
        'after_widget'  => '</li>',
        'before_title' => '<h2 class="widget-title">',
        'after_title' => '</h2>',
    ) );

    In the Manage Sidebars panel I created a new sidebar “voice”. I then checked the page in the “All Pages” list that I wanted the sidebar to appear in (Voice News) and set the attributes (Name, Description, Before Title, etc…) per your example.
    And, nothing changes on the page’s edit view.

    One suggestion is that a step-by-step example/instruction be developed for WordPress dummies like myself.

    Thanks in advance. I think you have a very valuable product here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Ryno


    Really late on this (haven’t really maintained this plugin) but this should be fixed in 0.2. I had a problem in my documentation that said the filter was ryno_sidebar when it was really ups_sidebar. Stupid mistake on my part. I fixed another bug and added the ryno_sidebar filter back in just in case people are still using that.

    I’m sure you probably gave up on this plugin, though. Sorry about that!

    I am trying to get the plugin to work (it would be VERY helpful) with a platform themes but I can’t figure it out where to insert the code. I couldn’t find a functions.php and I am not sure where I should put the template code.

    Do you think you can help?

    Thanks very much for the plugin. Very nice idea.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Unique Page Sidebars] Wasn't able to get it to work.’ is closed to new replies.