WordPress.org

Forums

Manual Related Posts
[resolved] Add class to the related posts div (3 posts)

  1. undercur
    Member
    Posted 2 years ago #

    Hi,

    This is a really tiny fix but would it be possible to make the plugin add a class to the div containing the related posts?

    So basically in bawmrp.php, where it says:

    $head = '<div><h3>'.$head_title.'</h3>

      ';

      It could say, for example:

      $head = '<div class="related_posts"><h3>'.$head_title.'</h3>

      ';

      That would make it much easier to target and style/position the div containing the posts. (At the moment I am using jquery to target the div and add the class.)

      Thanks,
      Eva

    http://wordpress.org/extend/plugins/baw-manual-related-posts/

  2. Julio Potier
    Member
    Plugin Author

    Posted 2 years ago #

    I just updated the plugin with 1.3
    Class added "mrp_div" ;)
    Update too !

  3. undercur
    Member
    Posted 2 years ago #

    Wow... brilliant, thank you!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Manual Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic