Skip Navigation

[Resolved] Nesting Custom Post Type Under a Page

This thread is resolved. Here is a description of the problem and solution.

Problem:

I would like to have the custom post type "Team Members" not have an archive or be accessible.

Solution:

You can try these:

Edit the custom post type "team-member", in section "Option":

- Enable option "Use a custom URL format", and use value "about"

- Disable option "has_archive"

Relevant Documentation:

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by jonathanT-6 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2274451

Tell us what you are trying to do?
I'm trying to Nest this custom post type: hidden link
Under About Us: hidden link

Is there any documentation that you are following?
Not that I've found.

Is there a similar example that we can see?
The above example is the problem. I would like to have the custom post type I created for Team Members not have an archive or be accessible. The Team Member should be nested as follows:
hidden link

What is the link to your site?
hidden link

#2274611
team-member.jpg

Hello,

You can try these:
1) Edit the custom post type "team-member", in section "Option":
- Enable option "Use a custom URL format", and use value "about"
- Disable option "has_archive"
See my screenshot: team-member.JPG

2) Edit the page "About", follow our document to setup a view block and display the "team-member" posts:
https://toolset.com/course-lesson/creating-a-view/

#2275147

My issue is resolved now. Thank you!