Ask a MacRSS: News Maker

Ask a Mac: Why Use WordPress’ New Thumbnails Feature?

Posted on January 27, 2010 in: Ask a Mac, Tech

Ask a Mac No. 2: How you can use the new Wordpress image thumbnail feature to liven up the online experience of iPhone (and other smartphones’) visitors to your site — even if the theme you currently use isn’t set up for it.

What to Do if WordPress has Scared You Off

So the whole “make this file writable” bit got to you? Me, too. Instead I fired up my FTP client (I use the super-easy Transmit) and navigated to the folder of the theme I’m using (in the example below, it’s a theme called Visual). Inside that folder is the functions.php file. Right-click to edit the file (most FTP programs will let you do this).


Using an FTP client to edit your functions.php file.
Click on the image to view full-size.

Now follow these instructions to add the line of code:

Copy the following line of code:

add_theme_support( 'post-thumbnails' );

Paste the code on its own line right after the <?php at the beginning of the file.

<?php

add_theme_support( 'post-thumbnails' );

Save your changes; you’re done. Try loading your Web site to make sure nothing’s gone wrong. If it has, just delete the new code to go back to the way things were.

Using Post Thumbnails

Now to try it out: Create a new post. Along the righthand navbar of the Edit Post page you’ll see a new section called Post Thumbnail. Click on the Set thumbnail link in that section and upload the image you want to use for the thumbnail. If you’ve already uploaded an image to accompany your post then just select it from the gallery by clicking on the “Gallery” tab. Click on the image to see a full-size illustration of how to select your thumbnail.

WPtouch The final step is enabling the display of your thumbnail in WPtouch. Go to your WordPress dashboard, select Plugins and then pick the WPtouch Settings.

In the General Settings section of WPtouch, you’ll see a section called Post Listings Options. From there you can choose between Calendar Icons, Post Thumbnails or nothing for your post listings. Pick Post Thumbnails.

That’s it. Now your mobile readers will think your blog is snazzy.


Any More Questions?

If you want to know more or have another question, you can fill out the form below.

[contact-form-7 404 "Not Found"]

Post Comment

Tags: , ,

About Carlos Pedraza

Carlos Pedraza is a screenwriter and producer at Blue Seraph Productions, and also oversees its writing consulting division, Blue Serif. Carlos is based in Seattle and Los Angeles.

Copyright © 2012 Carlos Pedraza