This members-only tutorial provides the steps to set up a few custom fields on a Custom Post Type's archive in the WP admin using ACF Extended and output their values on that CPT's archive on the front end.
In the WP admin:
On the front end:
We shall register fields for background image, title, and subheading that make up the hero section below which the posts in this CPT can be shown.
Install and activate ACF Extended (free version will suffice for this).
If the CPT is not already present, create it at Tools → Post Types.
In the Admin tab toggle Archive Page to on.
If your CPT has already been registered using a different method/plugin, it will not appear (as far as I know) at the above screen.
We can still enable the admin archive page for it via code.
Set the following PHP code to run in admin using your favorite code snippets plugin. Mine is WPCodeBox.
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $599 one-time).
Already a member? Log in below or here.