With Simple Fields you can add any kind of custom fields to your pages, posts and attachments.
simple_fields_fieldgroup()when a $field_group_id_or_slug does not exist.
Simple Fields Connector: slugOfPostConnector
to your template and that connector will be used for all pages with that template. - New filters as a result from above: set_post_connector_from_template, get_post_connector_from_template
Added support for using "sf_meta_key" as an argument to regular wp_query. just add sf_meta_key = "field_group_slug/field_slug" to the args of wp_query and then the argument meta_key will automatically be filled with the correct custom field key to use for that field. Useful when you need to for example sort things based on simple fields in a wp_query. Please note that different field types store their values in different ways, but it works really good for plan text, date/timepicker, and probably some more too.
Added method get_field_by_fieldgroup_and_slug_string() that can retrive a field array based on a field group slug and a field slug. like this: $sf->get_field_by_fieldgroup_and_slug_string("my_fieldgroup_slug/my_field_slug");
Updated field extension example with code to notify user that they must have simple fields installed to use the plugin
simple_fields_register_post_connector can now accept a string in the post_types argument, if only one post type is to be connected
fixed a problem with the date/timepicker v2 not being se correctly when option "no date" was selected
Requires: 3.7.1 or higher
Compatible up to: 4.3.1
Last Updated: 3 months ago
Active Installs: 10,000+
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?