Support » Themes and Templates » Request : A call of the function anywhere on the blog

  • Hello,

    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 ?

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



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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request : A call of the function anywhere on the blog’ is closed to new replies.