Comment on Technical Support by SEO Dave.
Adding the Google Font CSS to the WordPress header is easy.
To enqueue the Google fonts via your child theme edit:
/stallion-responsive-child/functionsplus-child.php
Paste this to the very bottom:
add_action('wp_head', 'str_add_google_font', 1); function str_add_google_font() { echo '<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lora|Oswald" media="screen">'; }
Modify Lora|Oswald to set the Google fonts you want available.
This will add The Google fonts Lora and Oswald. To add more it’s Lora|Oswald|fontname|fontname
The above enqueues the Google fonts, next you have to use them in the Stallion Responsive CSS files.
The wrong way to do this is manually edit the CSS files, the correct way to do this is via the Stallion Responsive colour scheme creator feature which is described at Stallion Theme Creator and the specific info for fonts Stallion Colour Scheme CSS Creator Fonts.
If you do it the right way it will make future updates far less painful. When I modify colour schemes in the future to add new features, you’ll be able to use your backup PHP file (described in the first link above) to rebuild your CSS file with a few clicks of the mouse. If you do it the wrong way by manually hacking the CSS files, when new features are added some might not look right with your hacked CSS file and you’ll either have to work out what needs adding or again hack the new CSS file (it’s a pain to do it this way).
By following the above you can create your own Stallion colour scheme (it makes CSS files) using the Google fonts you’ve enqueued.
Example by taking one of the Stallion example fonts from the second tutorial link above:
font: normal normal normal 100%/120% Arial, Helvetica, sans-serif;
To use a Google font you could use this:
font: normal normal normal 100%/120% Oswald, Arial, Helvetica, sans-serif;
This would result in a web browser first looking for the Oswald font (Google font), if it didn’t find it (not enqueued the font in the child theme as described earlier or Google removes the font in the future) would look for Ariel. If Ariel isn’t available move on to Helvitica….
We use font families (list of fonts) rather than one font because you can’t be 100% certain your font will be available to all web browsers. The above gives 4 fonts of which Arial, Helvetica and sans-serif are similar looking and tend to be available on most browsers.
The end result will be you’ll have a new Stallion Responsive colour scheme (will create a new CSS file) you could use on multiple sites. This is how I build new colour schemes, though not used Google fonts for it because there’s a performance hit enqueueing additional external CSS files: When you check the Google Pagespeed Insights tool results you’ll have a new render blocking issue you can’t fix: price you pay for using Google fonts.
David
More Comments by SEO Dave
Online Technical Support
Display Widgets Plugin v4.0.0 Security Update
I’ve released a Free Security Update/Upgrade of the Display Widgets Plugin which is called v4.0.0 and is malicious code free and extends the widget logic features.
I’ll be supporting the new version with new future updates: it’s not going in the …
Continue Reading Online Tech Support
Online Technical Support
WordPress SEO Plugin Support
I develop a WordPress SEO theme (Stallion Responsive) and four WordPress plugins:
Stallion WordPress SEO Plugin
Display Widgets SEO Plus Plugin
WordPress SEO Comments Plugin
WordPress Comment Titles SEO Plugin
Which plugin are you using including version number?
How does it slow your site down (backend: …
Continue Reading Online Tech Support
Online Technical Support
Stallion SEO Plugin Canonical to Blog Archive Rather than Home
Glad you’ve found the Stallion SEO Plugin useful.
Funnily enough the reason for commenting out the code (which works fine for what you want) was I thought it was confusing keeping it in without another option explaining the difference between Home …
Continue Reading Online Tech Support
Online Technical Support
Google Webmaster Tools Duplicate Title Tags Due to Yoast WordPress SEO
There’s an article on the site about Duplicate Title Tags and there’s a comment specific to the Yoast WordPress SEO plugin overriding the WordPress SEO Comments plugin title tags : Wrong Yoast SEO Title Tags.
The WordPress SEO Comments Plugin creates …
Continue Reading Online Tech Support
Online Technical Support
W3 Total Cache Plugin Version 0.9.5 PHP Fatal Error
To upgrade from an older version of Stallion Responsive to the latest version should be a simple case of going to your WordPress Dashboard, hoverover the Dashboard link on the left menu, click Updates. Under themes there should be a …
Continue Reading Online Tech Support
Online Technical Support
Google Large Ads Above the Fold on Mobile Fix
I’m aware of the “Large ads above the fold on mobile” issue with Stallion Responsive, it was fixed in a Stallion Responsive update.
Upgrade from Stallion Responsive 8.2.1 to Stallion Responsive 8.4 and the issue will be resolved. You should see …
Continue Reading Online Tech Support
Online Technical Support
Duplicate Yoast SEO Plugin Open Graph Meta Tags
Had a quick look at your site (home page and a WordPress Post) and you don’t have duplicate meta description tags, you have duplicate OG (Open Graph) meta tags.
You have the Yoast SEO OG tags and another smaller set of …
Continue Reading Online Tech Support
Online Technical Support
Stallion 6 vs Stallion Responsive 8
Stallion version 6 is way out of date and lacks mobile responsive design which is now part of the Googles algorythm.
Stallion Responsive version 8 includes a lot of new features (including mobile responsive design), so you are missing out on …
Continue Reading Online Tech Support
Online Technical Support
Hard to Get a Large Site Fully Indexed in Google
It used to be a lot easier to get large sites fully indexed in Google, but now it takes a lot more SEO effort: basically more high quality backlinks.
The recipe site was partially automated, used some recipe databases to pull …
Continue Reading Online Tech Support
Online Technical Support
Silo SEO Using WordPress Categories
If it’s a website with thousands of WordPress posts rather than pages (static pages), spread over a fair number categories based on theme (the categories are the silos) then the Stallion Responsive built in silo SEO features will work REALLY …
Continue Reading Online Tech Support
Online Technical Support
Stallion Responsive Email Updates
Regarding technical support it’s always via comments on this site unless the information can’t be made public: if it has to be private support there’s contact details on the main Stallion options page (I ignore support requests sent by email …
Continue Reading Online Tech Support
Online Technical Support
PHP 7 WordPress Theme Compatibility
I don’t have a server running PHP 7 yet, so can’t be sure. Got to find the time to setup a Wamp server or XAMPP server running PHP 7 for testing.
WordPress core has been testing under the PHP 7 environment …
Continue Reading Online Tech Support