• Resolved sacconi

    (@sacconi)


    I need to put in the sticky header something like

    <link rel="preload" as="image" href="https://test.sacconicase.com/wp-content/uploads/2023/07/case-vacanza-appartamenti-affitto-250.jpg">

    because everytime I change of page the images in the header open too late, how can I do it?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sacconi

    (@sacconi)

    In which of your file and in which position can I put this above preload html snippet? I have a logo image in the free version

    Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @sacconi,

    This is not related with WP Mobile menu.

    You can achieve that using the wp_head hook.

    Check it here.

    https://developer.wordpress.org/reference/hooks/wp_head/

    Thread Starter sacconi

    (@sacconi)

    My above code works for my desktop pc, I simply put it in the tag <head> in header.php, I suppose I can do the same when the plug in runs, I just need to know in which file I can repeat “this “trick”

    maybe inside the DIV mob.menu-logo-holder ? it’s just HTML

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Preload function’ is closed to new replies.