Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Allowing HTML tags in the site description in WordPress

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31623
    GreyFox135
    Participant

    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?

    #60584
    TheDoc
    Member

    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:

    http://sillybean.net/2010/02/preserving-html/

    So perhaps for site description it needs to be pre_site_description?

    #60585
    GreyFox135
    Participant

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

    #60413
    GreyFox135
    Participant

    HA! found it:

    echo html_entity_decode(get_bloginfo('description'));

    Just write that instead of this:

    bloginfo('description');

    Enjoy :)

    #60381
    TheDoc
    Member

    Nice one!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Back End’ is closed to new topics and replies.