Calce

Remodelling in process

Fields 0.4.3

Textfields with multiple values now can optionally be unordered. Unordered Textfields have their values in plain text which can be used in query_posts() or wp_query()

Fields 0.3.9

New box options: Position: set initial box position (normal, advanced, side). Include: a comma separated list of post IDs that will be included even if their post types are not supported by the box. Exclude: comma separated list of post IDs, exclude the posts even if their post types are supported. The Fields menu has [...]

Make wp_localize_script() work properly

4

wp_localize_script($handle, $object_name, $l10n); For example: $myvars = array(‘value’ => ‘one’); wp_localize_script(‘my-handle’, ‘myVars’, $myvars); The above code won’t do anything unless you enqueue a script with the same handle before it, like this: wp_enqueue_script(‘my-handle’, ‘path-to-js-file.js’); $myvars = array(‘value’ => ‘one’); wp_localize_script(‘my-handle’, ‘myVars’, $myvars); This code will be inserted into your page: /* <![CDATA[ */ var myVars [...]

wp_list_comments() will append an end tag to your comment

On every call to your call back from wp_list_comments(), there will be an end tag appended, this tag can be either </li> or </div> depending on your style parameter. Therefore, in your call back function, don’t put your own end tag there. For example, my call back function was like this: function custom_comments($comment, $args, $depth) [...]

Extend Fields

A page with a brief explaination on how to create new plugins to add more field types into Fields has been added here

Fields 0.3.1

Changes: The shortcode [field] or [fs] (alias of field) can now reference to other posts (cross-post) Three new attributes for [field] added: slug, post_type and post_status slug: a slug to any post of any post type, if specified, the shortcode will look for data from for the post with slug. If no post with slug [...]

Fields 0.3

8

Changes: Checkboxes and Radio items can now have multi-column layouts There are now 2 more additional options for check boxes and radio buttons, Width and Container Width If assigned a value, items with Width will have a fixed size and float to the left of each other. Container Width limits on how many items can [...]

Fields 0.2.5

Changes: Fixed a bug where a textfield’s values were not saved in correct orders

Fields usage page added

Usage page added, the page will guide you through the steps to create boxes for your blog posts as well as how to use shortcode to display the fields in your posts.

12