CPT Form is displaying instead of the CPT Archive in the Navigation Menu

Support MB Builder CPT Form is displaying instead of the CPT Archive in the Navigation Menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49740
    KGKG
    Participant

    Hello,

    I have created a Members CPT, but when I add it to my navigation menu for my front/home page, it displays the CPT form instead of the CPT member archive.

    I'm running Blocksy Pro with Metabox AIO, Code Snippet and Woocommerce. All my plugins are up-to-date. I've doubled and triple checked that I'm adding the Member Archive through the Blocksy Menu Customizer, so I'm not sure where to go from here.

    Can you tell me how to get the archive to display?

    Also as an fyi,

    If I edit a member or add a new member post from the backend Admin Menu, I can't view the member post. (I get a page can't be found). If I add the "Single" to my home page navigation menu, I also receive a page can't be found error.

    In case it's helpful, the CPT settings I used are listed below.

    Thanks for the help.

    KG

    CPT Members:

    GENERAL SETTINGS

    Enabled (Toggled On):
    - Public
    - Hierarchical
    - Enable block editor?

    Show in admin menu is set to show as top-level menu

    LABEL SETTINGS:

    Nav menu archives: Member Archives
    Menu name: Members

    ADVANCED SETTINGS

    Exclude from search (Toggled Off)

    Enabled (Toggled On):
    - Publicly queryable
    - Show UI
    - Show in nav menus
    - Show in admin bar

    REST API base slug - left blank
    Capability type - post
    Enable post type archives - toggled on
    Custom archive slug - left blank
    Custom rewrite slug - left blank

    Prepended permalink structure (Toggled Off)

    Enabled (Toggled On):
    - Query var
    - Can export
    - Delete with user

    SUPPORTS SETTINGS

    Enabled (Toggled On):
    - Title
    - Editor
    - Excerpt
    - Author
    - Thumbnail

    ** I tried enabling post forms, but that doesn't seem to matter.

    TAXONOMIES SETTINGS

    Location (Toggled On)

    FEATURES SETTINGS

    Enabled (Toggled On):
    - Re-Order Posts
    - Add toggle status column

    CPT Member Custom Fields (ID: member_fields)

    LOCATION RULE
    Post Type / Member (member)

    SETTINGS FOR LOCATION ADVANCED RULES, TOGGLE RULES, CONDITIONAL LOGIC, ADVANCED
    None

    #49742
    KGKG
    Participant

    As an update to my original post. I deleted the page with my form shortcode. The navigation for the Member Archive is now displaying page not found instead of the member form. Also, all of my code snippets have been toggled off.

    Thanks.

    #49744
    PeterPeter
    Moderator

    Hello KG,

    Thanks for reaching out.

    I suggest you change the CPT slug to another one like member123, re-save the permalink setting Post Name and see if it helps.

    #49746
    KGKG
    Participant

    Hi Peter,

    I thought I should backup my site before I made the change you suggested. Since I'm running Local WP, instead of installing a backup plugin, I tried cloning my site. As it turns out, when I checked the cloned site, the Member Archive and Member Single were working fine. In other words, I didn't need to change the CPT slug.

    Do you have any ideas what might have caused the issue and/or point me in a direction on what I need to be investigating so I prevent the issue in the future?

    Appreciate it,

    KG

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.