I have set some custom field ‘artist’ and ‘song-name’ displaying like:

Artist: <user input>
Song Name: <user input>

My question, how do you make the on artist and song name into a clickable link? Such that when the artist name is clicked for example, it will bring up the page with all posts of that artist name? Thinking about it, its kinda like the_category() or get_category_link, only I am using custom fields.

2 Answers
2

This is better accomplished by registering a new taxonomy. You get all of the advantages of categories and tags without the hassle of custom fields.

Codex: register_taxonomy

Tutorial: How to Create Custom Taxonomies in WordPress 3

Tags:

Leave a Reply

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