Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #960741

    Hello Kriesi Team,

    got the problem, that an script i inserted at “design – editor” not working anymore. Iam not sooo often in the office to check – but some customers from our partner program cant active themselve anymore.

    The script i added in the header just disappeared and in the moment i want to insert it again it says

    “Kommunikation mit der Website, um auf fatale Fehler zu prüfen, nicht möglich, daher wurde die PHP-Änderung rückgängig gemacht. Du wirst deine veränderte PHP-Datei mit anderen Mitteln hochladen müssen, wie per SFTP.”

    in english : cant communicate with the website to check fatal errors. that why php changes are not aaplied. You need to upload it via sftp

    now – i updated enfold completly and uploaded the header.php with the code in sftp but still dont work.

    #961323

    Hey ichbinkeinroboter2412,

    Please try this in your child theme functions.php file:

    function ichbinkeinroboter2412_add_custom_code(){ ?>
    <script> var partnerScriptURL = “https://www.wo-meninbalance.de/registration”;</script>
    <script src=”https://www.wo-meninbalance.de/registration/js/partner.js” type=”text/javascript”></script>
    <?php }
    add_action('wp_head', 'ichbinkeinroboter2412_add_custom_code');

    Best regards,
    Rikard

    #977852

    Thanks for the answer. I’ll check this out today or tomorrow. (Sorry for the time :D havent any time the last month)

    #977921

    Hi,

    No problem, let us know if it works out or not :-)

    Best regards,
    Rikard

    #984625

    Iam not sure about inserting a child theme to get the code in.

    Is there already an preinserted child theme anywhere in the ftp ? Normaly it should be in the theme folder but there is only enfold.

    Just added a “child-theme” folder and inserted 3 empty files.

    functions.php; style.css and index.php.

    Iam not that good in programming , so i post current code i inserted below.

    if you need any other infos, i can add them

    #984646
    This reply has been marked as private.
    #984944

    Hi,

    Thanks for the feedback. Did you try to paste the code at the bottom of functions.php in your child theme? If not then please try that out.

    Best regards,
    Rikard

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

You must be logged in to reply to this topic.