{"id":20183,"date":"2012-10-02T23:07:09","date_gmt":"2012-10-02T23:07:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/s8-simple-taxonomy-images\/"},"modified":"2013-06-04T17:30:21","modified_gmt":"2013-06-04T17:30:21","slug":"s8-simple-taxonomy-images","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/s8-simple-taxonomy-images\/","author":10150558,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.8.4","stable_tag":"0.8.4","tested":"3.5.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Sideways8 Simple Taxonomy Images","header_author":"Sideways8 Interactive","header_description":"","assets_banners_color":"4d4d4d","last_updated":"2013-06-04 17:30:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/sideways8.com\/plugins\/s8-simple-taxonomy-images\/","header_author_uri":"http:\/\/sideways8.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":6681,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.8.4":"<p>Bug fix and update to the WP 3.5 media uploader (still compatible with older versions though)<\/p>","0.8.3":"<p>Mostly bug fixes with a couple usability issues addressed.<\/p>","0.8.2":"<p>Found and resolved returning empty source issue.<\/p>","0.8.1":"<p>Fixed a potential issue when getting the source of the image.<\/p>","0.8.0":"<p>Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"8"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"607231","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.8.0","0.8.1","0.8.2","0.8.3","0.8.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5060,54678,54680,54679,16334],"plugin_category":[57],"plugin_contributors":[83032,83031,81337],"plugin_business_model":[],"class_list":["post-20183","plugin","type-plugin","status-closed","hentry","plugin_tags-category-images","plugin_tags-s8","plugin_tags-sideways-8","plugin_tags-sideways8","plugin_tags-taxonomy-images","plugin_category-taxonomy","plugin_contributors-areimann","plugin_contributors-sideways8","plugin_contributors-technical_mastermind","plugin_committers-sideways8"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/s8-simple-taxonomy-images_4d4d4d.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin was designed with themers and developers in mind. It allows for an easy way to quickly add category, tag, and custom taxonomy images to your taxonomy terms.<\/p>\n\n<p>NOTE: This plugin is not yet intended for use by those that are not comfortable modifying their theme files and have some idea of how WordPress works. We are however working on an easy way for anyone to use this plugin so please check back later!<\/p>\n\n<p>The admin side of things is very simple and straight forward. It adds a field to the add\/edit term forms allowing you to easily add an image during the creation or editing of taxonomy terms. It also adds a column to all the taxonomy management screens so you can tell at a glance what image is attached to what taxonomy term.<\/p>\n\n<p>To have the images show up on the site you will need to modify your theme files (for now). Just drop in one of the following functions and pass it the appropriate variables. In all examples '$tax_term' is a WordPress taxonomy term object (obtained by using a function like <code>get_term()<\/code>) and '$size' is an image size as defined by WordPress (e.g. 'thumbnail', 'medium', 'full', etc.). '$size' is optional and defaults to 'thumbnail'.<\/p>\n\n<p>Returns an array with the following format:\n    $image_src =&gt; array(\n     'src' =&gt; URL source for the image\n     'ID' =&gt; WordPress attachment ID (ALWAYS check to make sure this was returned before using ID, width, or height)\n     'width' =&gt; Width of image (only returned if ID is returned)\n     'height' =&gt; Height of image (only returned if ID is returned)\n    );\nReturns php <code>FALSE<\/code> on failure.\n    <\/p>\n\n<p>Returns all the HTML needed to display the image, returns php <code>FALSE<\/code> on failure.\n    <\/p>\n\n<p>Same as <code>s8_get_taxonomy_image()<\/code> except it goes ahead and echos it out\n    <\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>s8-simple-taxonomy-images<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>None yet!<\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>Updated the media uploader to the WP 3.5 uploader, maintained backwards compatibility with older versions<\/li>\n<li>Fixed bug where two arguments were expected, only one was given for the $wpdb-&gt;prepare function<\/li>\n<\/ul>\n\n<h4>0.8.3<\/h4>\n\n<ul>\n<li>More tweaks to <code>s8_get_taxonomy_image_src()<\/code><\/li>\n<li>Fixed some JavaScript bugs<\/li>\n<li>Fixed an issue when adding images where it would fail to add them<\/li>\n<li>Added a thumbnail column to all taxonomies in the admin so you know what terms do and don't have images at a glance<\/li>\n<li>Added the option to remove an image from a taxonomy<\/li>\n<li>Made the add\/remove image process more robust and end-user friendly<\/li>\n<\/ul>\n\n<h4>0.8.2<\/h4>\n\n<ul>\n<li>Fixed an issue where <code>s8_get_taxonomy_image_src()<\/code> could return an empty image source instead of false.<\/li>\n<\/ul>\n\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>Fixed an issue where <code>s8_get_taxonomy_image_src()<\/code> could return an invalid array (causing issues with other functions).<\/li>\n<\/ul>\n\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"It is now easy to add images to your categories, tags, or any other custom taxonomy term!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20183"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sideways8"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20183"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20183"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20183"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20183"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20183"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}