Add custom filter to wordpress blog

Im using simple fields in a wordpress site, so users can “tag” diferents post in admin.

Now, in the frontend view, i want to show a dropdown with the different options (distinct tags) that are avaible, so user can filter the post.

I know i need to modify some php code, and i found the exactly file where I need to touch, but i dont know even where to start.

My question is if i can add some custom php code, calling a mysql query and then add that recordset to fill the dropdown, or there is an more easy way to do this?

Any idea?

Thanks in advance

Read more here: Add custom filter to wordpress blog

Leave a Reply

Your email address will not be published. Required fields are marked *