wp_get_archives() – Get CSS selector for current month


I’m looking for how to get a class in the wp_get_archives functions to get the current month (when we are in a month archive) just like when we call wp_list_categories, the current category has a “.current-cat” selector for CSS or when we call wp_list_pages we have a ‘.current_page_item’ selector.

Fredy31 4 months 0 Answers 12 views 0

Leave an answer