Displaying ACF Field Types In Genesis Template

This single template for Genesis includes code snippets which enable you to print different ACF field types including :

This is what the template produces :

And here’s the edit screen :

The template also includes a custom sidebar using Genesis Simple Sidebars with the i.d accomodation-sidebar

Template Installation

There’s 3 simple steps :

Step 1 : From the download folder, copy & paste the PHP code from the functions file to the end of your functions file. Change all instances of accomodation in the code to match your CPT name.

Step 2 : From thew download folder, upload the file named single-accomodation.php and map.php to your child themes root directory. Rename the single-accomodation.php file to match the name of your custom post type. i.e single-cpt.php.

Step 3 : Line 16 of map.php, swap out the Google API key with your own.

The ACF fields export file is also included in the download folder which you can import using ACF Pro

Register or login to access the download folder for members :

Related Tutorials

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.