![]() ![]() You can do it with the parent theme but every custom code will be erase with any update. Wp_enqueue_script('glammy-script', get_stylesheet_directory_uri().'/js/my-new-script.js', array, false, true) In the functions.php file : add_action('wp_enqueue_scripts', 'se_40563443', 99) This forum has 30,939 topics, 154,442 replies, and was last updated 23 minutes ago by informagency. Please go to PURCHASED CODE Page to verify. ![]() Please Register or Login to submit your support topic. Remove preloader part (nearly at the top of the file): jQuery(window).load(function () ,500)", 800) This is a support forum for Education WordPress Theme Eduma. Why use child-theme.Īfter this, you'll be able to do this in the child-theme functions files.Ĭopy / paste myscript.js into child-theme/js/ and name it my-new-script.js. It's easy and will not change anything about your options setted. You need to make a child theme to update your theme without thinking about all modifications you've already done. After a quick view on the source code, it seems to me that the preloader is embed in the file myscript.js, that you can dequeue easily in the functions.php like this : wp_dequeue_script( 'myscript' ) īut, unfortunately, it's not easy to do, this because this file contains other jquery functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |