WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: NextGEN Gallery] Display HTML formatted text in description (5 posts)

  1. art2002
    Member
    Posted 4 years ago #

    Hi,

    First of all, I just want to say that this is a great plugin.

    Is there a way to display HTML formatted text in the Description of the thumbnails? Like I want to insert a <b> or
    in some parts of the description. Right now it displays everything in one line and includes the html codes.

    Thanks!

  2. Alex Rabe
    Member
    Posted 4 years ago #

    Please post a link

  3. art2002
    Member
    Posted 4 years ago #

    Hi Alex,

    The page can be found in http://www.golflivingph.com/myalbum/?page_id=3

    I just want to be able to display the description that has been formatted in HTML. Right now it shows the description in one long line, without the bold text or the line and paragraph breaks.

    Is that possible?

    Thank you.

  4. art2002
    Member
    Posted 4 years ago #

    It's ok, Alex. I figured it out. I just used

    <?php echo html_entity_decode($image->description) ?>

    It now displays the description in formatted html.

    Thanks for this great plugin!

  5. FangedFreak
    Member
    Posted 3 years ago #

    Comment removed at Author's request

Topic Closed

This topic has been closed to new replies.

About this Topic