Version: 3.3.1 Use widgets, shortcodes, and/or template tags to easily retrieve and display custom field values for posts or pages.
Did you echo the return value of the function, e.g. <?php echo c2c_get_custom('mood', 'My mood: '); ?>
Except for c2c_get_custom() (which is only available inside "the loop"), yes, by carefully setting the appropriate settings for the widget.
c2c_get_custom() : not achievable via the widgetc2c_get_current_custom() : set the "Post ID" field to 0, leave "Pick random value?" unchecked, and set other values as desired.c2c_get_post_custom() : set the "Post ID" field to the ID of the post you want to reference and set other values as desired.c2c_get_random_custom() : leave "Post ID" blank, check "Pick random value?", and set other values as desired.c2c_get_random_post_custom() : set the "Post ID" field to the ID of the post you want to reference, check "Pick random value?", and set other values as desired.c2c_get_recent_custom() : leave "Post ID" blank, leave "Pick random value?" unchecked, and set other values as desired.When on the write or edit admin pages for a page or post, find the "Screen Options" link near the upper right-hand corner of the page. Clicking it slides down a panel of options. In the "Show on screen" section, uncheck the checkbox labeled "Get Custom Field Values - Shortcode". This must be done separately for posts and for pages if you want the shortcode builder disabled for both sections.
Yes, any of the boxes on the page when creating/editing posts can be rearranged by dragging and dropping the box name. At the very top of the shortcode builder box the cursor will turn into a four-way array indicating you can click to drag that box. You can move it under the post content box, or higher up on the right side.
Requires: 2.8 or higher
Compatible up to: 3.3.1
Last Updated: 2011-8-18
Downloads: 58,259




