Ready to get started?Download WordPress


Yet Another Related Posts Plugin (YARPP)
Customizing YARPP widget -- add additional class (2 posts)

  1. jcbecci
    Posted 8 months ago #

    I need to add an additional class to YARPP used as a widget. This is because of a conflict with the Print-and-Friendly plugin.

    I selected the custom PHP option and selected a template. It picks up the template for YARPP in the post but not the widget. The template files are in my theme's directory.

    1) Does the YARPP widget use the template system?

    2) If so, is this the best way to add an additional class to the HTML in the widget?

    Thanks. Joe


  2. jcbecci
    Posted 8 months ago #

    Update -- I discovered that I can add this class to the "template-thumbnails.php" file and it solves my problem. I assume this is going to cause a problem with upgrades. Is this the best approach or can you recommend something else?? Thanks. Joe


You must log in to post.

About this Plugin

About this Topic


No tags yet.