rhender
Forum Replies Created
-
Forum: Localhost Installs
In reply to: moving from local to liveCool! Thanks Robin for the response. It’s nice to hear a full response every once in a while! ??
Forum: Themes and Templates
In reply to: want to show blog entries in sidebar on home page. possible?OK, thanks for the responses. I’ll look into both options. ??
Forum: Themes and Templates
In reply to: Exchange Page Titles for Image Page TitlesYeah, I haven’t used @font-face yet Chip. Can I use any font with that? Does it work everywhere… cross-browser etc.??
Forum: Themes and Templates
In reply to: Exchange Page Titles for Image Page TitlesGot it. What are Google Fonts?
Forum: Themes and Templates
In reply to: Exchange Page Titles for Image Page TitlesOh, just saw your post Chip.
Well, what if I want a very specific font that I have to use an image for? That’s why I am wondering this…
Forum: Themes and Templates
In reply to: Exchange Page Titles for Image Page TitlesOk, cool. So how would I sub images for page titles after I have created the child theme?
Forum: Fixing WordPress
In reply to: need a only in the of the homepageWell, I figured this one out. Was easier than I thought.
All that I needed to do was include an absolute path (https://etc…) in the JavaScript file, instead of a relative path.
That allowed every page on my site to have access to the php file, that was linked to in the JavaScript file.
Now my form works just fine.
Forum: Fixing WordPress
In reply to: how to add css to one pagenevermind… this link showed me what I was doing wrong… I needed to close out the php on the first line…
and then on the third line, I needed to start the php again and close it again… just around that last closing bracket… moving along. ??
https://www.ads-software.com/support/topic/using-php-if-statement-to-change-stylesheets?replies=5
Forum: Fixing WordPress
In reply to: including conditional javascriptThe whole block of code for clearer reference…
// Load jQuery function site_add_public_scripts() { if (is_home()) { wp_enqueue_script('qt-prototype', "https://www.apple.com/library/quicktime/2.0/scripts/prototype.js", false, '1.0', false); wp_enqueue_script('qtp-poster', "https://www.apple.com/library/quicktime/2.0/scripts/qtp_poster.js", false, '1.0', false); wp_enqueue_style('qtp-poster-css', 'https://www.apple.com/library/quicktime/2.0/stylesheets/qtp_poster.css'); } if (is_page('contact-2')) { wp_enqueue_script('contact', get_bloginfo('template_url')."/scripts/contact.js"); } if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', "https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js", false); wp_enqueue_script('jquery'); } wp_enqueue_script('jquery-cycle', get_bloginfo('template_url')."/scripts/jquery.cycle.all.min.js", array('jquery'), '1.0'); wp_enqueue_script('plus-one', "https://apis.google.com/js/plusone.js", array('jquery'), '1.0'); wp_enqueue_script('free-quote', get_bloginfo('template_url')."/scripts/free-quote.js"); }
Forum: Themes and Templates
In reply to: Can you add php include to template?Perfect. Thank you.
Forum: Fixing WordPress
In reply to: need a only in the of the homepageSo, I figured out how to place the JavaScript file in the functions.php file…. with the wp_enqueue_script — and so it is “embedded” in the <head> of the website.
The JavaScript (which controls a form) works great on all of the pages now.
The form relies on a “get-quote.php” file. There is a link in the JavaScript file for it.
The only problem is that when I am in a deeper level of the site, the JavaScript works on the form, but when I click the Submit button, the PHP file is not linked up.
It’s like I need to change the path to the PHP file in the JavaScript file, so that all levels of the site have access to it.
Unfortunately, I don’t know how to do that. Can anyone help me out with this?
Forum: Fixing WordPress
In reply to: how do you redirect to a mobile version of your site?Well, I tried to put that in the <head> of the document, and it keeps giving me an
Internal Server Error.I pasted it in exactly as you posted here.
??
Forum: Fixing WordPress
In reply to: need a only in the of the homepageOk, now what if I wanted it on every page in the site?
How would I write the path to it, so that it worked on every page?
Forum: Fixing WordPress
In reply to: how do you redirect to a mobile version of your site?wow! cool. I hope it works for me. thank you,
I will let you know. ??
Forum: Fixing WordPress
In reply to: trying to edit my main navigation but can't find it in WPOk, thanks…
So would that possibly have anything to do with one of my navigation links not working…
and a video on the homepage not displaying?
Basically it seems like I have some link problems… not many… but just a couple – ….after I copied the live site to my testing location.