The best way, if you don’t already have it, is to get ACF 5 Pro. Us an options page and set the parent slug of the options page so that it appears below the post type you want to set values on. For example, put “Blog Options” under “Blogs”. Now you can add a field group here and use these fields on your archive pages.
Actually, I think this is the only way because WP has no admin page that’s associated with archive templates.
Before I discovered the ACF Options page add on I would create a custom post type and associate each post in the post type with one of the archive pages. This is also still an option. The main problem with using options pages for this is that the field names on each options page must be unique, so you can’t really create one field group and attach it to multiple options pages. Using a CPT eliminates the need to have multiple field groups.
100% of my clients want to be able to manage content on these pages… and widgets are out of the question because they want to be able to edit the content in a single location that is easy to use. Needing to hunt through widgets to find the one that controls a block of content on the right page in the right location is more than most clients, at least my clients, can handle. I use ACF because I build sites for people that, well not all of them, but many of them, can barely figure out how to check their own email. Widgets and shortcodes…. hahaha.
It would be wonderful if WP added an admin page for post type archives, but I seriously doubt you’ll ever see that happen. When it comes to some things the people working on WP have a myopic viewpoint. It’s and archive page, why would you ever want to show anything but a list of posts and if you do… there are widgets. As developers they can’t see how widgets and shortcodes could possibly be confusing for the average person, after all, they understand them perfectly so every one else should as well.
Oh well, I’ll get off my soap box now.
You must be logged in to reply to this topic.
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!