General Question

pamquestion's avatar

Writing a WordPress plugin?

Asked by pamquestion (6points) May 18th, 2010

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

wenn's avatar

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)?

pamquestion's avatar

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.

wenn's avatar

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

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther