Title: Load javascript via functions.php
Last modified: October 19, 2023

---

# Load javascript via functions.php

 *  Resolved [robermendo](https://wordpress.org/support/users/robermendo/)
 * (@robermendo)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/load-javascript-via-functions-php/)
 * Hello!! I would like to load a javascript via functions.php or something. I need
   this javascript load by default in the template, but i can’t put in the Advanded
   section and I can’t modify any plugin file. It can be posible?

Viewing 1 replies (of 1 total)

 *  Plugin Support [franz1989](https://wordpress.org/support/users/franz1989/)
 * (@franz1989)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/load-javascript-via-functions-php/#post-17144674)
 * Hello,
 * It seems you want to run some custom code on your website. In this case, you 
   can use the [WPCode ](https://wordpress.org/plugins/insert-headers-and-footers/)
   plugin which will allow you to add/run custom code snippets to your website.
 * [https://www.wpbeginner.com/news/introducing-wpcode-easy-wordpress-code-manager-to-future-proof-your-website-customizations/](https://www.wpbeginner.com/news/introducing-wpcode-easy-wordpress-code-manager-to-future-proof-your-website-customizations/)

Viewing 1 replies (of 1 total)

The topic ‘Load javascript via functions.php’ is closed to new replies.

 * ![](https://ps.w.org/coming-soon/assets/icon-256x256.png?rev=2402574)
 * [Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode](https://wordpress.org/plugins/coming-soon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/coming-soon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/coming-soon/)
 * [Active Topics](https://wordpress.org/support/plugin/coming-soon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/coming-soon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/coming-soon/reviews/)

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 1 reply
 * 2 participants
 * Last reply from: [franz1989](https://wordpress.org/support/users/franz1989/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/load-javascript-via-functions-php/#post-17144674)
 * Status: resolved