Title: Help with a functions.php edit &#8211; Storefront
Last modified: July 6, 2022

---

# Help with a functions.php edit – Storefront

 *  [Chris Hancock](https://wordpress.org/support/users/gorhad/)
 * (@gorhad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/help-with-a-functions-php-edit-storefront/)
 * 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 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-with-a-functions-php-edit-storefront%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/help-with-a-functions-php-edit-storefront/#post-15801911)
 * It is very simple task to do but You are new with WordPress So It may an issue
   with it. Install this [snippet plugin](https://wordpress.org/plugins/code-snippets/)
   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 3 years, 11 months ago by [mdshak](https://wordpress.org/support/users/mdshak/).
 *  Thread Starter [Chris Hancock](https://wordpress.org/support/users/gorhad/)
 * (@gorhad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/help-with-a-functions-php-edit-storefront/#post-15802163)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Chris Hancock](https://wordpress.org/support/users/gorhad/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/help-with-a-functions-php-edit-storefront/#post-15802163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
