• Resolved samdom

    (@samdom)


    Hi, thanks for the plugin.

    When I create a custom post category, it automatically registers in the regular post category. How do I get the category to only register in the custom post category?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi @samdom

    Not quite following here.

    You’re saying you have a taxonomy, perhaps “custom_taxonomy” and when you create a term for it, that term is also being created as part of the default out-of-box “category” taxonomy?

    OR

    Are you using default out-of-box “category” for a custom post type as well, and when you create a term, it’s being listed for both “posts” post type and your custom post type, and you want it to only be available for the custom post type?

    Thread Starter samdom

    (@samdom)

    Thanks.

    https://mysite/wp-admin/edit-tags.php?taxonomy=category
    https://mysite.org/wp-admin/edit-tags.php?taxonomy=category&post_type=funders

    The word ‘category’ is the same in both URLs above. It is creating an issue with plugins. How do I change the word ‘category’ to something unique so that it doesn’t cause conflicts?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you’re using the out-of-box “category” taxonomy for the funders post type, I’m not sure you’re going to be able to, at least if wanting to use JUST “category” taxonomy. It also sounds like it’s a situation of the second scenario above, where you want the terms to be exclusive to the separate post types, “post” and “funders”.

    It may be more beneficial to create a new taxonomy, perhaps “funder_category” or similar, and use that for just the “funders” post type. It would separate them out completely.

    Thread Starter samdom

    (@samdom)

    If I create a new custom taxonomy ‘abc’, and add a new custom post to it, publish that post, and then try to view the post at
    https://mysite.com/category/abc/

    I get this error message:
    “There aren’t any posts currently published in this category.”

    For some reason the posts aren’t registering under the new category even though the category count shows as 1.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    This URL: https://mysite.com/category/abc/

    would be if you had a category term named abc.

    Going the custom taxonomy route, would make it be something like https://mysite.com/abc/my-term with my-term being the term itself.

    If you’re for sure wanting or needing the URLs to be based on https://mysite.com/category/ then I’m not quite sure what to suggest at this point.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Post category and regular category the same’ is closed to new replies.