Changeset 1406540
- Timestamp:
- 04/28/2016 02:19:11 PM (10 years ago)
- Location:
- ytsubscribe/trunk
- Files:
-
- 4 added
- 2 edited
-
admin (added)
-
admin/assets (added)
-
admin/assets/icon.png (added)
-
admin/index.php (added)
-
index.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ytsubscribe/trunk/index.php
r1406486 r1406540 4 4 * Plugin URI: http://mycodingtricks.com 5 5 * Description: ytSubscribe is a Youtube Subscribe Button jQuery Plugin that automatically inserts Youtube Subscribe Button Below each Video in your WordPress Post. 6 * Version: 1.56 * Version: 2.0 7 7 * Author: Shubham Kumar 8 8 * Author URI: http://mycodingtricks.com … … 10 10 * Network: true 11 11 */ 12 12 include __DIR__.'/admin/index.php'; 13 13 $config = array( 14 "channel"=> "MyCodingTricks", //Your Youtube Channel Id15 "theme" => "grey",16 "count" => "default",17 "layout" => "default"14 "channel"=>get_option("ytSubscribe_channel","MyCodingTricks"), //Your Youtube Channel Id 15 "theme" =>get_option("ytSubscribe_theme","default"), 16 "count" =>get_option("ytSubscribe_count","default"), 17 "layout" => get_option("ytSubscribe_layout","default") 18 18 ); 19 19 … … 27 27 global $config; 28 28 $content .= "<script>(function($){ 29 $(' body').ytSubscribe({29 $('".get_option("ytSubscribe_dom","body")."').ytSubscribe({ 30 30 button: { 31 31 channel: '".$config['channel']."', -
ytsubscribe/trunk/readme.txt
r1406486 r1406540 5 5 Requires at least: 3.1 6 6 Tested up to: 4.5 7 Stable tag: 1.57 Stable tag: 2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 25 25 26 26 Yes. 27 28 == Changelog == 29 =2.0= 30 *Added Setting Page 31 = 1.5 = 32 * Fixed With Bug.
Note: See TracChangeset
for help on using the changeset viewer.