• Resolved Elena Shikova

    (@medpressa)


    Hello! How I can Customize Keyword Preloading my own font? I insetr in header.php this code

    <link rel="preload" as="font" href="https://trip-together.ru/wp-content/themes/reboot/assets/fonts/wpshop-core.ttf" type="font/ttf" crossorigin="">

    but it doesn’t work. I insert code after tag head, but I find it after critical css, before tag title.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I usually go with .htaccess, directive like this ought do it

    Header add Link "</wp-content/xxx/xxx/xxxr.ttf>; rel=preload; as=font; crossorigin"

    Best regards,

    Thread Starter Elena Shikova

    (@medpressa)

    Thanks? it work very well. You are genius

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize Keyword Preloading’ is closed to new replies.