Is there a way to select one value over different post types with ACF?

I was wondering if the following is possible in WordPress.

I have a custom post type named Videos. Every video that will be created will be displayed on the video page. One of the videos will be set as the hero video and will be bigger on the page.

Read More

I was wondering if there is a way to select one hero image and place it in the bigger frame of the site? The user should select one of the created videos.

I use Advanced Custom Fields to manage the pages and create extra options for the custom post type.

Is there a way to use something like a true/false statement that will update on each video page backend? So, if I have 3 videos and I set video 2 to true, the other ones will be false. If I than set video 3 to true, video 2 will be automatically set to false, because only one true is possible.

Are there any better ways to do this?

Related posts

Leave a Reply

1 comment