Home › Forums › General Issues › ACF Groups and get_field › Reply To: ACF Groups and get_field
There was a section that wasn’t working on the site and now it does. The errors that were listed above I fixed by changing:
wp_register_script("jquery", get_template_directory_uri() . "/plugin-frameworks/jquery- 3.2.1.min.js", array(), 1, 1); wp_enqueue_script("jquery");
wp_register_script("jQuery", get_template_directory_uri() . "/plugin-frameworks/jQuery-3.2.1.min.js", array(), 1, 1); wp_enqueue_script("jquery");
Basically the same except the “jquery” needs to be “jQuery” with a capital Q. However the php part is still not showing anything. I can honestly say that I am not even sure the get_field(“hero”); is getting any results back at all. Not sure how to check it either.
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.