Title: Gallery &#8211; can&#039;t format &quot;Description&quot;
Last modified: August 20, 2016

---

# Gallery – can't format "Description"

 *  [zel](https://wordpress.org/support/users/zel/)
 * (@zel)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/gallery-cant-format-description/)
 * that’s the part of my attachment-page that’s responsible for showing image description,
   which I put when adding a new media (I’m using standard wordpress gallery):
    
   < ?php the_excerpt(); ?> Well, it shows the description, but it ignores all formatting/
   html. I can’t put a link inside it, can’t bold font, nor even put a < br />! 
   The formatting stays in description field after saving, it doesn’t reset or something.
   How I can make the “Description” to recognize basic html? edit: whatever. Just
   change in loop-attachment.php the_excerpt to the_content.

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/gallery-cant-format-description/#post-3276494)
 * Can you post a link to the page?
 *  Thread Starter [zel](https://wordpress.org/support/users/zel/)
 * (@zel)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/gallery-cant-format-description/#post-3276495)
 * I’ve solved the problem. Reader below the edit 🙂

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

The topic ‘Gallery – can't format "Description"’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [zel](https://wordpress.org/support/users/zel/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/gallery-cant-format-description/#post-3276495)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
