Custom fields often associated with blog post and are widely expoited by wordpress programmers and theme
designers to store various values. Here is a easy way to fetch the custom field value in wordpress.
Just remember that this will only work if placed within the wordpress loop.
<?php $zip_code = get_post_meta($post->ID, "zipcode", true); echo $zip_code; ?>
Amazingly Simple! isnt it?
Similar Posts:
- How to output category name in WordPress?
- Affiliate Hide v1.0 – Free WordPress plugin to Hide & Redirect Affiliate Links
- How to output parent and child categories in WordPress
- How to get parent category name in WordPress?
- Affiliate Hide – Free wordpress plugin to redirect affiliate links!
- 10 Best WordPress PLUGINS You Never want to MISS!
- Displaying HTML code in WordPress Posts!
- 20+ Beautiful Photo Slideshow Plugins for WordPress
- 3 Must Do Things for WordPress Blog Starters
- Best & Useful WordPress Plugins For Blogs





