Home Forums Theme support Person Category

This topic contains 5 replies, has 2 voices, and was last updated by  7Theme Support 5 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • 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…

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.