WordPress.org

Ready to get started?Download WordPress

Forums

display a list of taxonomy items and highlight the one of the current post (1 post)

  1. imarap
    Member
    Posted 2 years ago #

    Hi,
    I have been able to display a list of my custom taxonomy items, but I would like the taxonomy corresponding to the current post to be bold.
    I have tried so many things, but I cannot find the answer.

    This is my code for displaying the list of taxonomy items:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    How can I define a class when is the current active taxonomy?
    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic