I’m working on a custom taxonomy term page template where we want the items that are connected to the term sorted by a publication date (custom date field) –...
I have a function that defines a custom field on a post type. Say the field is “subhead”. When the post is saved, I want to do some validation...
The WordPress function is used for submitting data programatically. Standard fields to submit to incude the content, excerpt, title, date and many more. What there is no documentation for...
I’d like to build an advanced search form for a specific custom post type, having filters for the custom post types custom fields, custom taxonomies, and for a separate...
I see many people prefer to use pre_get_posts hook instead of query_posts. The code below works and shows all posts which have meta key “featured” function show_featured_posts ( $query...
Trying to build a search that not only searches the defaults (title, content etc) but also a specific custom field. My current query: $args = array( 'post_type' => 'post',...
I have a query_posts call in a WP template. Through the use of the More Fields Plugin I can give the site admin the ability to create an event...
The question is “How do I add one or more fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?” This question was asked on...
Despite the fact I googled a lot, I’ve not found the answer to a very simple question : I have some posts with a custom field (i.e. supplier_name). I...
Aa you know, as of WP3.0 there are options for custom advanced queries, which is great. As of this, some query parameters of custom fields like meta_key, meta_value were...