Treehouse: Grow your CSS skills. Land your dream job.

Allowing HTML tags in the site description in WordPress

  • # February 14, 2011 at 3:15 pm

    Okay, I feel like an idiot. I had found a way to do this once before, but forgot to make a note.

    Now I’m trying to add a tag in my site’s description, but forgot how.

    I tried google, but am having no luck. Does anyone know off the top of their heads?

    # February 14, 2011 at 3:21 pm

    Funny, I’ve actually attempted this before and never actually found a solution! If you find one please let me know!

    Just found this, but haven’t tested it yet:

    So perhaps for site description it needs to be pre_site_description?

    # February 14, 2011 at 3:23 pm

    It’s definitely possible, I just have to find it. I’ll update if no one knows and I find it.

    # February 14, 2011 at 3:30 pm

    HA! found it:

    echo html_entity_decode(get_bloginfo('description'));

    Just write that instead of this:


    Enjoy :)

    # February 14, 2011 at 3:52 pm

    Nice one!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.