You may have noticed that the front page of KnowIT (here) uses a thumbnail image for each post. That thumbnail is provided by the Thesis theme I use.
At first I would add a Post Image to each Post and allow WordPress to create a thumbnail from it. That’s very handy, as it’s automatic.
But before long I realised the automatic thumbnails were each between 30 and 50 KB. At 10 images per front page view that was 300 to 500Kb, and made the page slow loading.
It’s a lot more work, but now I create the thumbnail image myself and add it as a Post Image Thumbnail. Each thumbnail is now around 7Kb. That’s reduced each page load by a good 400Kb, speeding up the blog and reducing bandwidth.
For reasons I don’t want to spell out here, I wanted to find out the exact names for those custom fields.
How to find custom field names
Here’s how to discover those names:
Some meta_key names for my blog.
- Make sure at least one Post on your blog uses the custom filed you wsh to find information for.
- Visit the hosting Control Panel for your blog.
- Open PHPMyAdmin and select the correct database.
- Click on the
postmetatable. It probably has a prefix, such aswp_. That lists all the rows in the table, probably 30 or so per page. - Scan the column called
meta_keyuntil you see the name you need.
For example, in Thesis you can assign a specific post image, post image alt text, post image thumbnail and alt text to each Post. I wanted to find the specific meta_key names.
After viewing the postmeta table I soon found them:
-
thesis_post_image -
thesis_post_image_alt -
thesis_thumb -
thesis_thumb_alt
Now, with the exact names available I can go ahead and construct a search or use them any other way I like.






Add your Comment