Strange WP naming for CSS classes
-
It really doesn’t add clarity ??
Dash vs underscore and use of “item”
cat-item (dash)
page_item (underscore)current-cat (dash, no -item)
current_page_item (underscore)current-cat-parent (dash)
current_page_parent (underscore)(no such class for category?)
current_page_ancestorIs this a common agreement that page classes should go with underscore? Just my thoughts ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Strange WP naming for CSS classes’ is closed to new replies.