You could tack it into header.php as you suggested (although this is not really the proper way to do it, it is best to use WPs enqueue function as described here).
When do you need these? All the time? You can enqueue scripts and styles to be used all the time, or on an as-needed/per template basis
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
http://codex.wordpress.org/Function_Reference/wp_enqueue_style
Related Posts:
- Failed to load resource: the server responded with a status of 404 (Not Found)
- Failed to load resource: the server responded with a status of 404 (Not Found)
- How to change CSS using jQuery?
- Angular: conditional class with *ngClass
- Remove class using jQuery
- How can I scroll to an element using jQuery?
- “Uncaught TypeError: Cannot read property ‘style’ of null at.. “
- What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]
- Bootstrap Dropdown menu is not working
- Change Background color (css property) using Jquery
- Using Javascript in CSS
- Set timeout for ajax (jQuery)
- How to generate a simple popup using jQuery
- How does the data-toggle attribute work? (What’s its API?)
- CSS height 100% percent not working
- Use images like checkboxes
- Adding images to a Bootstrap Carousel with AJAX
- Completely disable scrolling of webpage
- Angular: conditional class with *ngClass
- Setting background-image using jQuery CSS property
- Angular: conditional class with *ngClass
- How do you Hover in ReactJS? – onMouseLeave not registered during fast hover over
- Uncaught TypeError: Cannot read property ‘top’ of undefined
- Full-screen iframe with a height of 100%
- How to add multiple classes to a ReactJS Component?
- Change CSS of class in Javascript?
- How to print HTML content on click of a button, but not the page?
- Equivalent of jQuery .hide() to set visibility: hidden
- Bootstrap 4 Dropdown Menu not working?
- TypeError: $(…).modal is not a function with bootstrap Modal
- Why is the jquery script not working?
- How to do fade-in and fade-out with JavaScript and CSS
- TypeError: $(…).DataTable is not a function
- Change text on hover, then return to the previous text
- CSS Animation onClick
- Textarea Auto height
- Mixed Content Page: requested an insecure stylesheet error
- Why is marquee deprecated and what is the best alternative?
- Refresh/reload the content in Div using jquery/ajax
- How to write inside a DIV box with javascript
- How to get height of div in px dimension
- Crop the image using JavaScript
- Force div to be topmost element of any and all webpages
- Retrieve the position (X,Y) of an HTML element
- How to display raw JSON data on a HTML page
- “Uncaught TypeError: a.indexOf is not a function” error when opening new foundation project
- how to display a div triggered by onclick event
- Why is jquery show() not working in example
- jQuery scrollTop() method not working
- Set CSS property in JavaScript?
- Change an image with onclick()
- JavaScript – Count Number of Visitor for Website
- Creating Accordion Table with Bootstrap
- Getting or changing CSS class property with Javascript using DOM style
- Fully responsive HTML5 video
- How to create checkbox inside dropdown?
- How to change cursor from pointer to finger using jQuery?
- Positioning element at center of screen
- Adding Google Translate to a web site
- Bootstrap Collapse not Collapsing
- Cannot read property ‘style’ of undefined — Uncaught Type Error
- How can I remove a style added with .css() function?
- How to make HTML element resizable using pure Javascript?
- How to use aria-expanded=”true” to change a css property
- How to set “style=display:none;” using jQuery’s attr method?
- WordPress Bootstrap Handburger Menu Wont Open
- WP adds long version query strings to CSS and JS files
- WordPress getting css and script files from client machine rather than the server machine
- Hide CSS class only in single post pages
- How to keep close a sub-menu under homepage? [closed]
- What does the function then() mean in JavaScript?
- Can’t resolve module (not found) in React.js
- Is there a difference between /\s/g and /\s+/g?
- How to read an external local JSON file in JavaScript?
- How do I chop/slice/trim off last character in string using Javascript?
- What is causing this error – “Fatal error: Unable to find local grunt”
- Escape quotes in JavaScript
- “Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query
- jQuery $.cookie is not a function
- What is ESNext?
- How can I group data with an Angular filter?
- jQuery disable/enable submit button
- JQuery issue “TypeError: $.getJSON is not a function”
- HTML onchange (this.value)
- How to determine if Javascript array contains an object with an attribute that equals a given value?
- Download a file by jQuery.Ajax
- Loading different JS for http and https
- How to get the ToggleControl Gutenberg component working for a PHP Block
- How to append a URL parameter to all outbound URLs
- Minify HTML, CSS, JS with PHPWee?
- Using google graph api with wordpress
- Enqueue script if screen is greater than 500
- Uncaught TypeError: switchEditors.switchto is not a function
- Check if user can in javascript
- Rest API and how to deal with it in server side
- Is it possible to override only a part of another plugin’s / theme’s js (asset) file?
- VisualComposer/WPBakery Page Editor: Is any JS event triggered after the Edition pop-in is shown?
- How do I integrate a codepen?
- How to modify a class in load-scripts.js ?
- Active Navigation Class Based on URL on icon