ACF Pro -> Custom Post & Building Single Page Layout

I have a site that uses existing categories for its posts and pages. I just installed ACF Pro and created a field group that includes several Field Types.

One of the field types is taxonomy.

When I create a custom post, in the taxonomy field I can select the existing categories that are also used for the regular posts and pages.

How do I ONLY pull in a category link that just shows posts from the Custom Post selected category, and not from the rest of the website pages and posts?

Hello @Kev,

Thanks for writiong ot us.

If you use the same taxonomy as a category, use a custom taxonomy for that custom post type instead of reusing WordPress’s default Categories taxonomy. If you keep using the global category taxonomy, its archive links naturally include regular posts and any other content using those same categories, so the clean fix is to create a separate taxonomy, such as portfolio_category, staff_category, or similar, and attach it only to your custom post type.

Thanks

Thanks, @prakash_s. I was afraid you were going to say that! Time for some restructuring.

Hello @Kev,

You’re welcome! Restructuring with a custom taxonomy will give you much cleaner control and long-term solutions.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.