WP LOGBOOK

Little adventures building sites with Wordpress…

Easy-To-Understand Introductory Video Tutorial About Using Custom Fields

leave a comment »

A few things to take note about using Custom Fields:

  1. Use it in the loop
  2. Make sure to use the <?php if so that custom fields with no value for that particular key name will not show in the post
  3. In order to show the values, you need to use echo

The video below from WordPress.tv helps you to understand how a custom field is used. Do take note of the coding. You can pause the video tutorial and click full-screen so that you can study the codes, practise and keep it as your own code snippet which will be useful in the future when you need to code fast.

Advertisements

Written by Yahya Ayob

October 29, 2010 at 7:00 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: