» July 7th, 2008 | Categorized in Tutorials
One of the popular plugins for WordPress is Related Posts by René Ade, which scours the WP database for related content in published posts and displays the info on relating posts or in the sidebar through a widget. In this tutorial I will show you how to add thumbnail images to related posts featured in a sidebar using custom fields.
1. Download Related Posts Plugin
Grab the Related Posts plug-in on René’s site. The last build was compatible with WP 2.3, but it does work with WP 2.5.1.
Continue reading ‘Wordpress: Add Images to Related Posts’
Tags:
custom fields,
related posts,
wordpress
» June 15th, 2008 | Categorized in Tutorials
WordPress is probably by far the most popular blogging platform out there today, having a high level of customization that can turn the software into a CMS while being driven by a community geared toward open minds and development. I absolutely love WordPress as a web designer and it pushes me daily to discover more of what this platform can handle. Now lets get on with the post.
WordPress has a feature called Custom Fields that are for posts containing data not within the post’s body, but rather hidden within the post from plain site. The great thing about Custom Fields is that you can use it for just about anything.
While still working on the development of the Douglas County Film Commission website, certain posts are used for shooting locations and each location post had to have a map of the area present for viewing. I had tried different ways to integrate the Google Maps API into the website, from placing the info in the header to installing various WordPress plug-ins, all of which did not work for the purpose of the website.
Discouraged with the results, I took a crack at implementing Google Maps in a post by passing data through custom fields. And believe it or not, it actually worked with very little code. If this is your first time working with Google Maps API, check out Google’s tutorial on building your first map. Here’s how to do it on your own.
By the way, this if my first ever tutorial so be gentle.
Continue reading ‘WordPress: Custom Fields & Google Maps API’
Tags:
custom fields,
google,
google maps,
google maps api,
Tutorials,
wordpress