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!
© 2022 Advanced Custom Fields.