• Hi all im at a loss, i gained this digital trust Trustmark which they said i have to implement it through the functions.php

    The code is

    // Shopping Guarantee in the global site footer
    
    add_action( 'wp_enqueue_scripts', function() {
    
      if (!is_order_received_page()) {
    
        wp_enqueue_script( 'shopping-guarantee-script', '//guarantee-cdn.com/Web/Seal/gjs.aspx?SN=968150179', array(), null, true );
    
      }
    
    }, 1000);

    They said to Simply copy and paste all the code below into your theme’s

    functions.php file

    But i have no idea where that would be

    I tried wp-admin then Appearance then Theme editor then functions.php pasted the code in the end updated site but nothing

    Thanks in advance

    • This topic was modified 2 years, 8 months ago by Jan Dembowski.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • It is very simple task to do but You are new with WordPress So It may an issue with it. Install this snippet plugin to use the code without knowing the functions.php.

    It is very simple task to do. Hope, My suggestion will help you sure.

    • This reply was modified 2 years, 8 months ago by mdshak.
    Thread Starter Chris Hancock

    (@gorhad)

    Perfect thank you so much mdshak (@mdshak) its working

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with a functions.php edit – Storefront’ is closed to new replies.