WordPress.org

Support

Support » Plugins and Hacks » Custom Post Permalinks » [Resolved] [Plugin: Custom Post Permalinks] compatibility with Custom Post Type UI

[Resolved] [Plugin: Custom Post Permalinks] compatibility with Custom Post Type UI

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John P. Bloch

    @johnpbloch

    Hi taeke,
    I looked into this, and it’s actually a bug in the way that Custom Post Type UI registers post types. They should be registering ‘hierarchical’ as a boolean, but it’s a string instead.

    If anybody in charge of Custom Post Type UI sees this, it’s on line 108. If you change it to look like this:

    'hierarchical' => get_disp_boolean( $cpt_post_type["hierarchical"] ),

    Then everything works perfectly.

    great, thanks!

    Fixed in the latest release: v.0.6.2

    How should we set up custom permalinks to work with Custom Post Type UI?

    My URLs are currently showing up as
    domain.com/?namespace_custom_post_type=title

    yes, the equals sign in actually in there.

    I set up rewrite in CPTUI to eliminate the namespace but it’s still there. I’ll check the FAQ.

    a google search later (that sounds like a long time ago, doesn’t it?)

    it turns out, someone modified version .6 of CPTUI to do this. Brad, have you seen this?

    http://thepanz.netsons.org/post/wp3-custom-post-types-and-permalinks

    Should I use an older version with the mod?

    I just wasted an hour of my life investigating other plug ins to do this before discovering it works just fine in Brad’s Custom Post Types UI

    IF YOU SET HIERARCHICAL TO TRUE!!!!

    If those little help question marks to the right were working in firefox I probably would have known that.

    AHHHHHHHH!

    Executive summary: set hierarchical to true, permalinks work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Custom Post Permalinks] compatibility with Custom Post Type UI’ is closed to new replies.
Skip to toolbar