How can I preload fonts on wordpress?How do you disable browser Autocomplete on web form field / input tag?How to horizontally center a <div>?How to change an element's class with JavaScript?How can I know which radio button is selected via jQuery?How to check whether a checkbox is checked in jQuery?How to disable resizable property of textarea?How do I vertically center text with CSS?Cannot display HTML stringHow to preload material icons using rel=preload?How Preload Self Hosted Fonts

Comma Code - Automate the Boring Stuff with Python

Does the Way of Shadow monk's Shadow Step feature count as a magical ability?

Why, even after his imprisonment, people keep calling Hannibal Lecter "Doctor"?

Labview vs Matlab??Which one better for image processing?

Do we have any particular tonal center in mind when we are NOT listening music?

Cut a cake into 3 equal portions with only a knife

Is it impolite to ask for halal food when traveling to and in Thailand?

Strange Sticky Substance on Digital Camera

Excel Solver linear programming - Is it possible to use average of values as a constraint without #DIV/0! errors or sacrificing linearity?

Subverting the emotional woman and stoic man trope

How to see the previous "Accessed" date in Windows

A file manager to open a zip file like opening a folder, instead of extract it by using a archive manager

What secular civic space would pioneers build for small frontier towns?

Do wheelchair aircraft exist?

Is it impolite to ask for an in-flight catalogue with no intention of buying?

Why solving a differentiated integral equation might eventually lead to erroneous solutions of the original problem?

Fuel sender works when outside of tank, but not when in tank

A famous scholar sent me an unpublished draft of hers. Then she died. I think her work should be published. What should I do?

A food item only made possible by time-freezing storage?

What is the meaning of word 'crack' in chapter 33 of A Game of Thrones?

what should be done first, handling missing data or dealing with data types?

Averting Bathos

What would influence an alien race to map their planet in a way other than the traditional map of the Earth

Symbol for function composition like a big sum



How can I preload fonts on wordpress?


How do you disable browser Autocomplete on web form field / input tag?How to horizontally center a <div>?How to change an element's class with JavaScript?How can I know which radio button is selected via jQuery?How to check whether a checkbox is checked in jQuery?How to disable resizable property of textarea?How do I vertically center text with CSS?Cannot display HTML stringHow to preload material icons using rel=preload?How Preload Self Hosted Fonts






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Running Pagespeed on a wordpress i'm working on it says 4.5sec are taken by this resource: /wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo



and it suggests to use preload for it.



So I tried to add this to the header-single.php in wordpress before </head>:



<link rel="preload" href="/wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo" as="font" type="font/ttf" crossorigin="anonymous">


but without any result. Does someone know how I can preload such content on a wordpress?










share|improve this question


























  • Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

    – BugsArePeopleToo
    Mar 28 at 18:09











  • From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

    – Nathan Bernard
    Mar 28 at 18:38












  • Solved, I forgot to put a "/" to close the html tag ..

    – Nathan Bernard
    Mar 29 at 1:15

















1















Running Pagespeed on a wordpress i'm working on it says 4.5sec are taken by this resource: /wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo



and it suggests to use preload for it.



So I tried to add this to the header-single.php in wordpress before </head>:



<link rel="preload" href="/wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo" as="font" type="font/ttf" crossorigin="anonymous">


but without any result. Does someone know how I can preload such content on a wordpress?










share|improve this question


























  • Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

    – BugsArePeopleToo
    Mar 28 at 18:09











  • From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

    – Nathan Bernard
    Mar 28 at 18:38












  • Solved, I forgot to put a "/" to close the html tag ..

    – Nathan Bernard
    Mar 29 at 1:15













1












1








1








Running Pagespeed on a wordpress i'm working on it says 4.5sec are taken by this resource: /wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo



and it suggests to use preload for it.



So I tried to add this to the header-single.php in wordpress before </head>:



<link rel="preload" href="/wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo" as="font" type="font/ttf" crossorigin="anonymous">


but without any result. Does someone know how I can preload such content on a wordpress?










share|improve this question
















Running Pagespeed on a wordpress i'm working on it says 4.5sec are taken by this resource: /wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo



and it suggests to use preload for it.



So I tried to add this to the header-single.php in wordpress before </head>:



<link rel="preload" href="/wp-content/themes/dt-the7/fonts/icomoon-the7-microwidgets-16x16/fonts/icomoon-the7-microwidgets-16x16.ttf?dqeoeo" as="font" type="font/ttf" crossorigin="anonymous">


but without any result. Does someone know how I can preload such content on a wordpress?







html wordpress pagespeed preload lighthouse






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 17:33







Nathan Bernard

















asked Mar 28 at 17:25









Nathan BernardNathan Bernard

286 bronze badges




286 bronze badges















  • Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

    – BugsArePeopleToo
    Mar 28 at 18:09











  • From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

    – Nathan Bernard
    Mar 28 at 18:38












  • Solved, I forgot to put a "/" to close the html tag ..

    – Nathan Bernard
    Mar 29 at 1:15

















  • Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

    – BugsArePeopleToo
    Mar 28 at 18:09











  • From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

    – Nathan Bernard
    Mar 28 at 18:38












  • Solved, I forgot to put a "/" to close the html tag ..

    – Nathan Bernard
    Mar 29 at 1:15
















Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

– BugsArePeopleToo
Mar 28 at 18:09





Check in header.php where the <head> of the outputted document should be, the preload link should go in there. Also try removing the query (?dqeoeo) on the href value.

– BugsArePeopleToo
Mar 28 at 18:09













From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

– Nathan Bernard
Mar 28 at 18:38






From what I know and see the <head></head> part is in the header-single.php not the header.php, am I wrong? It's where I sometimes placed google fonts link or other links at least. I also tried to remove that query but no results..

– Nathan Bernard
Mar 28 at 18:38














Solved, I forgot to put a "/" to close the html tag ..

– Nathan Bernard
Mar 29 at 1:15





Solved, I forgot to put a "/" to close the html tag ..

– Nathan Bernard
Mar 29 at 1:15












0






active

oldest

votes











protected by Zoe Sep 2 at 14:14



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes



protected by Zoe Sep 2 at 14:14



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript