Changeset 1156887
- Timestamp:
- 05/09/2015 02:27:26 PM (11 years ago)
- Location:
- ts-widget-pack
- Files:
-
- 25 added
- 8 edited
-
tags/1.1 (added)
-
tags/1.1/README.md (added)
-
tags/1.1/css (added)
-
tags/1.1/css/ts-widget-pack.css (added)
-
tags/1.1/images (added)
-
tags/1.1/images/social-icons.png (added)
-
tags/1.1/js (added)
-
tags/1.1/js/ts-widget-pack.js (added)
-
tags/1.1/readme.txt (added)
-
tags/1.1/screenshot-1.png (added)
-
tags/1.1/screenshot-2.png (added)
-
tags/1.1/screenshot-3.png (added)
-
tags/1.1/screenshot-4.png (added)
-
tags/1.1/screenshot-5.png (added)
-
tags/1.1/ts-widget-pack-fields.php (added)
-
tags/1.1/ts-widget-pack.php (added)
-
tags/1.1/widgets (added)
-
tags/1.1/widgets/call-to-action.php (added)
-
tags/1.1/widgets/list-authors.php (added)
-
tags/1.1/widgets/oembed.php (added)
-
tags/1.1/widgets/page-tree.php (added)
-
tags/1.1/widgets/preview-post.php (added)
-
tags/1.1/widgets/social-icons.php (added)
-
trunk/css/ts-widget-pack.min.css (added)
-
trunk/js/ts-widget-pack.min.js (added)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/ts-widget-pack-fields.php (modified) (2 diffs)
-
trunk/ts-widget-pack.php (modified) (9 diffs)
-
trunk/widgets/call-to-action.php (modified) (1 diff)
-
trunk/widgets/list-authors.php (modified) (2 diffs)
-
trunk/widgets/oembed.php (modified) (2 diffs)
-
trunk/widgets/preview-post.php (modified) (2 diffs)
-
trunk/widgets/social-icons.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ts-widget-pack/trunk/readme.txt
r689833 r1156887 1 === Widget Pack by ThematoSoup===1 === Widget Pack === 2 2 Contributors: slobodanmanic, nikolicdragan 3 3 Tags: call-to-action widget, list authors, oembed, page tree, preview post widget, social icons widget 4 Requires at least: 3.15 Tested up to: 3.5.16 Stable tag: 1. 14 Requires at least: 4.0 5 Tested up to: 4.2.2 6 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 17 17 18 18 We encourage all end-users, as well as developers, to extend any additional functionality of WordPress themes by using Widget Pack. This ensures painless and safe switching themes without loosing any widget content or its function. 19 20 = TS Call to Action Widget = 21 Call to action widget gives you an option of inserting a call to action box in any widgetized area of your WordPress theme. Elements of the call to action widget are: 22 23 * Title 24 * Call to action text 25 * Button link 26 * Button text 27 * Button second line text 28 * Button position (right, left, below, no-button 29 * Button color (yellow, blue, red, green, black) 30 31 = TS List Authors Widget = 32 This widget lists all authors on your blog. You have the option of customizing: 33 34 * Title 35 * Number of authors to display 36 * Show/hide author Gravatars 37 * Gravatar Size (32px, 48px, 64px) 38 * Sort by (number of posts, alphabetically) 39 * Sorting (ascending, descending) 40 * Show latest posts for each author 41 42 = TS oEmbed Widget = 43 TS oEmbed allows you to embed all kinds of stuff without worrying about the code. You just enter the link and widget does the rest. 44 45 Supported formats: 46 47 * Animoto 48 * Blip 49 * CollegeHumor 50 * DailyMotion 51 * EmbedArticles 52 * Flickr 53 * FunnyOrDie.com 54 * Hulu 55 * Imgur 56 * Instagram 57 * iSnare 58 * Issuu 59 * Kickstarter 60 * Meetup.com 61 * Mixcloud 62 * Photobucket 63 * PollDaddy 64 * Rdio 65 * Revision3 66 * Scribd 67 * SlideShare 68 * SmugMug 69 * SoundCloud 70 * Spotify 71 * TED 72 * Tumblr 73 * Twitter 74 * Vimeo 75 * Vine 76 * WordPress.tv 77 * YouTube Videos 78 79 = TS Page Tree Widget = 80 81 The widget shows your current position in page hierarchy. Options you have for TS Page Tree widget are: 82 83 * Title 84 * Page tree top level page (current, top) 85 86 "Current" shows only child pages and all pages bellow the one you're currently viewing 87 88 "Top" shows top level ancestors. 89 90 = TS Preview Post Widget = 91 Preview Post widget shows the post you'd like to feature. For that post you choose: 92 93 * Post ID 94 * Show post title 95 * Show post thumbnail 96 * Show Excerpt 97 * Read more link text (leave more link text) 98 99 = TS Social Icons = 100 Social Icons widget enables people to easily connect with you on social networks of your choosing and there's an abundance of them. 101 102 * Twitter 103 * Facebook 104 * LinkedIn 105 * Google+ 106 * Pinterest 107 * YouTube 108 * Vimeo 109 * Flickr 110 * Dribbble 111 * Tumblr 112 * Instagram 113 * Last.fm 114 * Reddit 115 116 == Installation == 117 1. Download the plugin from this page and extract it 118 2. Copy the fancier-author-box folder to the "/wp-content/plugins/" directory 119 3. Activate the plugin through the "Plugins" menu in WordPress dashboard 120 121 == Features == 19 122 20 123 = TS Call to Action Widget = … … 63 166 64 167 = TS Page Tree Widget = 65 66 168 The widget shows your current position in page hierarchy. Options you have for TS Page Tree widget are: 67 169 … … 99 201 * Reddit 100 202 101 == Installation ==102 1. Download the plugin from this page and extract it103 2. Copy the fancier-author-box folder to the "/wp-content/plugins/" directory104 3. Activate the plugin through the "Plugins" menu in WordPress dashboard105 106 == Features ==107 108 = TS Call to Action Widget =109 Call to action widget gives you an option of inserting a call to action box in any widgetized area of your WordPress theme. Elements of the call to action widget are:110 111 * Title112 * Call to action text113 * Button link114 * Button text115 * Button second line text116 * Button position (right, left, below, no-button117 * Button color (yellow, blue, red, green, black)118 119 = TS List Authors Widget =120 This widget lists all authors on your blog. You have the option of customizing:121 122 * Title123 * Number of authors to display124 * Show/hide author Gravatars125 * Gravatar Size (32px, 48px, 64px)126 * Sort by (number of posts, alphabetically)127 * Sorting (ascending, descending)128 * Show latest posts for each author129 130 = TS oEmbed Widget =131 TS oEmbed allows you to embed all kinds of stuff without worrying about the code. You just enter the link and widget does the rest.132 133 Supported formats:134 135 * YouTube (public videos only)136 * Vimeo137 * Flickr (both videos and images)138 * Hulu139 * Twitter (WordPress 3.4+)140 * DailyMotion141 * blip.tv142 * Viddler143 * Qik144 * Revision3145 * Scribd146 * Photobucket147 * PollDaddy148 * WordPress.tv (only VideoPress-type videos for the time being)149 * SmugMug (WordPress 3.0+)150 * FunnyOrDie.com (WordPress 3.0+)151 152 = TS Page Tree Widget =153 The widget shows your current position in page hierarchy. Options you have for TS Page Tree widget are:154 155 * Title156 * Page tree top level page (current, top)157 158 "Current" shows only child pages and all pages bellow the one you're currently viewing159 160 "Top" shows top level ancestors.161 162 = TS Preview Post Widget =163 Preview Post widget shows the post you'd like to feature. For that post you choose:164 165 * Post ID166 * Show post title167 * Show post thumbnail168 * Show Excerpt169 * Read more link text (leave more link text)170 171 = TS Social Icons =172 Social Icons widget enables people to easily connect with you on social networks of your choosing and there's an abundance of them.173 174 * Twitter175 * Facebook176 * LinkedIn177 * Google+178 * Pinterest179 * YouTube180 * Vimeo181 * Flickr182 * Dribbble183 * Tumblr184 * Instagram185 * Last.fm186 * Reddit187 188 203 189 204 == Frequently Asked Questions == … … 200 215 == Changelog == 201 216 217 = 1.2 = 218 * Adds minified JS and CSS files. 219 202 220 = 1.1 = 203 221 * Added filtering by user role to List Authors widget. -
ts-widget-pack/trunk/ts-widget-pack-fields.php
r689843 r1156887 18 18 */ 19 19 function ts_widgets_show_widget_field( $instance = '', $widget_field = '', $thsp_field_value = '' ) { 20 21 20 extract( $widget_field ); 22 21 … … 113 112 114 113 } 115 116 114 } -
ts-widget-pack/trunk/ts-widget-pack.php
r689843 r1156887 6 6 * Author: ThematoSoup 7 7 * Author URI: http://thematosoup.com 8 * Version: 1. 18 * Version: 1.2 9 9 * License: GPLv2 or later 10 10 * 11 11 * @package TS Widget Pack 12 * @version 1. 112 * @version 1.2 13 13 * 14 14 * Plugin prefix: 'ts_widgets_' … … 17 17 18 18 // Define plugin version constant 19 define( 'TS_WIDGET_PACK_VERSION', '1. 1' );19 define( 'TS_WIDGET_PACK_VERSION', '1.2' ); 20 20 21 21 … … 26 26 * @since 0.1 27 27 */ 28 add_action( 'wp_enqueue_scripts', 'ts_widgets_add_scripts_styles' );29 28 function ts_widgets_add_scripts_styles() { 29 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 30 30 31 $css_url = plugins_url( 'css/ts-widget-pack.css', __FILE__ );31 $css_url = plugins_url( "css/ts-widget-pack$min.css", __FILE__ ); 32 32 wp_register_style( 'ts_widget-pack', $css_url, '', TS_WIDGET_PACK_VERSION ); 33 33 wp_enqueue_style( 'ts_widget-pack' ); … … 35 35 wp_enqueue_script( 'jquery' ); 36 36 37 $js_url = plugins_url( 'js/ts-widget-pack.js', __FILE__ );37 $js_url = plugins_url( "js/ts-widget-pack$min.js", __FILE__ ); 38 38 wp_register_script( 'ts_widget-pack', $js_url, array( 'jquery' ), TS_WIDGET_PACK_VERSION ); 39 39 wp_enqueue_script( 'ts_widget-pack' ); 40 41 40 } 42 43 44 45 /** 46 * Add action links in Plugins page 47 * 48 * @since 0.1 49 * @todo Add some links 50 */ 51 // add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'ts_widgets_plugin_action_links' ); 52 /* 53 function ts_widgets_plugin_action_links( $links ) { 54 55 return array_merge( 56 array(), 57 $links 58 ); 59 60 } 61 41 add_action( 'wp_enqueue_scripts', 'ts_widgets_add_scripts_styles' ); 62 42 63 43 … … 67 47 * @since 0.1 68 48 */ 69 add_filter( 'plugin_row_meta', 'ts_widgets_plugin_meta_links', 10, 2 );70 49 function ts_widgets_plugin_meta_links( $links, $file ) { 71 72 50 $plugin = plugin_basename(__FILE__); 73 51 … … 80 58 } 81 59 return $links; 82 83 60 } 84 61 add_filter( 'plugin_row_meta', 'ts_widgets_plugin_meta_links', 10, 2 ); 85 62 86 63 … … 91 68 */ 92 69 function ts_widgets_updated_field_value( $widget_field, $new_field_value ) { 93 94 70 extract( $widget_field ); 95 71 … … 111 87 return strip_tags( $new_field_value ); 112 88 } 113 114 89 } 115 116 90 117 91 … … 123 97 include( plugin_dir_path( __FILE__ ) . 'ts-widget-pack-fields.php' ); 124 98 125 126 127 99 /** 128 * RegisterCall to Action Widget100 * Call to Action Widget 129 101 * 130 102 * @since TS Widget Pack 0.1 -
ts-widget-pack/trunk/widgets/call-to-action.php
r689843 r1156887 213 213 } 214 214 215 } // class Foo_Widget215 } // class TS_Widgets_Call_To_Action -
ts-widget-pack/trunk/widgets/list-authors.php
r689843 r1156887 9 9 10 10 /** 11 * Adds TS_ List_Authors_Widgetwidget.11 * Adds TS_Widgets_List_Authors widget. 12 12 */ 13 13 add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_list_authors" );' ) ); … … 254 254 } 255 255 256 } // class Foo_Widget256 } // class TS_Widgets_List_Authors -
ts-widget-pack/trunk/widgets/oembed.php
r689843 r1156887 9 9 10 10 /** 11 * Adds TS_ Call_To_Action_Widgetwidget.11 * Adds TS_Widgets_oEmbed widget. 12 12 */ 13 13 add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_oembed" );' ) ); … … 164 164 } 165 165 166 } // class Foo_Widget166 } // class TS_Widgets_oEmbed -
ts-widget-pack/trunk/widgets/preview-post.php
r689843 r1156887 9 9 10 10 /** 11 * Adds TS_ List_Authors_Widget widget.11 * Adds TS_Widgets_Preview_Post widget. 12 12 */ 13 13 add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_preview_post" );' ) ); … … 170 170 } 171 171 172 } // class Foo_Widget172 } // class TS_Widgets_Preview_Post -
ts-widget-pack/trunk/widgets/social-icons.php
r689843 r1156887 209 209 } 210 210 211 } // class Foo_Widget211 } // class TS_Widgets_Social_Icons
Note: See TracChangeset
for help on using the changeset viewer.