Request : A call of the function anywhere on the blog (3 posts)

  1. neosting
    Posted 8 years ago #


    First, i would like to thank you for this plugin. It is a good one, and will soon be in my restricted list of plugins. But i would like you, please, to add only one function.

    I would like to have the possibility to call this plugin anywhere, (i would like it in my footer.php) on my blog. The widget is a good thing, but it depends on the theme template of maybe each other.

    maybe you could add options in the control wordpress panel in options, but it is not a priority. Important is to make in the call function the options of counts, or in the php file.

    Can you do this ?

  2. theapparatus
    Posted 8 years ago #

    Why not just manually add in the link to your theme's footer.php file?

  3. alexleonard
    Posted 8 years ago #

    You could create a second dynamic sidebar as such, and then add it to your footer.

    so in your theme's function.php

    if ( function_exists('register_sidebars') )

    and then in your theme, change your normal dynamic sidebar call to something like:

    <div class="side">
    <ul><?php dynamic_sidebar('Sidebar 1'); ?></ul>

    and then in your footer go with:

    <div class="footer">
    <ul><?php dynamic_sidebar('Sidebar 2'); ?></ul>

    This will give you two sidebar columns in the widget part of your admin panel, and by dragging widgets into "Sidebar 2", you'll see them appearing in your footer.

    I hope this makes sense and achieves what you're looking for.

    I've definitely found a lot of use out of defining multiple "sidebars" and displaying them on various parts of a website.

Topic Closed

This topic has been closed to new replies.

About this Topic