Changeset 826758
- Timestamp:
- 12/21/2013 10:02:12 PM (12 years ago)
- Location:
- category-thumbnails
- Files:
-
- 10 added
- 2 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/base64.js (added)
-
tags/1.0.3/category-thumbnails.php (added)
-
tags/1.0.3/media-upload.js (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/screenshot-1.png (added)
-
tags/1.0.3/screenshot-2.png (added)
-
tags/1.0.3/screenshot-3.png (added)
-
tags/1.0.3/screenshot-4.png (added)
-
tags/1.0.3/screenshot-5.png (added)
-
trunk/category-thumbnails.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
category-thumbnails/trunk/category-thumbnails.php
r660966 r826758 4 4 Plugin URI: http://hovida-design.de/plugin-kategorie-thumbnails/ 5 5 Author: Adrian Preuss 6 Version: 1.0. 26 Version: 1.0.3 7 7 Description: This Plugin provide functions like post-thumbnails for categories and (own) custom taxonomys. Please visit the Author-URL for Documentation. 8 8 */ … … 271 271 } 272 272 273 function get_the_category_data($category_id = null) { 274 global $cat; 275 global $wpdb; 276 277 if($category_id != null) { 278 $cat = $category_id; 279 } 280 281 $size = ""; 282 $attributes = ""; 283 $result = $wpdb->get_row("SELECT `term_thumbnail` FROM `" . $wpdb->prefix . "term_taxonomy` WHERE `term_id`='" . $cat . "' LIMIT 1"); 284 $data = json_decode($result->term_thumbnail); 285 286 return $data; 287 } 288 273 289 // Call 274 290 new Category_Thumbnails(); -
category-thumbnails/trunk/readme.txt
r660979 r826758 1 1 === Category Thumbnails === 2 2 Contributors: Adrian Preuss 3 Version: 1.0. 23 Version: 1.0.3 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H56DKPMQE49NJ 5 5 Tags: category, thumbnail, taxonomy, custom 6 6 Requires at least: 3.4.2 7 Tested up to: 3. 6.08 Stable tag: 1.0. 27 Tested up to: 3.8.0 8 Stable tag: 1.0.3 9 9 10 10 This Plugin provide functions like post-thumbnails for categories and (own) custom taxonomys. Please visit the Author-URL for Documentation. … … 20 20 * the_category_thumbnail([category_id]) 21 21 * get_the_category_thumbnail([category_id]) 22 * get_the_category_data([category_id]) 22 23 23 24 The Plugin is Multilangual. Following languages are available: … … 63 64 == Change log == 64 65 66 = 1.0.3 = 67 "[21.12.2013, Last Update: 23:01 AM] - Adrian Preuss" 68 69 * Adding new method to get plain data, get_the_category_data([category_id]) 70 65 71 = 1.0.2 = 66 72 "[30.01.2013, Last Update: 00:18 AM] - Adrian Preuss"
Note: See TracChangeset
for help on using the changeset viewer.