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

    (@tw2113)

    The BenchPresser

    Can you provide your post type settings via the Tools menu, and then the current permalink settings you’re using?

    The post type settings will be the huge blob of text on the right side.

    Thread Starter jameszxr

    (@jameszxr)

    Hi Michael

    name: blog
    label: Blogs
    singular_label: Blog
    description: “”
    public: true
    publicly_queryable: true
    show_ui: true
    show_in_nav_menus: true
    delete_with_user: false
    show_in_rest: true
    rest_base: “”
    rest_controller_class: “”
    has_archive: false
    has_archive_string: “”
    exclude_from_search: false
    capability_type: post
    hierarchical: false
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    query_var: true
    query_var_slug: “”
    menu_position: “”
    show_in_menu: true
    show_in_menu_string: “”
    menu_icon: “”
    custom_supports: “”

    Permalink setup: https://kxnew.pink-dev.com/sample-post/

    Regards.

    james

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    so just “post name” for the permalink setting?

    I am a little curious about the choice to use “blog” for the post type, because historically has had “blog” as part of its URL structure. See some of the notes at https://developer.www.ads-software.com/reference/functions/register_post_type/#rewrite for a brief example. This detail confused me originally earlier when I first read this thread.

    That said, since “blog” is just your post type, my tutorial post over at https://michaelbox.net/2020/06/slugless-post-type-permalinks/ would apply here.

    Thread Starter jameszxr

    (@jameszxr)

    Hi Michael

    Yes sorry the use of the name blog was not my choice they are posts that have come over from the original website. this is a rebuild.

    I have to say your plugin is great and your response on support is as good. Well done.

    regards

    James

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome. Need anything else at the exact moment? or are you good for a bit?

    Thread Starter jameszxr

    (@jameszxr)

    Hi Machael

    I am just working on a carousel and wrestling with a bootstrap grid so will move onto your solution probably tomorrow now.

    Thanks for all your help.

    have a great day.

    James

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove slug from front of custom post type?’ is closed to new replies.