Support

Account

Home Forums Front-end Issues Special archive page for posts depends on ACF meta

Helping

Special archive page for posts depends on ACF meta

  • I have got custom post type “text”. Text have meta key = “text_status”. There is different status, for example “winner” or “claimer”.

    I need to display list of all “text” with status “winner” or status “claimer” more over i need them displayed in different way. So i should have different archive pages for “winners” and “claimers” with page navigation etc. How could I do it?

  • The last section of this page gives a basic explanation of how to use $_GET parameters https://www.advancedcustomfields.com/resources/query-posts-custom-fields/. I’d suggest you start there. You will need to have some logic in you template that displays different content based on what’s being shown. As for navigation, you’d probably need to build that yourself, generate the correct links and add them to the page based on your own queries.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Special archive page for posts depends on ACF meta’ is closed to new replies.