WordPress.org

Support

Support » Plugins and Hacks » Doesn't work

Doesn't work

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Max Bond

    @max-bond

    You are right!
    Widgets don’t have unique IDs.

    To solve this you have to find register_sidebar function (look in functions.php) and change before_widget parameter.

    It looks like:

    register_sidebar( array(
    	...
            'before_widget' => '<li class="widget widget-sidebar">',
    	...
    ) );

    Change to:

    register_sidebar( array(
    	...
            'before_widget' => '<li id="%1$s" class="widget widget-sidebar">',
    	...
    ) );

    Thanks, I’ll try that, but I’ve found another problem.

    When I activate your plugin, my homepage slider doesn’t display on my homepage when I’m logged in as admin. If I log out and the view the site, the slider seems to show up. Any ideas what might be causing this?

    Plugin Author Max Bond

    @max-bond

    When I activate your plugin, my homepage slider doesn’t display on my homepage when I’m logged in as admin.

    Check for javascript errors

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn't work’ is closed to new replies.