In person menu there are four types of categories Person category, Person Gender, Origin Person and Person Ethnicity. There are adding one more category (eg Person Preferences)?
You can add a new category very easy, but this will nothing change in the theme itself. You can use this code, add it at the end of your functions.php file in the theme folder:
register_taxonomy(“person-preferences”, array(“person”), array(“hierarchical” => true, “label” => “Person Preferences”, “singular_label” => “Person Preferences”, “rewrite” => true));
I put the code at the end of functions.php file, but the new person category did not appear in the menu. There is another way to add more items in the taxonomy Person? Where this taxonomy is the code?
Have you checked WP admin -> Person? Sure there is no new category?
Yes. I checked. There are only the default categories: Person category, Person Gender, Origin Person and Person Ethnicity. There appeared no new.
Ok, we will check this…
You must be logged in to reply to this topic.