Hi, could you help me with:
I have a problem with displaying JS script in CODE BLOCK element if this element is inserted into Tabs element. If the Code Block is inserted separately everything is fine but for Tabs it does not work.
Thanks for reply
Jakub Doležal
Hey Jakub,
Thank you for the inquiry.
You may need to load the script using the wp_enqueue_script function instead of placing it directly in the code block element. You can also create a dedicated shortcode for the custom script.
// https://developer.wordpress.org/reference/functions/wp_enqueue_script/
To create a custom shortcode, please check this documentation.
// https://codex.wordpress.org/Shortcode_API
Best regards,
Ismael