Show custom post types and custom taxonomies
-
I created a system with the custom post types and custom taxonomies, but I can not show them correctly in the frontend. I have a register post type called “foto” and a custom taxonomy called “categorie foto” attached to him. I create some also subcategories in the custom taxonomy. I use this for showing the custom posts
$args = array( 'numberposts' => 20, 'post_type' => foto, 'orderby' => date);
and it works fine, it show me all the posts with custom type called “foto”. The problem comes when I try to show the contents of the subcategories by clicking on them in the menù. He show me always all the content and not only the content of the clicked category, altough in the url there is a string with the subcategory. Can anyone help me? Excuse me for my bad english.
- The topic ‘Show custom post types and custom taxonomies’ is closed to new replies.