Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 solve that?

share|improve this question
    
You have to alter the way excerpt is generated. See Improving WordPress' the_excerpt() template tag –  Max Yudin Dec 14 '12 at 10:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.