Hi, i need to embed some js for the whole site not for single pages.
I tried css@javascript toolbox but i cant activate this plugin-also iv i deactivate all other plugins.
Do u have an alternatve for it?
Thank you very much!
Hi Luisgasser!
Please add following code to Functions.php file in Appearance > Editor
function custom_blog_banner(){
?>
// Your code goes here
<?php
}
add_action('wp_footer', 'custom_blog_banner');
Regards,
Yigit
hi, i have some different codes, one for every pages and some other for thank you pages, how can i fix it?
Hi!
You can use Code Block element on your pages and insert your codes inside it
Regards,
Yigit
great so i don’ have to change my functions.php?
Hey!
No. I thought you needed to add the same JS code to all of your pages :)
Cheers!
Yigit
hi, i have one code for all sites and some different for any thank you pages. So for thank you pages i use cod block and the general conde goes to function.php, right?
Thanky for helping, great support!
Great theme too, so a dont have to use some fu… Plugins:-)