Title: WordPress Gallery Shortcode &#8211; It adds
Last modified: August 19, 2016

---

# WordPress Gallery Shortcode – It adds

 *  [markcronin](https://wordpress.org/support/users/markcronin/)
 * (@markcronin)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-it-adds/)
 * Hi
 * I would like the native wordpress gallery to be inserted on my page at the top
   of the content area.
 * Here is the URL of what I have done so far.
 * [http://www.qwerk.biz/newsite/services/museums/project-4-2](http://www.qwerk.biz/newsite/services/museums/project-4-2)
 * The problem I am having is that the gallery shortcode seems to be adding one 
   or two <p> tags affecting the spacing.
 * Like this
    <p> <!– see gallery_shortcode() in wp-includes/media.php –></p> <div
   class=’gallery’>
 * How can I remove these? I have looked in the /media.php code but can’t find them?
 * Please help
 * Many thanks

The topic ‘WordPress Gallery Shortcode – It adds’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [markcronin](https://wordpress.org/support/users/markcronin/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/wordpress-gallery-shortcode-it-adds/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
