Support » Developing with WordPress » How to change current_cat to something else?

  • Resolved tylerawalters

    (@tylerawalters)


    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. )

Viewing 2 replies - 1 through 2 (of 2 total)
  • You propably mean “current-cat”?
    wp-includes/classes.php, line 1380.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change current_cat to something else?’ is closed to new replies.