I am using a custom type plugin to make a custom post type “Products” with custom taxonomy “Product Categories” with some categories like “pvc hose” etc.
The problem is that i wanted to make another custom post type “Brands” with the same custom taxonomy “Product Categories” with same categories like “pvc hose” etc.
I have made this but the problem is that when i am making posts in the second custom post type “Brands” with category name “pvc hose”, that post is also getting stored in the first custom post type “Products” and getting displayed in a page along with the posts of the custom post type “Products”. I dnt want like this, this should be separate from the other.
Can anyone say a solution for this ?
In your function.php file use the following code
register_taxonomy_for_object_type