Support » Plugin: 404 Solution » Custom Post Type Taxonomy

  • Resolved fuchsws

    (@fuchsws)


    Could this great plugin be enhanced to support even custom taxonomy of custom post types? it currently can only use categories and tags of post type “post”. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Aaron

    (@aaron13100)

    This option is already there. Go to Settings -> 404 Solution -> Options -> Advanced Settings (Etc) -> Recognized Post Types. Enter your custom post types there, scroll down and click “Save Settings.” When the options page reloads you can see which types of pages the plugin sees by viewing the dropdown box at the top for the setting “Redirect all unhandled 404s to.” If you don’t see the page there then the plugin doesn’t see the page.

    thanks for your reply.

    I already did this but in the dropdown only category and tags of the post type “post” are listed not of my custom post types. But posts of my custom post type are listed correctly – not its taxonomy 🙁

    I have a custom post type “portfolio” and a taxonomy “portfolio_cat”, but this category and its entries are not listed at “Categories” at the bottom of the dropdown.

    Plugin Author Aaron

    (@aaron13100)

    I guess I don’t understand what you mean. I downloaded the plugin “Toolset Types” and created custom post types and a page that uses the custom post type and I do see the page that I created in the dropdown list.

    So, what method did you use to create the custom post type?
    And what result are you expecting (is it a page that you want to see, or a category, or a taxonomy)?

    see https://developer.wordpress.org/reference/functions/register_taxonomy/
    => “taxonomy for a custom post type”

    “Page” or “Post” is a so called “Post Type” in WordPress.
    “Category” or “Tag” i sa so called “Taxonomy” in WordPress and always associated with a “Post Type”.

    The plugin above also must have a feature to create a custom taxonomy “portfolio category” for a custom post type “portfolio”.

    I expect to be able to enable redirects to categories of custom post types and not only posts of custom post types.

    All clarity eliminated? 😉 Thanks!

    Plugin Author Aaron

    (@aaron13100)

    Please try version 2.9.0 and specify the custom taxonomies that you have created in the advanced settings section.

    wow, thanks for your quick fix!

    However I tried this and added “portfolio_category” to “Custom Taxonomies” but it doesn’t seem to work, I don’t see at the default 404 destination option.

    How does this work since a custom taxonomy is always related to a custom post type?

    Plugin Author Aaron

    (@aaron13100)

    Are you sure you didn’t enter the name of a slug instead of a normal name?

    Also please try version 2.9.1…

    perfect – now it works using the slug! thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Post Type Taxonomy’ is closed to new replies.