• Resolved bterich

    (@bterich)


    Hi,

    I’m looking for a way to strip the frst two characters from all tags being displayed.

    I have added $tag_name = substr($tag_name,2); to category-template.php, which has worked for the side bar widgets, but I’m lost on how to do the same for the rest of the content – i.e. main blog and tag archive pages?

    Any suggestions would be very much appreciated.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’m looking for a way to strip the frst two characters from all tags being displayed.

    Strip how they’re being displayed? Can you provide a link to illustrate what/where you mean?

    Thread Starter bterich

    (@bterich)

    For example here: https://www.good-governance.org.uk/blog/

    So that B Commissioning displays as just Commissioning.

    It’s purely a display issue, not concerned with re-writing the link url or anything else.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strip characers from tag names’ is closed to new replies.