Plugin Directory

Changeset 1406540


Ignore:
Timestamp:
04/28/2016 02:19:11 PM (10 years ago)
Author:
mycodingtricks
Message:

Added Admin Panel

Location:
ytsubscribe/trunk
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • ytsubscribe/trunk/index.php

    r1406486 r1406540  
    44 * Plugin URI: http://mycodingtricks.com
    55 * 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.5
     6 * Version: 2.0
    77 * Author: Shubham Kumar
    88 * Author URI: http://mycodingtricks.com
     
    1010 * Network: true
    1111*/
    12 
     12include __DIR__.'/admin/index.php';
    1313$config = array(
    14     "channel"=>"MyCodingTricks", //Your Youtube Channel Id
    15     "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")
    1818);
    1919
     
    2727    global $config;
    2828    $content .= "<script>(function($){
    29             $('body').ytSubscribe({
     29            $('".get_option("ytSubscribe_dom","body")."').ytSubscribe({
    3030                button: {
    3131                  channel: '".$config['channel']."',
  • ytsubscribe/trunk/readme.txt

    r1406486 r1406540  
    55Requires at least: 3.1
    66Tested up to: 4.5
    7 Stable tag: 1.5
     7Stable tag: 2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2525
    2626Yes.
     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.