• Hey all,

    I know this is very, very rookie stuff but somehow I can’t figure out what’s going wrong (even though I did this before!)

    I created a custom post type called “bars”. And a taxonomy called “type”, assigned to ‘bars’. To test I created a term called “music”, wrote a post using the bars post type, I checked “music” in the “type” taxonomy (so that seems to prove at least that is working) and saved it.

    Now…when I go to: mydomain.com/type/music

    I expected that all the content with the “music” term assigned to it should show up, right? It didn’t. wordpress is saying it couldn’t find any posts…so to test I created the tag cloud list using:

    <?php wp_tag_cloud( array( ‘taxonomy’ => ‘type’, format => ‘list’ ) ); ?>

    This works, the link “music” shows up and links to the same url as above. I must be doing sth so terribly wrong but I can’t figure it out…

    Thanks!

Viewing 1 replies (of 1 total)
  • 2 quick and dumb checks:

    – do you definitely have a taxonomy.php file in your theme folder?

    – try saving your Permalinks settings (literally just go to the Permalinks settings page and Save even though you’re not making a change). I’ve found this has resolved “not found” issues on archive pages before, just after setting up a new taxonomy.

Viewing 1 replies (of 1 total)
  • The topic ‘Display custom posts from certain taxonomy term’ is closed to new replies.