get_template_directory_uri()
is better practice. That said, you should be properly enqueuing (http://codex.wordpress.org/Function_Reference/wp_enqueue_script) your scripts, and should have no reason to call jQuery from Google at all, as jQuery is bundled with WP.
Related Posts:
- Prevent WordPress from automatically installing a new theme each year
- Is there a blank theme framework compatible with WP 3.0? [closed]
- How do register_sidebar() and get_sidebar() work together?
- how to override woocommerce specific loop or archive-product.php [closed]
- Looking for a lightweight theme using WP3 new tags and features (not 2010) [closed]
- How to make a script load after Custom Block is loaded in the editor?
- 2 seperate installation 1 theme same server
- FireFox Inspector :: find CSS file related to
- Widgets vs. Theme Mods
- When using the block.getSaveElement hook can you output different markup based on whether or not you are in the edit view or the live page view?
- get_theme_mod(); returns nothing
- Create a customizable child theme
- Are there any ‘Coming Soon’ themes for WordPress 3.0?
- Make page template that is just an “include” of another?
- Show attribute description when filtering by that attribute
- simple expandable vertical menu, java script problem
- How to use get_option() without any filter?
- dynamic external javascript generated using php
- Widget Javascript code (ajax)
- How do I copy all “extra” data (menus, widgets, etc) from one theme to another?
- How to correctly add JQuery in a WP theme?
- woocommerce Add custom field set like billing fields
- How to link external JavaScript files?
- $wp_customize->remove_section for customizer setting?
- Modify a theme to insert custom widgets?
- Cannot figure out how to center div in WordPress theme [closed]
- how can I change the background color of all posts on my server?
- add JS to multiple plugin admin pages
- Updating Existed RocketTheme Theme on WordPress
- Create simple Cookie Box for WordPress
- title, content, feature images
- Get page ID outside the loop, matching menu ID
- how to add custom css and js on wordpress post editor directly without using .php file
- How to customize core admin pages within a theme?
- Warning: Creating default object… when altering Customize panels
- Theme licensing and permission on changing content [closed]
- @font-face is not working in WordPress
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- What changes we need to make to a theme so it can be installed as a MU Theme?
- window resizing problem
- Updates for a private theme
- How to add custom page attributes in WordPress?
- custom theme ,add media not showing images in media library
- Load MediaPlayerElement after Infinity Scroll loads more posts
- Include custom JS without child theme
- Theme Customization through admin panel. (Appearance-Customize)
- For a specific theme, how do I build a list of all the possible theme modification names?
- Navigation label for page in custom theme
- Custom Login Process
- Installing new theme on running site
- Is there a way to override require_once of the main theme on the child theme?
- How to query details of images in gallery that is attached to a post
- WordPress broken after domain name change
- Edit value=”” of a button in child theme
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- How to edit alternate inactive themes in “Appearance -> Customise” screen?
- Upload a web module (html and JS) to wordpress
- How to create custom layouts and static pages in themes for clients
- How to have multiple WordPress Menus
- Create a Page template selector page
- Is “get_template_part” hierarchy possible?
- custom css and javascript not working on page defined as template?
- wp_enqueue_script JS code runs too late (after user begins interacting)
- Prevent WordPress from automatically installing a new theme each year
- Change default Video Player without Plugin
- javascript file not working in a plugin template file
- How do I run a web app in my WordPress theme without the “wp-content/theme/…/webapp” in URL?
- Customized Blog/Latest Posts Page
- remove screenshot.png via dashboard
- Allow WP users to sort search result on a videos site
- Javascript Tooltip not fully working on my wordpress page
- Delete page titles
- Issue with navigation bar in child theme
- How to narrow the area between buttons on Helium theme sidebar? [closed]
- Where to put coding a validation script for store? [duplicate]
- WordPress Customizer: Check for value of CSS selector and replace it
- How do I target this page specifically?
- How to submit form data in the same page in WordPress without reloading the page?
- How to Password Protect whole site except for some subdirectories
- how to auto fille conatct form 7 when user is logined
- Unable to write error_log output… but only from a certain function
- How to implement custom Javascript to my site
- Multi-site customization
- How do I move my sites to a child theme without loosing customisation?
- Removing comma from ‘entry-date’ in Twenty-Sixteen theme
- call get_header() function from different theme
- Use another theme template in my theme
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Pass the post ID
- How to convert that page to a wordpress template? [closed]
- Document.body.scrollTop in WordPress
- Adding Custom HTML/CSS/JS code in specific page
- Making custom pages (with an example to explain the goal)
- Integrate Woocommerce to a custom theme
- Custom CSS File wont work on second Page
- How to add custom page using them in wordpress 3.5
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- Particle.js not loading in WordPress Gutenberg
- Changes to code not displaying