I posted this in another thread, but I thought nwadave might want to see it.
I’m displaying ACF data in a Genesis theme by adding an action to the genesis_entry_content hook.
My scenario is a site for an artist who makes photographs and paintings. I added a field group called “Photography”, with the following fields:
Camera; Lens; Lighting; Aperture; Shutter Speed; Processing Details
The new custom function kicks in if a post’s category is either ‘photography’ or its subcategory. (I’m going to attack custom fields for paintings after a walkthrough with my client.)
I documented my solution on my blog, here:
PS: Boy am I glad I finally started using ACF. Not sure what took me so long!
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!
© 2022 Advanced Custom Fields.