Ray Davies
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileOkay. Andrew, thanks again for your help & patience. I’ll mark this thread as resolved.
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileIs it ok to do it here?
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileLooking into it now, it suggests I download Xampp. Is that right?
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileI didn’t know I could do that!
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileAh, right. I deleted the stylesheet line as I thought it might cause an issue because I was not trying to link to a stylesheet. I just used cut & paste from the example on the codex page you linked me to and then tried to make it fit my requirements. Then I think I gave myself a brand new heart condition!!!
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileI uploaded the file and all is good! My word, this wordpress stuff is serious headwork!
Out of curiosity, had I entered the enqueue stuff correctly?
Thanks for your help!Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileSorry, I may have misled you there. The problem is still there
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileYes, all was well before I tried to link to the javascript file
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileI thought I had deleted the enqueue stuff, but I just downloaded the functions page and it seems to be still there. Should I delete the offending lines and re-upload maybe?
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileYes, that was it.
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript filebefore trying to enqueue the script stuff, all I had finished with the telephone number you see
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript file<?php add_filter( 'expound_credits_text', 'my_credits_text' ); function my_credits_text( $text ) { return '©. tptspersonaltraining.co.uk. All Rights Reserved. Tel: 07792 049 924'; } function expound_scripts() { wp_enqueue_script( 'expound-p7IRMscripts.js', get_template_directory_uri() . '/js/p7IRMscripts.js', array(), '1.0.0', true ); } add_action( 'wp_enqueue_scripts', 'expound_scripts' );
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript filePhew!! How do I get it on it’s feet again? ??
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileOk, something just went badly wrong. I tried to add the enqueue stuff in my child theme functions page. When I hit update, my screen just went completely white! I hit the back button and returned to my functions editor page. I removed the enqueue stuff and hit update and again, my screen just went blank! I can’t even look at the actual website because that displays just a blank page. Help guys please!
Forum: Themes and Templates
In reply to: [Expound] Linking to external javascript fileSomething’s gone very wrong! I tried to enqueue the new script, when I updated my functions file in my child theme, my screen simply went completely white! I hit the back button & returned to my dashboard. I then deleted the enqueue stuff from my functions page, hit update & the same thing happened. Have I lost everything? Panic stations!!! Can anyone help?