Posts Tagged ‘google’

Use Google Font Directory Fonts in WordPress

4

Google has some seriously nice looking fonts available for you to use for free in the Google Font Directory. All the fonts are under an open source license and are served right from Google servers.

Most modern web browsers support webfonts. The Google Font API FAQ would be a good place to visit if you have questions or are curious about some of the limitations.

Making use of these fonts in your WordPress theme is extremely easy, as long as you have a basic understanding of CSS. Now let’s get down to using these in your WordPress theme, we’ll keep it short and simple.

First, head over to the Google Font Directory and pick a font to use. I’ll be using IM Fell as an example, since that’s the font I use for post titles on this site.

Once you find a font you like, click on it. If the font you chose has variants, you will need to click on a variant to use. Once you’re on the font page, click the “Get the code” tab and google will generate the code for the font. You will embed this code in the header.php file for your theme. I usually put it right before the line that calls the theme stylesheet file. Here’s the code I used to include the IM Fell font:

After that, all you have to do is use the font in your CSS, typically the style.css file in your WordPress theme directory. To get my post titles to use the IM Fell font, I did this:

The font-size property defines what size of font to use (duh!). The font-weight property defines the thickness of the font (degree of boldness). You can apply the font-family property using the Google Font to pretty much any piece of CSS that targets text. You can use it for post content, links, widget titles, or whatever you want really.

If you have any questions, feel free to leave a comment and I’ll do my best to help you out!


Use Google Hosted jQuery in WordPress

0

So, I recently needed to use a google hosted version of jquery for a WordPress theme (don’t ask). I came across this topic at the WordPress forums.

User bazil749 suggested doing this, I’ve updated it to include jQuery 1.4.4:

I added that piece of code to the proper place in the header.php file for the theme and it worked like a champ. jQuery was now loading from Google. The Use Google Libraries plugin does the same basic thing, except it can use libraries other than just jQuery, like jQuery UI, Dojo, MooTools, and Protoype.

There are a number of good reasons to let Google host jQuery for you.


Google Building In Iowa

1

I flipped on the TV when I woke up yesterday to watch the news on KCCI like I always do. I caught the very end of a piece about Google building two facilities in Iowa. I didn’t believe my ears at first, I just assumed they were looking at Iowa as an option for building.

I got into work and went to the KCCI website. Sure enough, right on the front page was a story titled “Some Not Surprised By Google’s Move”. It was the top story of the day at the time. Here’s some of the article from the KCCI website:

DES MOINES, Iowa — It has been a well-kept secret until Tuesday.

Google Inc. is setting up shop in Iowa. The question is why.

The state’s reputation as a great place to live and work could have played a big role.

” I would like to begin with these four words: Google welcome to Iowa,” said Gov. Chet Culver in a news conference Tuesday in Council Bluffs.

The economic impact is predicted to be huge.

Google will invest $600 million in two new facilities, including a data center that is under construction in Council Bluffs.

The 1,100-acre site will house a data farm. The 200 news jobs are forecast to add up to $10 million a year to the state’s economy.

Google has a page dedicated to the Council Bluffs data center and there’s also a nice FAQ.

Google is currently taking applications for employees in the Council Bluffs data center. Needless to say, my resume will be on its way to them shortly, this position really caught my eye. Too bad I don’t have a degree of any sort, I’ll probably be overlooked for that reason alone.


Post navigation