Title: Error when adding media to post
Last modified: August 21, 2016

---

# Error when adding media to post

 *  Resolved [oringmonkey](https://wordpress.org/support/users/oringmonkey/)
 * (@oringmonkey)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/)
 * Quickly created a post showing pictures and noticed an error under the title.
 * Error says “[gallery link=file” on the front page of the blog
 * Any way of getting rid of that?

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

 *  Thread Starter [oringmonkey](https://wordpress.org/support/users/oringmonkey/)
 * (@oringmonkey)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/#post-4277986)
 * [http://www.oringmonkey.com/blog/](http://www.oringmonkey.com/blog/)
 *  Theme Author [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/#post-4278021)
 * That is not an error but its how WordPress works – in excerpts no html or shortcodes
   are parsed i.e they are not executed but printed out instead.
 * If you visit the actual full post [http://www.oringmonkey.com/blog/?p=1](http://www.oringmonkey.com/blog/?p=1)
   you’ll see the full gallery.
 *  Thread Starter [oringmonkey](https://wordpress.org/support/users/oringmonkey/)
 * (@oringmonkey)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/#post-4278049)
 * Oh ok, so it’s supposed to say [gallery link=file on the front page? odd. Thanks
   for the clarification
 *  [Kalidor](https://wordpress.org/support/users/kalidor/)
 * (@kalidor)
 * [12 years ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/#post-4278209)
 * If you add “read more” under your text and before the gallery in the body of 
   your post it will disappear off the front page. Kind of a dirty cheat but it 
   will make it look better.
 * I wish there was a way to parse this text though because when I use captions 
   in images or other things that appear first in the post it really looks bad with
   all those code segments. It should just remove them completely as it sometimes
   does with videos.

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

The topic ‘Error when adding media to post’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/strapvert/1.2.4/screenshot.png)
 * StrapVert
 * [Support Threads](https://wordpress.org/support/theme/strapvert/)
 * [Active Topics](https://wordpress.org/support/theme/strapvert/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/strapvert/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/strapvert/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Kalidor](https://wordpress.org/support/users/kalidor/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/error-when-adding-media-to-post/#post-4278209)
 * Status: resolved