{"id":3449,"date":"2008-08-06T21:06:28","date_gmt":"2008-08-06T21:06:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-field-widget\/"},"modified":"2012-11-29T18:30:17","modified_gmt":"2012-11-29T18:30:17","slug":"custom-field-widget","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/custom-field-widget\/","author":45726,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1 &beta;","stable_tag":"0.1","tested":"2.6.1","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Custom Field Widget","header_author":"Scott Allan Wallick","header_description":"","assets_banners_color":"","last_updated":"2012-11-29 18:30:17","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.plaintxt.org\/about\/#donate","header_plugin_uri":"http:\/\/www.plaintxt.org\/experiments\/custom-field-widget\/","header_author_uri":"http:\/\/scottwallick.com\/","rating":5,"author_block_rating":0,"active_installs":200,"downloads":19139,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566920","resolution":"1","location":"plugin"}},"screenshots":{"1":"Custom Field Widget is a multiple-instance widget that shows custom field values matching specified keys in your sidebar."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2009,4583,4582,2240,4584],"plugin_category":[43],"plugin_contributors":[78856],"plugin_business_model":[],"class_list":["post-3449","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-field","plugin_tags-custom-key","plugin_tags-custom-value","plugin_tags-field","plugin_tags-value","plugin_category-customization","plugin_contributors-plaintxtorg","plugin_committers-plaintxtorg","plugin_committers-scottwallick"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-field-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-field-widget\/trunk\/screenshot-1.png?rev=1566920","caption":"Custom Field Widget is a multiple-instance widget that shows custom field values matching specified keys in your sidebar."}],"raw_content":"<!--section=description-->\n<p>The Custom Field Widget displays values of custom field keys, allowing post- and page-specific meta sidebar content with limitless applications.<\/p>\n\n<p>Custom Field Widget is for WordPress 2.6.x and features:<\/p>\n\n<ul>\n<li>Multiple widget instances possible<\/li>\n<li>Widget-specific optional title and text<\/li>\n<li>Conditional functionality, i.e., without a matching key, the widget is not displayed<\/li>\n<li>Practically unlimited possible uses<\/li>\n<\/ul>\n\n<h3>Use<\/h3>\n\n<p>If you are unfamiliar with custom fields, you should first read about them on the <a href=\"http:\/\/codex.wordpress.org\/Using_Custom_Fields\" title=\"Using Custom Fields - WordPress Codex\">WordPress Codex<\/a>.<\/p>\n\n<p>Custom fields are added to posts and pages from the  <em>Write &gt; Page<\/em> and <em>Write &gt; Post<\/em> menus, just below the main editor area. You may add as many custom fields to a post\/page as you like.<\/p>\n\n<p>There are two separate fields for each custom field: the <em>key<\/em> and its <em>value<\/em>. The Custom Field Widget finds a specified <em>key<\/em> and then displays its corresponding <em>value<\/em> in the sidebar. Without a matching <em>key<\/em>, nothing is displayed.<\/p>\n\n<p>The Custom Field Widget doesn't necessarily 'do' anything, but it enables an advanced (and often overlooked) feature built-in to WordPress. For example, see <a href=\"http:\/\/performancing.com\/wordpress-tips\/jazz-your-site-28-ways-use-wordpress-custom-fields\" title=\"Jazz Up Your Site: 28 Ways To Use WordPress Custom Fields\">28 Ways to Use WordPress Custom Fields<\/a> for a small picture of possibilities.<\/p>\n\n<p>I developed this plugin for my own use. I wanted to display a small table of contents for certain pages (which are without categories) in the sidebar dynamically. Without a widget, I would have to edit the sidebar file(s) for each theme I used.<\/p>\n\n<p>Because each table of contents (a short <code>ol<\/code> of items) varied from page to page, it also had to be specific to each page. So I created a custom field key of <code>toc<\/code> and added the <code>ol<\/code> of items to its value. Enabling the plugin, I had a table of contents appear in the sidebar for each page with a custom field key of <code>toc<\/code>.<\/p>\n\n<p>The uses and applications of WordPress custom fields are infinite. Just <a href=\"http:\/\/www.google.com\/search?q=wordpress+custom+fields\" title=\"Google Search: wordpress custom fields\">search for WordPress custom fields<\/a> for thousands of results on this subject.<\/p>\n\n<h3>License<\/h3>\n\n<p>Custom Field Widget, a plugin for WordPress, (C) 2008 by Scott Allan Wallick, is licensed under the <a href=\"http:\/\/www.gnu.org\/licenses\/gpl.html\" title=\"GNU General Public License\">GNU General Public License<\/a>.<\/p>\n\n<p>Custom Field Widget is free software: you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<\/p>\n\n<p>Custom Field Widget is distributed in the hope that it will be useful, but <strong>without any warranty<\/strong>; without even the implied warranty of <strong>merchantability<\/strong> or <strong>fitness for a particular purpose<\/strong>. See the GNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License along with Custom Field Widget. If not, see <a href=\"http:\/\/www.gnu.org\/licenses\/\" title=\"GNU General Public Licenses\">http:\/\/www.gnu.org\/licenses\/<\/a>.<\/p>\n\n<!--section=installation-->\n<p>This plugin is installed just like any other WordPress plugin. More <a href=\"http:\/\/codex.wordpress.org\/Managing_Plugins#Installing_Plugins\" title=\"Installing Plugins - WordPress Codex\">detailed installation instructions<\/a> are available on the WordPress Codex.<\/p>\n\n<ol>\n<li>Download Custom Field Widget<\/li>\n<li>Extract the <code>\/custom-field-widget\/<\/code> folder from the archive<\/li>\n<li>Upload this folder to <code>..\/wp-contents\/plugins\/<\/code><\/li>\n<li>Activate the plugin in <em>Dashboard &gt; Plugins<\/em><\/li>\n<li>Customize from the <em>Design &gt; Widgets<\/em> menu<\/li>\n<li>Enjoy. And then consider donating<\/li>\n<\/ol>\n\n<p>In other words, just upload the <code>\/custom-field-widget\/<\/code> folder and its contents to your plugins folder.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What does this plugin do?<\/dt>\n<dd><p>Custom Field Widget displays the custom field values of a specified custom field key in your sidebar.<\/p><\/dd>\n<dt>I have no idea what your answer means.<\/dt>\n<dd><p>That's fine. Read the <em>Use<\/em> section for more information on using custom fields and possible applications of this plugin.<\/p><\/dd>\n<dt>Fine. Can you give me one example of what I could do with this plugin?<\/dt>\n<dd><p>You could use it to display a graphic in the sidebar that you set on a per-post and\/or per-page basis. Say you want certain posts\/pages to include a graphic that aren't necessarily categorized together. Create a custom field with a common key and this widget will display the corresponding values in the sidebar.<\/p><\/dd>\n<dt>That's pretty slick. Give me another example.<\/dt>\n<dd><p>No. See the <em>Use<\/em> section and let your imagination run wild.<\/p><\/dd>\n<dt>I'd like to modify this plugin in some way unavailable through the widget options panel. Will you help me?<\/dt>\n<dd><p>No. I apologize as I am unable to help with modifications with any of my plugins.<\/p><\/dd>\n<dt>Well, thanks for nothing.<\/dt>\n<dd><p>Not even thanks for the plugin?<\/p><\/dd>\n<dt>Sure. Thanks for the plugin.<\/dt>\n<dd><p>You're welcome. Enjoy.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"The Custom Field Widget displays values of custom field keys, allowing post- and page-specific meta sidebar content with limitless applications.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3449"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scottwallick"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3449"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3449"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3449"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3449"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3449"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}