Grow your CSS skills. Land your dream job.

archive custom field?

  • # February 14, 2011 at 10:23 am

    I was wondering if I could use the value of a particular custom field the same way I use categories or tags. Right now I have a few pages that are blog posts filtered by category. On the sidebar, I want to filter by custom field value. For example, say each post has a field for “artist” and “genre”. I want a list for each of these that lists each value for artist and each for genre, and links to an archive page that lists all posts with that particular value. I would use tags or sub-pages for this, but it doesn’t seem practical for dealing with more than one field. Ideas?

    # February 24, 2011 at 3:52 pm

    OK, I figured it out. Using custom taxonomies and custom archive templates are better than custom fields for this problem.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".