• I am just upgrading my building blog to wordpress 2.6. I am more used to the previous versions, and am having trouble with the concept of widgets. On my site right now I have 4 widgets selected, categories, archives, links and recent comments. Take the recent comments widget for example, how do I determine what plug-in that equates to or where the code is?

    Also, how do I add a older plug in, such as top 10, into my dynamic widget sidebar?

    My previous theme had code like this:

    <li><h2><?php _e('Hot Topics'); ?></h2>
        <ul>
        <?php show_pop_posts(); ?>
       </ul>
      </li>

    If the plug-in is not widget ready can code be added into a dynamic sidebar?

    Help is greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Take the recent comments widget for example, how do I determine what plug-in that equates to or where the code is?

    You don’t. Why would you care where the code is? You’re not supposed to edit the code, that’s the whole point of using widgets. They’re a drop in sidebar module, you can configure them if they have configuration options, but in theory, that’s supposed to be the extent of it. Sure, you could locate their code and edit them, but the point is to not have to do that.

    If you want to edit the sidebar code directly, then don’t use widgets. Just edit your theme’s sidebar.php file.

    Thread Starter dozer

    (@dozer)

    Sure, you could locate their code and edit them, but the point is to not have to do that.

    How would I do this?

    I have found the need to tweak the code in many plug-ins.

    I like using the widgets but it would be nice if they could be used in addition to being able to modify the sidebar.php directly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Finding Widget Code adding code to dyanamic sidebar’ is closed to new replies.