WordPress.org

Support

Support » Plugins and Hacks » Manual Related Posts » [Resolved] [Plugin: Manual Related Posts] Add class to the related posts div

[Resolved] [Plugin: Manual Related Posts] Add class to the related posts div

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Manual Related Posts] Add class to the related posts div’ is closed to new replies.
Skip to toolbar