I have tried manually adding a script the page as an HTML block via gutenberg but the summary does not include this code on the posts page. Additionally, this script doesn’t seem to inherit the jquery and greensock libraries I’m using in other codes.
Would welcome any insight into this challenge. Thank you in advance.
I’m already using SVG support. You’re correct… this will effectively turn my embedded SVGS into inline. However, my issue involves the use of the script that manipulates the SVG. Do you have any insight into attaching a script to a blog post in the manner I described above? Thanks very much.
Not sure if this will work – ACF has the get_field() function and you could use the GP Hook Element to add this to the blog and single posts. This could be used to pull the script in after the content has loaded.