WordPress.org

Forums

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

  1. jcbecci
    Member
    Posted 1 year 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

    http://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. jcbecci
    Member
    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.