WordPress.org

Support

Support » Plugins and Hacks » Yet Another Related Posts Plugin (YARPP) » Customizing YARPP widget — add additional class

Customizing YARPP widget — add additional class

  • jcbecci

    @jcbecci

    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/

Viewing 1 replies (of 1 total)
  • jcbecci

    @jcbecci

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Customizing YARPP widget — add additional class’ is closed to new replies.
Skip to toolbar