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

  1. galaxyk
    Posted 3 years 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">
    <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

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


  2. Paul Annekov
    Plugin Author

    Posted 3 years 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

  • Flexible Recent Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.