MB Custom Post Type Plugin

Support General MB Custom Post Type Plugin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2771
    iroibaniroiban
    Participant

    https://metabox.io/plugins/custom-post-type/

    Is this able to handle rewriting correctly?

    Working only for the first level: /post_type/child

    Doesn't work: /post_type/child/grandchild

    #2786
    iroibaniroiban
    Participant

    any luck looking at this? thank you.

    #2794
    Anh TranAnh Tran
    Keymaster

    Hi,

    After looking around the Google search results, I found that it's not supported by default. However, there are several solutions that you can look at:

    https://wordpress.org/support/topic/custom-post-type-hierarchical-slug?replies=6
    http://wordpress.stackexchange.com/questions/77513/getting-hierarchical-custom-post-type-permalinks-to-work-just-like-pages

    I think the key here are 3 things:
    1 - Set hierarchy param to true (supported by the plugin)
    2 - Set post type supports page-attributes (supported by the plugin)
    3 - Set rewrite to true (not supported)

    So I think I need to work on the 3) issue. In the meantime, can you just try 1) and 2) and see if it works?

    #2801
    iroibaniroiban
    Participant

    Didn't. Yes you need to work on 3 🙂 Thank you!

    #2823
    Anh TranAnh Tran
    Keymaster

    Hi @skynet, I've just tested steps 1) and 2) and after refresh permalink, it works. Can you try refreshing permalink (just go to Settings > Reading and click Save changes)?

    #2825
    iroibaniroiban
    Participant

    I remember doing that, and I knew that you're supposed to refresh permalinks. Don't think it worked but I'll try again when i get a chance. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘MB Custom Post Type Plugin’ is closed to new replies.