Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LaurieDugdale

    (@lauriedugdale)

    Incase anyone is reading and interested i managed to solve the problem by wrapping it up in the html_entity_decode function see below. I don’t know if there’s a better way but it works.

    <?php html_entity_decode(get_secondary_title());?>
    Plugin Author thaikolja

    (@thaikolja)

    Hi LaurieDugdale,

    thanks for your post. First off: Where exactly do you use HTML? In the PHP code or in the secondary title format?

    Anyway, both works fine with me. Either it is an individual bug or I misunderstood your issue. Would be nice if you could clarify.

    Thread Starter LaurieDugdale

    (@lauriedugdale)

    Hi sorry for late reply.

    To clarify the problem. – I wanted to add a link to certain parts of the title. however when I wrote the code below. The link wasn’t displayed but the html was.

    “photographs by <a href="https://www.namegoeshere.com">namegoeshere</a>

    I used the html within the php in several places (all places had the same issue). I had wondered whether it was just me experiencing the issue as no one else had reported it.

    However whether a bug or not the problem was solved by using the html_entity_decode() function.

    Plugin Author thaikolja

    (@thaikolja)

    It sounds more like a bug related to your server since you’re the first one who mentions this and on my test sites all works fine. But I’ll keep my eyes and ears open. Thanks for reporting.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘html tags not working?’ is closed to new replies.