Title: Not reading functions.php
Last modified: June 19, 2021

---

# Not reading functions.php

 *  [kayo404](https://wordpress.org/support/users/kayo404/)
 * (@kayo404)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/not-reading-functions-php/)
 * Hi,
    I have a site that I have installed Contact Form 7 on, and on the developer
   site, there is a code that can be added to the functions.php to stop loading 
   the contact form.
 * My page with the contact form: [https://kayove.no/kontakt/](https://kayove.no/kontakt/)
 * Themes:
    Active: GeneratePress Child – Version: 0.1 GeneratePress – Version: 
   3.0.3
 * Plugins installed:
    GP Premium Contact Form 7
 * From the developer: [https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/](https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/)
 * I have added this code in the functions in the child theme.
 * GeneratePress Child: Theme Functions (functions.php)
    add_filter( ‘wpcf7_load_js’,‘
   __return_false’ ); add_filter( ‘wpcf7_load_css’, ‘__return_false’ );
 * My page: [https://kayove.no/kontakt/](https://kayove.no/kontakt/) still loads
   the contact form.
 * Any idea why this is not working? I have not installed any caching plugins.
    -  This topic was modified 4 years, 11 months ago by [kayo404](https://wordpress.org/support/users/kayo404/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnot-reading-functions-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Erik](https://wordpress.org/support/users/codekraft/)
 * (@codekraft)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/not-reading-functions-php/#post-14574114)
 * hi [@kayo404](https://wordpress.org/support/users/kayo404/)
 * take a look at this -> [https://wordpress.org/support/topic/backround-text-colors-of-submit-button-text-area-width-size-reduce-multiple-file/#post-14559852](https://wordpress.org/support/topic/backround-text-colors-of-submit-button-text-area-width-size-reduce-multiple-file/#post-14559852)
 *  Thread Starter [kayo404](https://wordpress.org/support/users/kayo404/)
 * (@kayo404)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/not-reading-functions-php/#post-14574173)
 * Thank you, but it did not work.
 * Eiter I’m doing something wrong or there is something with my hosting.

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

The topic ‘Not reading functions.php’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kayo404](https://wordpress.org/support/users/kayo404/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/not-reading-functions-php/#post-14574173)
 * Status: not resolved