WordPress.org

Support

Support » Themes and Templates » Adding List of Taxonomies with Desciptions

Adding List of Taxonomies with Desciptions

  • I’m working on a site for a band, and I want to know if it’s possible to create a list of Custom Taxonomies and their descriptions in a similar way to the loop.

    Basically, what I’ve done is made a Custom Post Type (called Music) and a Taxonomy (called Albums) for this post type. What I thought was that it would be possible to create a page that could list the the Albums in a similar way to the loop, using the description as a URL for an image.

    So, for example, I could create an Album called “Heartless” and then use the description as a URL to the Album artwork, and then use PHP to generate the code:

    <a href="heartless-archive"><p><img src="heartless-decription" /></p>
    <p>Heartless</p></a>

    Is this possible, or is there a better way of doing it?

    I hope you understand. It’s kind of complex.

  • The topic ‘Adding List of Taxonomies with Desciptions’ is closed to new replies.
Skip to toolbar