Ready to get started?Download WordPress


[resolved] How to change current_cat to something else? (3 posts)

  1. tylerawalters
    Posted 3 years ago #

    Does anyone know how I can get WordPress to put a class other than current_cat on the current category? In other words, where is that string defined so that I can change it?

    (Don't bother asking why I need it to be something else. It's a long story. )

  2. anttijn
    Posted 3 years ago #

    You propably mean "current-cat"?
    wp-includes/classes.php, line 1380.

  3. tylerawalters
    Posted 3 years ago #

    That is what I meant; I guess I shouldn't post questions in the middle of the night :)

    That worked brilliantly. Thanks for your help, AnttiJN.

Topic Closed

This topic has been closed to new replies.

About this Topic