Define a CSS Class in Staff Loop
-
It would be amazing to be able to define a class for the staff-members created by [staff_loop] based on an argument or shortcode.
For example [staff_loop class=”group”] would create divs with class=”staff-member even group-name”. This would make it easier to manipulate groups of entries with pure CSS.
The specific use-case I’m thinking about is being able to hide/filter staff members by group after the page has loaded, but I can see a few other use-cases for it as well.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Define a CSS Class in Staff Loop’ is closed to new replies.