Custom Fields WordPress

How to Add Custom Fields to WordPress Post

Many times you feel the need for custom fields for a WordPress post/page. You can assign custom fields to a post by creating meta-data. Yes, this is what WordPress calls these custom fields. This way your WordPress posts can be more than just posts.

So, let’s create some custom fields.

We will be adding following custom fields to our posts:

1. Image URL – Url of an image to show before the post content

2. Read also – Link of another post at our blog that we would like visitors to read

We will create a metabox for these two fields. (more…)