How to create repeater field manually, without plugin (ACF Pro)?
How to create repeater field manually, without plugin (ACF Pro)?
How to create repeater field manually, without plugin (ACF Pro)?
How do I ensure that post_type and Taxonomy use the same slug?
Mandatory field in Custom post
If you are wanting to run the function after the post meta data has been added/updated, use: add_action( ‘updated_post_meta’, ‘my_post_meta_function’ );
I think you’ll find this a simple and useful tutorial to do what you want: http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/
you could make category for each family (name), and a (sub)category for each region, and then assign custom templates to each category using category templates plugin. or – in case you want to use pages instead of posts/categories – then you don’t need this plugin but instead just create additional page templates for each family.. … Read more
Have you looked into this plugin? http://wordpress.org/extend/plugins/posts-to-posts/ Sounds a lot like what you need.
I agree with Denis, I don’t like using custom fields for this kind of stuff, but I’m not aware of any other way yet… What you what can be done by altering the SQL query for the loop, something like this: add_filter(‘posts_join’, ‘my_post_filter_join’); function my_post_filter_join($join) { global $wpdb; if(is_home() || is_category() || is_search()) $join .= … Read more
Well, way late, but I found this looking for the answer myself before solving it, so I’ll post for others in my boat, as I’m sure the OP sorted this by now. 😉 Use “meta_key” and “meta_value” in your query after taking a look at “post_meta” in your database to figure out what the simple … Read more
The way I would approach this is: Create a custom field with an underscore in front of it – Example: _rating this way it doesn’t show up in the normal custom field interface Create a meta box that manages this custom field Wrap your add_meta_box function with if(current_user_can(‘administrator’)) This will only create the meta box … Read more