Home Forums Community Support Forum WordPress Plugins 404 error ??? created file functions.php

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2918
    CvS
    Participant

    Hello,
    speeding up the site there is a 404 error and that takes 2 seconds loading.
    URL: http://www.kunst-van-petra.nl/Blogscript-url?ver=mijn-versie-nr

    I found the description mijn-versie-nr (dutch language) in the file functions.php create bij making the child-theme.

    <?php
    /*
    * Generated By Orbisius Child Theme Creator – your favorite plugin for Child Theme creation :)
    * https://wordpress.org/plugins/orbisius-child-theme-creator/
    *
    * Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent.
    * Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent theme’s functions.php).
    * Source: http://codex.wordpress.org/Child_Themes#Using_functions.php
    *
    * Be sure not to define functions, that already exist in the parent theme!
    * A common pattern is to prefix function names with the (child) theme name.
    * Also if the parent theme supports pluggable functions you can use function_exists( ‘put_the_function_name_here’ ) checks.
    */

    function defer_js_scripts() {
    wp_deregister_script(‘script-name’);
    wp_register_script(‘script-name’, ‘script-url’,array(),’mijn-versie-nr‘,true);
    wp_enqueue_script(‘script-name’);
    }
    add_action(‘wp_enqueue_scripts’, ‘defer_js_scripts’);

    Is this an error in Orbisius and what to do to remove this error?

    Can you help me.
    Wordpress support has no idea
    Kind regards

    CvS

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.