Title: Empty paragraph before shortcode output
Last modified: August 22, 2016

---

# Empty paragraph before shortcode output

 *  Resolved [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/)
 * When using shortcode [pagelist] or [siblings] the output has <p></p> appearing
   first. The shortcode is the very first thing in the page content. Where is this
   coming from? My other shortcodes (on different pages) don’t have this behaviour.
 * [https://wordpress.org/plugins/page-list/](https://wordpress.org/plugins/page-list/)

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

 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522210)
 * Switch your editor from visual to text mode and check if there are only shortcode
   on the page and nothing else.
 * If shortcode is wrapped with some html tags – try to remove them.
 *  Thread Starter [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522212)
 * There is nothing but the shortcode. First thing I checked.
    Here is the relevant
   page source, the extra <p> appears at the beginning of the entry content, before
   the plugin name comment:
 *     ```
       <div class="entry-content">
       			<p>
       <!-- Page-list plugin v.4.2 wordpress.org/plugins/page-list/ -->
       <ul class="page-list siblings-page-list ">
       ```
   
 * I have other shortcodes on other pages and there are no added <p> tags.
 *  Thread Starter [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522215)
 * Correction – it’s only happening for the [siblings] shortcode, not [pagelist]
 *  Thread Starter [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522219)
 * Oops upon further checking it seems to be generated by something else on this
   particular page – removed the pagelist shortcode and the <p> is still there. 
   Sorry to waste your time.
 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522225)
 * It’s ok.
 * Check out the theme page template (page.php or single.php) file.
 *  Thread Starter [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522245)
 * Templates are clean. It’s something related to NextGen galleries. Only happens
   on pages where one is placed. I’ll let them know. Thank you.

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

The topic ‘Empty paragraph before shortcode output’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-list_ffffff.svg)
 * [Page-list](https://wordpress.org/plugins/page-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-list/)
 * [Active Topics](https://wordpress.org/support/plugin/page-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-list/reviews/)

## Tags

 * [extra paragraph](https://wordpress.org/support/topic-tag/extra-paragraph/)

 * 6 replies
 * 2 participants
 * Last reply from: [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/empty-paragraph-before-shortcode-output/#post-5522245)
 * Status: resolved