Forums

Yet Another Related Posts Plugin
Adding Code Before the Related Posts Invalidates the Code (2 posts)

  1. tankard
    Member
    Posted 5 months ago #

    Hi,

    A good plugin but I've got a problem. In the settings page where you have to specify code to display before the list of related posts - if you try to add something that contains quotes, the code is wrongly displayed.

    For example I'm trying to put
    <div style="clear: both;"></div>
    Before the posts and when viewing the source code, I see this:
    <div style=\\\"clear: both;\\\"></div>
    Obviously, the code then becomes invalid and the line break doesn't work.

    Any suggestions on how to solve this please?

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

  2. This should be fixed in 3.4, which is currently at Release Candidate. Please download the latest version (3.4RC1) here:

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

Reply

You must log in to post.

About this Plugin

About this Topic