This topic has 3 replies, 2 voices, and was last updated 8 years by joeltoledo.

  • Author

    Tagged: 

  • #55915
     joeltoledo
    Participant

    Hi,

    I have a string error when I use pingdom it returns : http://www.droithumain-france.org/wp-content/kleo/contact.css?ver=4.1.2

    How can I manage this issue,

    Cheers,

    Joël

    Attachments:
    You must be logged in to view attached files.
    #55918
     sharmstr
    Moderator

    conatact.css is not a kleo file. perhaps a plugin you have installed is trying to load it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55922
     sharmstr
    Moderator

    Looks like its from the contact form 7 plugin. It should be using this though /wp-content/plugins/contact-form-7/includes/css/styles.css

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #55926
     joeltoledo
    Participant

    In fact I didn’t remember I put an invalide code into the frame of wp functions.php for better loading. Thanks. Joël

    // Optimisation de Contact Form 7
    add_action( ‘wp_print_scripts’ , ‘cf7_js’ , 100 );
    function cf7_js() {
    if ( !is_page(‘contact’)) {
    wp_deregister_script( ‘contact-form-7’ );
    }
    }
    add_action ( ‘wp_print_styles’ , ‘cf7_styles’ , 100 );
    function cf7_styles() {
    wp_deregister_style( ‘contact-form-7’);
    wp_register_style( ‘contact7’ , get_template_directory_uri() . ‘/css/contact.css’ );
    wp_enqueue_style( ‘contact7’, get_template_directory_uri() . ‘/css/contact.css’ );
    }

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?