| @@ -1,31 +1,29 @@ | ||
| 1 | -<?php | |
| 2 | -/* | |
| 3 | -Plugin Name: wp-insert | |
| 4 | -Plugin URI: http://www.smartlogix.co.in/ | |
| 5 | -Description: Insert your ad code anywhere around your content. | |
| 6 | -Version: 1.1 | |
| 7 | -Author: Namith Jawahar | |
| 8 | -Author URI: http://www.smartlogix.co.in/ | |
| 9 | - | |
| 10 | -WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin | |
| 11 | -*/ | |
| 12 | - | |
| 13 | -add_action('admin_menu', 'smart_add_menu'); | |
| 14 | - | |
| 15 | -// action function for above hook | |
| 16 | -function smart_add_menu() { | |
| 17 | - add_menu_page('Wp-Insert', 'Wp-Insert', 8, __FILE__); | |
| 18 | - add_submenu_page(__FILE__, 'wp-insert', 'Manage Ads', 8, __FILE__, 'smart_add_adspage'); | |
| 19 | - add_submenu_page(__FILE__, 'wp-insert', 'Manage Feeds', 8, 'Manage Feeds', 'smart_add_feedspage'); | |
| 20 | - add_submenu_page(__FILE__, 'wp-insert', 'Tracking Codes', 8, 'Tracking Codes', 'smart_add_analytics'); | |
| 21 | - add_submenu_page(__FILE__, 'wp-insert', 'WYSIWYG Editor', 8, 'WYSIWYG Editor', 'smart_add_wysiwyg_pages'); | |
| 22 | - //add_submenu_page(__FILE__, 'wp-insert', 'Social Bookmarking', 8, 'Social Bookmarking', 'smart_add_socialpages'); | |
| 23 | - //add_submenu_page(__FILE__, 'wp-insert', 'SEO Optimization', 8, 'SEO', 'smart_add_SEOpages'); | |
| 24 | -} | |
| 25 | - | |
| 26 | -require_once (dirname(__FILE__) . '/support/support.php'); | |
| 27 | -require_once (dirname(__FILE__) . '/ads/insert-ads.php'); | |
| 28 | -require_once (dirname(__FILE__) . '/feeds/insert-feeds.php'); | |
| 1 | +<?php | |
| 2 | +/* | |
| 3 | +Plugin Name: wp-insert | |
| 4 | +Plugin URI: http://www.smartlogix.co.in/ | |
| 5 | +Description: Manage Ads,Feeds,Tracking etc | |
| 6 | +Version: 1.0 | |
| 7 | +Author: Namith Jawahar | |
| 8 | +Author URI: http://www.smartlogix.co.in/ | |
| 9 | + | |
| 10 | +Use wp-insert to insert every kind of code you will ever need to insert into your blog. | |
| 11 | +*/ | |
| 12 | + | |
| 13 | +add_action('admin_menu', 'smart_add_menu'); | |
| 14 | + | |
| 15 | +// action function for above hook | |
| 16 | +function smart_add_menu() { | |
| 17 | + add_menu_page('Wp-Insert', 'Wp-Insert', 8, __FILE__); | |
| 18 | + add_submenu_page(__FILE__, 'wp-insert', 'Manage Ads', 8, __FILE__, 'smart_add_adspage'); | |
| 19 | + add_submenu_page(__FILE__, 'wp-insert', 'Manage Feeds', 8, 'Manage Feeds', 'smart_add_feedspage'); | |
| 20 | + add_submenu_page(__FILE__, 'wp-insert', 'Tracking Codes', 8, 'Tracking Codes', 'smart_add_analytics'); | |
| 21 | + //add_submenu_page(__FILE__, 'wp-insert', 'SEO Optimization', 8, 'SEO', 'smart_add_SEOpages'); | |
| 22 | + //add_submenu_page(__FILE__, 'wp-insert', 'Social Bookmarking', 8, 'Social Bookmarking', 'smart_add_socialpages'); | |
| 23 | +} | |
| 24 | + | |
| 25 | +require_once (dirname(__FILE__) . '/support/support.php'); | |
| 26 | +require_once (dirname(__FILE__) . '/ads/insert-ads.php'); | |
| 27 | +require_once (dirname(__FILE__) . '/feeds/insert-feeds.php'); | |
| 29 | 28 | require_once (dirname(__FILE__) . '/tracking/insert-analytics.php'); |
| 30 | -require_once (dirname(__FILE__) . '/wysiwyg/insert-wysiwyg.php'); | |
| 31 | 29 | ?> |