Changeset 1483913
- Timestamp:
- 08/26/2016 10:08:05 AM (10 years ago)
- Location:
- button-maker/trunk
- Files:
-
- 2 edited
-
buttons.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
button-maker/trunk/buttons.php
r1092320 r1483913 6 6 Author: Pluginhandy 7 7 Author URI: http://pluginhandy.com/ 8 Version: 1. 38 Version: 1.4 9 9 Text Domain: 10 10 License: GPL version 2 or later - … … 17 17 define('PROF_DIR_NAME', basename(PROF_FILE_PATH)); 18 18 define('ABSPATH', getcwd()); 19 20 wp_enqueue_style('my_css_dsslider', '/wp-content/plugins/' . PROF_FOLDER . '/style.css');21 wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js');22 wp_enqueue_script( 'jscolor', '/wp-content/plugins/' . PROF_FOLDER . '/jscolor/jscolor.js');23 19 24 20 global $wpdb; … … 125 121 126 122 function load_plugin() { 123 wp_enqueue_style('my_css_dsslider', '/wp-content/plugins/' . PROF_FOLDER . '/style.css'); 124 wp_register_script( 'jquery'); 125 wp_enqueue_script( 'jscolor', '/wp-content/plugins/' . PROF_FOLDER . '/jscolor/jscolor.js'); 127 126 if ( is_admin() && get_option( 'Activated_Plugin' ) == 'Plugin-Slug' ) { 128 127 delete_option( 'Activated_Plugin' ); … … 145 144 } 146 145 function Form_admin_actions() { 147 add_menu_page("My Buttons", "My Buttons", 1,__FILE__ , "Form_admin_menu");148 add_submenu_page(__FILE__,'Form','Add New Button',' 8','form','Form_show_admin_menu');146 add_menu_page("My Buttons", "My Buttons", 'manage_options',__FILE__ , "Form_admin_menu"); 147 add_submenu_page(__FILE__,'Form','Add New Button','manage_options','form','Form_show_admin_menu'); 149 148 //add_submenu_page(__FILE__,'Form','Select Post','8','posttype','Form_select_post'); 150 149 } -
button-maker/trunk/readme.txt
r1092320 r1483913 4 4 Tags: : button, button generator, buttons, call to action, create button, create buttons in wordpress, wordpress button maker, button maker, create button in wordpress, wordpress button, plugin, short code, short codes, wordpress button generator, wordpress button maker, wordpress button plugin, wp button plugin, wp button maker, wp button maker 5 5 Requires at least: 3.2 6 Tested up to: 4. 17 Stable tag:1. 36 Tested up to: 4.6 7 Stable tag:1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 136 136 == Changelog == 137 137 138 = 1.4 = 139 * Updated for WP 4.6 140 138 141 = 1.3 = 139 142 * Buttons now open links in a new tab or window
Note: See TracChangeset
for help on using the changeset viewer.