Sub Pages on Custom Post Type with Advanced Custom Fields PRO
-
I have a Custom Post Type called “Projects”. I have a
page-projects.php
that displays all of the projects. Then asingle-projects.php
to display a single project. Trouble is, I want the display for a single project to sort of be its own little mini sub site.I’ve set up the Projects Custom Post Type with Advanced Custom Fields PRO and using the Repeater type, I made it so users can enter in a title, slug and content for that internal page for each project.
I tried using Anchor Tags (e.g.,
#home
or#about
) for each page, and hiding/showing tabs (these sub pages) with JQuery, but there’s a huge lag when the page first loads (assuming because of the huge burden placed by scripts loading from plugins). So the JQuery that will ultimately display the correct “page” indicated by the anchor tag takes a few seconds before it displays the right content. — not ideal.Do any of you have any ideas for me about the best way I can accomplish this functionality (i.e., sub pages on a custom post type’s single-[post] view)?
- The topic ‘Sub Pages on Custom Post Type with Advanced Custom Fields PRO’ is closed to new replies.