Title: p-Tag added when using wpp
Last modified: August 21, 2016

---

# p-Tag added when using wpp

 *  Resolved [ronschi](https://wordpress.org/support/users/ronschi/)
 * (@ronschi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tag-added-when-using-wpp/)
 * When using following code, wpp adds a <p> in html. Could you please tell me how
   to stop this or is it a bug?
 *     ```
       <br />
       [wpp limit="3" range="all" stats_date=1 stats_date_format='j. F Y' stats_comments=1 stats_views=0 post_type=post order_by="views" thumbnail_width=261 thumbnail_height=168 excerpt_length=20 excerpt_by_words=1 excerpt_format=0 wpp_start="<li class="popular_posts">" wpp_end="" post_html='<li class="popular_posts">{thumb}<h4 class="top"><a href="{url}">{text_title}</a></h4><li class="meta">{stats}
       <li><h4>{summary}</h4></li>
       ']<br />
       ```
   
 * Output (snipped):
 *     ```
       <br />
       <!-- WordPress Popular Posts Plugin v3.0.3 [SC] [weekly] [views] [custom] --><br />
       <ul class="wpp-list"><br />
       <li class="popular_posts"><a href="...."><br />
       <img src="..." /></a><br />
       <h4 class="top"><a href="#">...</a></h4><br />
       <li class="meta"><span class="wpp-date">7. Juni 2014</span> | <span class="wpp-comments">0 Kommentare</span></p>
       <li>
       <h4>...</h4>
       </li>
       <p><p><br />
       </p><br />
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/tag-added-when-using-wpp/#post-5061727)
 * Hi there,
 * Can you please post a link to the page using the shortcode? Also, the HTML you’re
   trying to use on your shortcode doesn’t seem logic (and is invalid HTML, too).
   What are you trying to do?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tag-added-when-using-wpp/#post-5061922)
 * Since there has been no response from you in a while, I’m marking this topic 
   as _resolved_. If it’s not, please feel free to mark it as _unresolved_ again
   and post a comment so I can tell.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘p-Tag added when using wpp’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/tag-added-when-using-wpp/#post-5061922)
 * Status: resolved