Home › Forums › Support › Need to add some jquery to my site and need to know the best way This topic has 4 replies, 2 voices, and was last updated 4 years, 3 months ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts January 13, 2020 at 2:41 pm #1131077 Ian I have the snippets plugin installed and I have GP premium, but what is the best way to add this JQuery snippet to my site? Do I just add it using the Snippets plugin or another way? <script> jQuery(document).ready(function(){ jQuery(‘[data-toggle=”tooltip”]’).tooltip(); }); </script> I then need to add this html to the items in my price lists, but I think I know how to do that. <i class=”fa fa-info-circle” style=”color:#FFF;”></i> January 13, 2020 at 2:57 pm #1131081 LeoStaff Customer Support Hi there, Try adding it to wp_footer hook in hooks element: https://docs.generatepress.com/article/hooks-element-overview/ And make sure to load jQuery if you haven’t done so: https://generatepress.com/forums/topic/loading-circle-going-round/#post-939319 January 13, 2020 at 3:07 pm #1131088 Ian ok, thanks Leo. January 13, 2020 at 3:12 pm #1131093 Ian Do I: execute shortcodes? execute PHP? January 13, 2020 at 5:45 pm #1131147 LeoStaff Customer Support Neither as jQuery isn’t shortcodes or PHP. The snippet to load jQuery needs to be added using one of these methods: Adding PHP: https://docs.generatepress.com/article/adding-php/ Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In