Plugin Directory

Changeset 1156887


Ignore:
Timestamp:
05/09/2015 02:27:26 PM (11 years ago)
Author:
slobodanmanic
Message:

Version 1.2

Location:
ts-widget-pack
Files:
25 added
8 edited

Legend:

Unmodified
Added
Removed
  • ts-widget-pack/trunk/readme.txt

    r689833 r1156887  
    1 === Widget Pack by ThematoSoup ===
     1=== Widget Pack ===
    22Contributors: slobodanmanic, nikolicdragan
    33Tags: call-to-action widget, list authors, oembed, page tree, preview post widget, social icons widget
    4 Requires at least: 3.1
    5 Tested up to: 3.5.1
    6 Stable tag: 1.1
     4Requires at least: 4.0
     5Tested up to: 4.2.2
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1717
    1818We 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 =
     21Call 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 =
     32This 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 =
     43TS 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
     45Supported 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
     81The 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 =
     91Preview 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 =
     100Social 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 ==
     1171. Download the plugin from this page and extract it
     1182. Copy the fancier-author-box folder to the "/wp-content/plugins/" directory
     1193. Activate the plugin through the "Plugins" menu in WordPress dashboard
     120
     121== Features ==
    19122
    20123= TS Call to Action Widget =
     
    63166
    64167= TS Page Tree Widget =
    65 
    66168The widget shows your current position in page hierarchy. Options you have for TS Page Tree widget are:
    67169
     
    99201* Reddit
    100202
    101 == Installation ==
    102 1. Download the plugin from this page and extract it
    103 2. Copy the fancier-author-box folder to the "/wp-content/plugins/" directory
    104 3. Activate the plugin through the "Plugins" menu in WordPress dashboard
    105 
    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 * Title
    112 * Call to action text
    113 * Button link
    114 * Button text
    115 * Button second line text
    116 * Button position (right, left, below, no-button
    117 * 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 * Title
    123 * Number of authors to display
    124 * Show/hide author Gravatars
    125 * Gravatar Size (32px, 48px, 64px)
    126 * Sort by (number of posts, alphabetically)
    127 * Sorting (ascending, descending)
    128 * Show latest posts for each author
    129 
    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 * Vimeo
    137 * Flickr (both videos and images)
    138 * Hulu
    139 * Twitter (WordPress 3.4+)
    140 * DailyMotion
    141 * blip.tv
    142 * Viddler
    143 * Qik
    144 * Revision3
    145 * Scribd
    146 * Photobucket
    147 * PollDaddy
    148 * 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 * Title
    156 * Page tree top level page (current, top)
    157 
    158 "Current" shows only child pages and all pages bellow the one you're currently viewing
    159 
    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 ID
    166 * Show post title
    167 * Show post thumbnail
    168 * Show Excerpt
    169 * 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 * Twitter
    175 * Facebook
    176 * LinkedIn
    177 * Google+
    178 * Pinterest
    179 * YouTube
    180 * Vimeo
    181 * Flickr
    182 * Dribbble
    183 * Tumblr
    184 * Instagram
    185 * Last.fm
    186 * Reddit
    187 
    188203
    189204== Frequently Asked Questions ==
     
    200215== Changelog ==
    201216
     217= 1.2 =
     218* Adds minified JS and CSS files.
     219
    202220= 1.1 =
    203221* Added filtering by user role to List Authors widget.
  • ts-widget-pack/trunk/ts-widget-pack-fields.php

    r689843 r1156887  
    1818 */
    1919function ts_widgets_show_widget_field( $instance = '', $widget_field = '', $thsp_field_value = '' ) {
    20    
    2120    extract( $widget_field );
    2221   
     
    113112       
    114113    }
    115    
    116114}
  • ts-widget-pack/trunk/ts-widget-pack.php

    r689843 r1156887  
    66 * Author: ThematoSoup
    77 * Author URI: http://thematosoup.com
    8  * Version: 1.1
     8 * Version: 1.2
    99 * License: GPLv2 or later
    1010 *
    1111 * @package TS Widget Pack
    12  * @version 1.1
     12 * @version 1.2
    1313 *
    1414 * Plugin prefix: 'ts_widgets_'
     
    1717
    1818// Define plugin version constant
    19 define( 'TS_WIDGET_PACK_VERSION', '1.1' );
     19define( 'TS_WIDGET_PACK_VERSION', '1.2' );
    2020
    2121
     
    2626 * @since 0.1
    2727 */
    28 add_action( 'wp_enqueue_scripts', 'ts_widgets_add_scripts_styles' );
    2928function ts_widgets_add_scripts_styles() {
     29    $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    3030
    31     $css_url = plugins_url( 'css/ts-widget-pack.css', __FILE__ );
     31    $css_url = plugins_url( "css/ts-widget-pack$min.css", __FILE__ );
    3232    wp_register_style( 'ts_widget-pack', $css_url, '', TS_WIDGET_PACK_VERSION );
    3333    wp_enqueue_style( 'ts_widget-pack' );
     
    3535    wp_enqueue_script( 'jquery' );
    3636   
    37     $js_url = plugins_url( 'js/ts-widget-pack.js', __FILE__ );
     37    $js_url = plugins_url( "js/ts-widget-pack$min.js", __FILE__ );
    3838    wp_register_script( 'ts_widget-pack', $js_url, array( 'jquery' ), TS_WIDGET_PACK_VERSION );
    3939    wp_enqueue_script( 'ts_widget-pack' );
    40    
    4140}
    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 
     41add_action( 'wp_enqueue_scripts', 'ts_widgets_add_scripts_styles' );
    6242
    6343
     
    6747 * @since 0.1
    6848 */
    69 add_filter( 'plugin_row_meta', 'ts_widgets_plugin_meta_links', 10, 2 );
    7049function ts_widgets_plugin_meta_links( $links, $file ) {
    71 
    7250    $plugin = plugin_basename(__FILE__);
    7351   
     
    8058    }
    8159    return $links;
    82 
    8360}
    84 
     61add_filter( 'plugin_row_meta', 'ts_widgets_plugin_meta_links', 10, 2 );
    8562
    8663
     
    9168 */
    9269function ts_widgets_updated_field_value( $widget_field, $new_field_value ) {
    93 
    9470    extract( $widget_field );
    9571   
     
    11187        return strip_tags( $new_field_value );
    11288    }
    113 
    11489}
    115 
    11690
    11791
     
    12397include( plugin_dir_path( __FILE__ ) . 'ts-widget-pack-fields.php' );
    12498
    125 
    126 
    12799/**
    128  * Register Call to Action Widget
     100 * Call to Action Widget
    129101 *
    130102 * @since   TS Widget Pack 0.1
  • ts-widget-pack/trunk/widgets/call-to-action.php

    r689843 r1156887  
    213213    }
    214214
    215 } // class Foo_Widget
     215} // class TS_Widgets_Call_To_Action
  • ts-widget-pack/trunk/widgets/list-authors.php

    r689843 r1156887  
    99
    1010/**
    11  * Adds TS_List_Authors_Widget widget.
     11 * Adds TS_Widgets_List_Authors widget.
    1212 */
    1313add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_list_authors" );' ) );
     
    254254    }
    255255
    256 } // class Foo_Widget
     256} // class TS_Widgets_List_Authors
  • ts-widget-pack/trunk/widgets/oembed.php

    r689843 r1156887  
    99
    1010/**
    11  * Adds TS_Call_To_Action_Widget widget.
     11 * Adds TS_Widgets_oEmbed widget.
    1212 */
    1313add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_oembed" );' ) );
     
    164164    }
    165165
    166 } // class Foo_Widget
     166} // class TS_Widgets_oEmbed
  • ts-widget-pack/trunk/widgets/preview-post.php

    r689843 r1156887  
    99
    1010/**
    11  * Adds TS_List_Authors_Widget widget.
     11 * Adds TS_Widgets_Preview_Post widget.
    1212 */
    1313add_action( 'widgets_init', create_function( '', 'register_widget( "ts_widgets_preview_post" );' ) );
     
    170170    }
    171171
    172 } // class Foo_Widget
     172} // class TS_Widgets_Preview_Post
  • ts-widget-pack/trunk/widgets/social-icons.php

    r689843 r1156887  
    209209    }
    210210
    211 } // class Foo_Widget
     211} // class TS_Widgets_Social_Icons
Note: See TracChangeset for help on using the changeset viewer.