ThemeShaper Forums » Thematic

Dynamic sidebar usings functions.php

(2 posts)
  • Started 6 years ago by gelay
  • Latest reply from Chris
  • This topic is not resolved
  1. How can I create a dynamic sidebar by just using the functions.php, and by not creating an additional sidebar.php


    Posted 6 years ago #
  2. .. very challenging ;-)

    You could add a sidebar using add_action(), as long as the 'position' fits one of the official WP hooks.

    A different approach could be using jQuery. I played with it a while ago trying to find a non destructive way to add something to a themes markup. Looks like this ..

    //add rounded corner divs for .entry-meta
    .wrap('<div class="roundedcornr_box"></div>').before('<div class="roundedcornr_top"><div></div></div>').append('<div class="roundedcornr_bottom"><div></div></div>');

    Could you please give me some more details?!



    Posted 6 years ago #

RSS feed for this topic


You must log in to post.