Problem is that I don’t use genesis but avada and that I don’t know how to add a second acf field in the snippet above. Plus I also believe I have to add an extra piece of code to let this snippet work within functions.php. Something like this
if ( ! class_exists( 'acf' ) )
But I don’t know where to place it in the snippet above.
Is there someone who wants to help me out?
Thanks in advance.
First of all that is for genesis and your using avada, the two themes will have different hooks. You will need to figure out what hook is available in avada to insert content between the title and the excerpt. I can’t help you with that and you need to look at the avada documentation to see if it’s possible or contact avada support to get that answer. Once you figure out the correct hook to use then you edit the functions.php file for your theme to add the code you want to run for the action.
Viewing 2 posts - 1 through 2 (of 2 total)
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