Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #612775

    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!

    #612781

    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

    #612791

    hi, i have some different codes, one for every pages and some other for thank you pages, how can i fix it?

    #612793

    Hi!

    You can use Code Block element on your pages and insert your codes inside it

    Regards,
    Yigit

    #612794

    great so i don’ have to change my functions.php?

    #612796

    Hey!

    No. I thought you needed to add the same JS code to all of your pages :)

    Cheers!
    Yigit

    #612810

    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?

    #612815

    Hi!

    Exactly :)

    Cheers!
    Yigit

    #612820

    Thanky for helping, great support!

    Great theme too, so a dont have to use some fu… Plugins:-)

    #612845

    Hey!

    You are welcome :)
    Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.