Home Forums WoodMart support forum changing theme version in font woodmart-font-2-400.woff2?v=7.2.2 impairs perform

changing theme version in font woodmart-font-2-400.woff2?v=7.2.2 impairs perform

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #466765

    agenciawebinfinite
    Participant

    Hello!

    I always set fonts to preload in Wp Rocket.

    But a problem that I noticed with Woodmart, is that every time there is a version update, it changes that number in the source link, and this forces me (if I remember) to change the version every time in wprocket so as not to harm , and in fact it becomes unfeasible.

    See Just how it looks when I updated from version 7.2.2 to 7.2.4:
    Link in private.

    How to solve this, so you don’t have to change the version every time? This only has to be set up once and that’s it.

    Thanks.

    #467129

    Hello,

    You need to specify the file route instead of the theme version as described in the doc: https://docs.wp-rocket.me/article/1317-preload-fonts?utm_source=wp_plugin&utm_medium=wp_rocket

    If you have any questions please feel free to contact us.

    Best Regards

    #467251

    agenciawebinfinite
    Participant

    Hello!

    You are mistaken friend…

    If I put only the source link, without putting the version, it won’t help, it will be duplicated…

    As you may have read in the documentation too:
    “The font URL must exactly match what PageSpeed provides.”

    That is, I do the test, copy the source link and put it in pre-reload in Wp Rocket.

    If I do what you say, and put the link like this:
    /wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2

    Or instead of putting it like this:
    /wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=7.2.4

    It will not recognize, as if the link is wrong.

    Test there….

    #467681

    Hello,

    Unfortunately, there are no other options.

    If you have any questions please feel free to contact us.

    Best Regards

    #467964

    agenciawebinfinite
    Participant

    Why isn’t there?

    In other themes I’ve used, I don’t remember needing to put the theme version there….

    You mean, that if I want to preload this source, every time I update the theme, I need to update the link in wp rocket?

    #468403

    Hello,

    WoodMart theme offers the option to preload the font: https://monosnap.com/file/Fr5Zfbks2SyePX4zLpEvo3KV9W6HJX

    Please test this option, and disable preload fonts in the WP rocket.

    If you have any questions please feel free to contact us.

    Best Regards

    #468467

    agenciawebinfinite
    Participant

    Hello!
    At first it worked, thank you very much.

    #468657

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘changing theme version in font woodmart-font-2-400.woff2?v=7.2.2 impairs perform’ is closed to new replies.