wp custom field

WordPress Custom Fields [ Part 2 ] Final

WordPress Custom Fields [ Part 2 ] Final

Only Display Posts with a Specific Custom Field   The best part about query_posts function in WordPress is that it has a parameter for custom fields. So we can use it to create a loop that only displays posts with a specific custom field key and/or value. All you would have to do is enter the query_posts tag above your post’s loop statement. Let’s say you want to display posts that you wrote ... »

WordPress Custom Fields [ Part 1 ]

WordPress Custom Fields [ Part 1 ]

What are WordPress Custom Fields? Custom fields are a form of meta-data to store arbitrary information with each post of WordPress. While this does not sound so powerful, it is the most powerful of the WordPress posts and content types (type known as post). This meta-data is handled with key / value pairs. The key is a “name” that identifies the specific field so it is a constant and m... »