WordPress.org

Ready to get started?Download WordPress

Forums

Flexible Recent Posts
[resolved] Remove p tags from around items (2 posts)

  1. galaxyk
    Member
    Posted 1 year ago #

    I love this plugin! The only thing I want to change is that it puts p tags around each item so I'm getting too much vertical space. In Firebug the code looks like this:

    <li class="frp-news">
    <p>
    <a href="http://10hottestchristmastoys.com/ninjago-epic-dragon-battle-review/622">
    <img class="attachment-32x32 wp-post-image" width="32" height="26" alt="ninjago-epic-dragon-battle-thumb" src="http://10hottestchristmastoys.com/wp-content/uploads/2012/10/ninjago-epic-dragon-battle-thumb-40x33.jpg">
    Ninjago Epic Dragon Battle Review
    </a>
    </p>

    Is there a way I can edit the plugin to remove those p tags?

    http://wordpress.org/extend/plugins/flexible-recent-posts/

  2. Paul Annekov
    Member
    Plugin Author

    Posted 1 year ago #

    WordPress automatically adds paragraphs to your text. You can just wrap your code with <div>.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.