Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hi Tonis_Troubles,

    I will look into this as soon as I can.
    Stay Tuned.

    Plugin Author Mat Lipe

    (@mat-lipe)

    Hello,

    I was able to track this down as to your theme not outputting the ids of widgets.
    It appears that only the classes are being outputted and therefore there is nothing for the JS to target on the menu to make it accordion.

    When registering widgets the before_widget argument should always include the id like so id=”%1$s”.
    You theme is registering without this.

    Looks for calls like this

    
    register_sidebar( array( 'before_widget' => '<div class="%2$s">' ) );
    

    Change to this

    
    register_sidebar( array( 'before_widget' => '<div id="%1$s" class="%2$s">' ) );
    

    And thing should work as expected.

    Have a great night!

    Thread Starter Tonis_troubles

    (@tonis_troubles)

    Hi Mat,

    Meanwhile the issue is not fixed ??

    De sidebar now registers as it should, but the accordeon isn’t functioning yet.

    This is how de sidebar registers now:
    ‘before_widget’ => ‘<div id=”%1$s” class=”sidebar-box widget %2$s clr”>

    What can I do to get your PRO plugin to work?

    Kind regards,
    Tonny

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Accordeon not working’ is closed to new replies.