Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Max Bond

    (@max-bond)

    Hi!

    Your theme has one problem – widgets doesn’t have id attribute.

    To resolve this issue you have to find register_sidebar function in your theme function.php file. Note – in complex themes register_sidebar function may be located somewhere else, so be prepared.

    When register_sidebar function found, look at before_widget parameter. It will look like:
    'before_widget' => '<li class="widget %2$s">',
    Tags (li, div, aside) may differ.
    Add id attribute:
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    id="%1$s" – that’s what you will add.
    %1$s – will be replaced by real widget id!

    Thread Starter asker7r

    (@asker7r)

    @max-bond thank you soooo much. Solved problem 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘dont work plugin my theme’ is closed to new replies.