You simply enqueue your stylesheet using the get_stylesheet_uri()
function my_scripts() {
// enqueue style
wp_enqueue_style('name-of-my-script', 'https://cloud.typography.com/6718632/6718632/css/fonts.css');
}
add_action('wp_enqueue_scripts', 'my_scripts');
Related Posts:
- How to prevent a style sheet to affect a header.php or footer.php?
- My CSS, footer and header don’t show up!
- Why won’t wp_mail() let me set the From: header when plain old PHP mail() will?
- How does one suppress a 404 status code in a WordPress page?
- How do I add a search bar to my header?
- Is it safe to fix Access-Control-Allow-Origin (CORS origin) errors with a php header directive?
- How can I use CURLOPT_USERPWD in wp_remote_post?
- Putting content into header.php without using wp_head
- Image slider to display at the very top of home page
- Remove rel=shortlink from HTTP header
- How do you log a user out with wp_logout?
- Change the headers content type with wp_remote_post
- Different custom header image on different page
- HTTP Header on specific page is application instead of text
- Auto-refresh page every minute?
- Remove sticky behavior from top navigation on twenty fourteen theme?
- Remove link around logo
- How do the default themes reference style.css?
- why enqueued styles in header.php shows in footer?
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- Facebook embeds loading the wrong language
- Banner in WordPress
- How to find out if page_for_posts is showing (in order to style menu item)
- Google Tag Manger – no-script Code Not Found
- Resizing of a header/div in a website through css in wordpress [closed]
- Determine what pages are in my header [closed]
- How to remove main domain header title from after sub domain header title
- I want to hide header in the static homepage that I am working on [closed]
- 404 or ugly page on IE, but Firefox, Chrome looks perfect
- How to change header dimensions in WordPress?
- Changing header text from uppercase to normal [closed]
- Safe to start a php session on get_header action?
- How do I get my main image to stretch the full length of the screen?
- H1 tags for header image?
- Is there a way to get minimal WordPress functions for iframed content?
- Clickable image link sends people to wrong URL
- custom header navigation has odd spacing [closed]
- Why does WP load so many files in the head of source code? How do I optimize it?
- Trying to set a cookie based on $_POST parameter
- How to add some lines to the wp-login.php header via functions.php?
- How to Customize Wp Default Title and a prefix
- Hook to change HTTP response headers
- Responsive issue with secondary logo – not sticking in position [closed]
- How to add social follow button to header? [closed]
- Empty header tags [closed]
- Insert Facebook button into header [closed]
- What is this HTTP_REFERRER “WordPress/4.1.2”
- How can I selectively insert a header for my shop page in woocommerce? [closed]
- Empty lines in header, how to remove them
- Benefits to using CSS for header image instead of html img tag [closed]
- Export Header and Footer
- How do I begin debugging where the description meta tag is set for my categories?
- Inserting iframe right after on header.php
- How to add script right after ?
- Code needs wrapper/container to put footer back in, but where?
- Including PHP files in header.php
- How do I modify the tag on my Category Archive page?
- Remove a link in the header
- How to make my banner (logo image) position on the center
- Easiest way to use relative URLs in my WordPress header
- Should I use do_action in the header file?
- Update Code to be Compatible with WP 5.3 (‘cannot modify header information’ warning)
- set cookies on certain page only
- Twenty seventeen header is not responsive
- How to change the width of certain paragraph or header blocks?
- 3 WP installations on the same domain, with the same header
- Add my footer menu to the header
- Remove top bar header
- How to make custom_header_setup() image as background image?
- Change header image size
- WordPress site screwed up after adding Facebook Pixel inbetween header tags
- WordPress cookie issue on login: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
- Insert Code into Header Only on Blog Posts
- Twenty Fourteen: Shrinking header while scrolling down
- Twenty Fourteen: Unsticky header after making header bigger
- How do I change top header background color
- only header is showing up in posts
- In the Header.php file, is there a way to swap between one layout and another?
- video header in desktop view, image header in mobile view
- expires header in w3 total cache
- Set cookie so user sees alert banner/popup only once
- How to set x-priority header = null while using plugin WP e-commerce?
- Reduce Page loading time
- show wordpress data without headers
- Header Image instead of dynamic text
- Removing old code from header
- Change header based on visitor choice
- How to remove uncategorised posts from WordPress
- Custom header shows two or three or more images
- Converting Menu Links to List Elements
- How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?
- making posts linked outside of WordPress still use the same header and footer
- Custom Header won’t Repeat
- Loading second header.php for other homepage showing double header.
- Editing Header with a Page Builder [closed]
- site-description css is overriden [closed]
- WordPress mobile and desktop header problems [closed]
- WooCommerce: I Need to hide my page title/header (including menu) from all the WooCommerce related product pages, such as category and keyword pages
- wp_redirect problem using code snippets
- How to add meta description correct way