WordPress.org

Support

Support » How-To and Troubleshooting » Fuzzy Recent Comments – Duplicate Sidebars

Fuzzy Recent Comments – Duplicate Sidebars

  • Hi, I just added Recent Comments to my right sidebar. I have Recent Posts in my left side bar. But now, Recent Comments shows up again in the left bar under Recent Posts – duplicating the comments.

    I know that wp_meta makes the call, but how can I use both plugins – but only one one each sidebar?

Viewing 1 replies (of 1 total)
  • All wp_meta does is provide a hook to run plugin function calls off of. So one way to *fix* this is to locate in this Recent Posts plugin where it performs the add_action for wp_meta, like so:

    add_action('wp_meta', 'plugin_function_name');

    Then in your sidebar template swap out the call to the wp_meta() function with the one the plugin is passing. Alternatively (if you want to keep wp_meta working for you), you can remove or comment out the add_action in the Recent Comments plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Fuzzy Recent Comments – Duplicate Sidebars’ is closed to new replies.
Skip to toolbar