ACF

Ignition comes with some ACF features. Ignition has three main field groups that can be utilized. Header Sections, Sections and a second featured image field. The header and regular sections use flexible fields and will require ACF Pro.

Syncing the ACF Field Groups

To edit the fields that come with ignition you will need to sync them to your site. After activating ACF, go to “Field Groups” and click “sync avaliable“. You can select all the field groups and sync them. You’re now ready to use them! They will appear on posts and pages when appropriate.

Header Image

This gives you a second featured image field that is extremely useful. It’s main use is adding a large widescreen image for headers on pages that want one. More is discussed in the media section of this documentation including functions that can be used to show this field easily with fallbacks to the regular thumbnail image. This field appears on all post types.

You can also choose to show no image if wanted.

You can also choose to override the header with a checkbox. This will reveal the header section if available. The header section allows you to control the header of the page.

Header Sections

This requires you to install ACF Pro as it uses a flexible field. It shows up for single pages and posts and allows clients to add a header to a page. By default, it comes with two kinds of headers that output a type of header layout. You can add your own or change the ones already there. Now clients can control the header of their pages! They can choose to show the title alone, or add some images and text to go with it.

Sections

Like header sections, this allows you to add sections or blocks to a page similar to how Gutenberg works. You can add sections of paragraphs and posts, and anything you want to the page instead of using the default editor. You can rearrange the order of the sections and even make your own.

Backup of all the Fields

Just in case you decide to remove ACF or change your theme, you wont easily be able to output all your sections without going through them all in PHP. To save you headache, ignition saves all the sections into one big hidden field call ‘acf_all_sections’. If you need to access the sections for some reason you can grab that.