Home › Forums › WoodMart support forum › Font Preload Warning Error
Font Preload Warning Error
- This topic has 10 replies, 2 voices, and was last updated 3 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
April 8, 2021 at 2:12 am #279924
kingyParticipantHi,
I’m updated to latest version. I have two issues/questions:-
1) I have the following warning in console, and the font-size for product grid title text, on category pages, doesn’t change unless I do a hard-refresh (ctrl + F5). I’ve already cleared all caches:-
“The resource https://test.com/wp-content/themes/woodmart/fonts/woodmart-font.woff?v=5.3.6 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate
as
value and it is preloaded intentionally.”2) Do is still need this hot-fix you gave me before in my functions.php file:-
function woodmart_products_per_page_action() {
if ( isset( $_REQUEST[‘per_page’] ) && 1 != $_REQUEST[‘per_page’] && ! isset( $_REQUEST[‘_locale’] ) ) {
setcookie( ‘shop_per_page’, intval( $_REQUEST[‘per_page’] ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
}
}Looking forward to a solution. Thanks.
April 8, 2021 at 9:46 am #280044
Elise NoromitMemberHello,
Please disable this option in order to fix the error: http://prntscr.com/1176j9s
We have already added this code to the parent theme you can remove it from the child theme.
Best Regards
April 8, 2021 at 1:02 pm #280184
kingyParticipantHello,
The option was disabled already to begin with: https://i.gyazo.com/4dfd6609a949a4d7b818f11523d4d665.png
Any other way to get rid of the warning?
April 9, 2021 at 8:36 am #280566
Elise NoromitMemberHello,
Please provide the site admin and FTP access to the private area.
Best Regards
April 9, 2021 at 3:33 pm #280921
kingyParticipantPlease provide an email so we can send the temporary login. Thanks.
April 9, 2021 at 10:39 pm #281020
Elise NoromitMemberHello,
Here is my email:
Best Regards
April 10, 2021 at 12:45 am #281039
kingyParticipantSent
April 10, 2021 at 12:50 am #281040
kingyParticipantSome products are showing the true price very small, but after a hard-refresh it fixes it, and doing another hard-refresh puts it back small again. Very odd.
April 11, 2021 at 8:23 am #281498
Elise NoromitMemberHello,
Our dev team has checked and we see that this code does not relate to our theme.
Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Best Regards
April 11, 2021 at 4:57 pm #281617
kingyParticipantI have sorted it out. Thanks!
April 11, 2021 at 7:23 pm #281667
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register