Changeset 517915
- Timestamp:
- 03/12/2012 01:58:59 PM (14 years ago)
- Location:
- my-coderwall-badges/trunk
- Files:
-
- 2 edited
-
cw_badges.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
my-coderwall-badges/trunk/cw_badges.php
r514508 r517915 4 4 Description: gets your badges from coderwall website and let you show them on your blog. 5 5 Author: Francesco Lentini 6 Version: 0. 26 Version: 0.3 7 7 Plugin URI: https://github.com/flentini/my-coderwall-badges 8 8 Author URI: http://spugna.org/tpk … … 12 12 add_action('wp_enqueue_scripts', 'cwb_stylesheet'); 13 13 add_action('admin_menu', 'cwb_init_admin'); 14 add_action('plugins_loaded', 'cwb_plugins_loaded'); 14 15 15 16 function cwb_init(){ … … 33 34 wp_register_style('cwb-css', $cwb_css_url); 34 35 wp_enqueue_style('cwb-css', $cwb_css_file, false, false, 'all'); 36 } 37 38 function cwb_plugins_loaded(){ 39 register_sidebar_widget('Coderwall', 'widget_coderwall'); 35 40 } 36 41 … … 67 72 </div> 68 73 <?php } 74 75 function widget_coderwall ($args){ 76 global $cwb; 77 78 extract($args); 79 80 echo $before_widget . $before_title; 81 _e('My Coderwall Badges'); 82 echo $after_title; 83 echo $cwb->get_badges(); 84 echo $after_widget; 85 } -
my-coderwall-badges/trunk/readme.txt
r514507 r517915 4 4 Requires at least: 3.0 5 5 Tested up to: 3.3.1 6 Stable tag: 0. 26 Stable tag: 0.3 7 7 8 8 gets your badges from coderwall website and let you show them on your blog. … … 23 23 echo $cwb->get_badges() -> display user badges 24 24 25 you can call them inside your theme's files. 25 you can call them inside your theme's files. 26 27 There's also a widget which waits to be activated by you in the theme options. 26 28 27 29 == Installation == … … 36 38 == Changelog == 37 39 40 = 0.3 = 41 * Added a simple widget. 42 38 43 = 0.2 = 39 44 * Minor fixes, added shortcode, removed curl functions.
Note: See TracChangeset
for help on using the changeset viewer.