Doubt with wp types

0

I'm using WP Types for a product catalog site. I've created categories, subcategories, and lines, all as custom post types and one daughter from the other, so in the product registry, I select each of these items for it. But on the product page I can not see the category name.

    
asked by anonymous 12.01.2015 / 14:54

1 answer

1

I use Types in a project. The categorization depends on how you set up the type structure, and how you called the taxonomy tag you are going to use. In my case, I've used two category types.

Every time I want to display a type of them, I call them in the theme view:

<?php 
            global $wp_query;
            $term = $wp_query->get_queried_object();
            $title = $term->name;
            echo $title;
            ?>

Anything, just check the Types documentation at this link. They have a very good FAQ.

    
11.03.2015 / 20:40