Writing a WordPress plugin?
How can you set up a hover drop down list style box in my WP theme code to show a list of items for each post
Observing members:
0
Composing members:
0
3 Answers
List of what items? Categories? Tags? The post titles? Are you thinking of this in the admin area or on the users end (the viewable website)?
Yes to all of the above. I want all items for each post so you have a one stop shopping experience when you come to the blog site. So it should be on the front end for users.
So, in a single dropdown menu, you want post titles with their categories and tags?
That sounds horribly unusable.
I could see a separate drop down for post titles, another for categories and another for tags.
However, the plugin would be quite simple to make. You could also just code it into your theme manually, doesnt need to be a plugin.
anyways, you would create the dropdown with html/css/js, call the loop and inside it, place:
<? the_title(); ?>
<? wp_list_categories(); ?>
<? the_tags(); ?>
heres where to begin with a plugin.
http://codex.wordpress.org/Writing_a_Plugin
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.