- This topic has 2 replies, 2 voices, and was last updated 3 years, 4 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
How would I create something like this. When you click on 'By Category', it expands to show all the categories.https://www.themiddlefingerproject.org/categories/
That's a page template with a list of categories not a drop down.
1. Here's one method https://developer.wordpress.org/reference/functions/wp_list_categories/
You could use CSS grid to position them in columns.
2. You could build a drop down on hover like this https://www.w3schools.com/howto/howto_css_dropdown.asp
3. You could also use toggle https://www.w3schools.com/jquery/eff_toggle.asp
Thanks. I'll check those out.
© 2023 WPEngine, Inc.