Home › Forums › General Issues › Add page as parent to custom post type (breadcrumbs) › Reply To: Add page as parent to custom post type (breadcrumbs)
You may be able to achieve what you want with some combination of the ‘has_archive’ and ‘rewrite’ arguments when registering your custom post type. Perhaps something like this:
'has_archive' => 'about/employees',
'rewrite' => array(
'slug' => 'about/employees',
)
Don’t forget to flush your permalink settings after making this change, and watch out for URL conflicts if you already have a page at /about/employees/.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.