| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
|
| 5 |
Plugin Name: wp-insert |
| 6 |
|
| 7 |
Plugin URI: http://www.smartlogix.co.in/ |
| 8 |
|
| 9 |
Description: Insert your ad code anywhere around your content. |
| 10 |
|
| 11 |
Version: 1.1 |
| 12 |
|
| 13 |
Author: Namith Jawahar |
| 14 |
|
| 15 |
Author URI: http://www.smartlogix.co.in/ |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin |
| 20 |
|
| 21 |
*/ |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
add_action('admin_menu', 'smart_add_menu'); |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
// action function for above hook |
| 30 |
|
| 31 |
function smart_add_menu() { |
| 32 |
|
| 33 |
add_menu_page('Wp-Insert', 'Wp-Insert', 8, __FILE__); |
| 34 |
|
| 35 |
add_submenu_page(__FILE__, 'wp-insert', 'Manage Ads', 8, __FILE__, 'smart_add_adspage'); |
| 36 |
|
| 37 |
add_submenu_page(__FILE__, 'wp-insert', 'Manage Feeds', 8, 'Manage Feeds', 'smart_add_feedspage'); |
| 38 |
|
| 39 |
add_submenu_page(__FILE__, 'wp-insert', 'Tracking Codes', 8, 'Tracking Codes', 'smart_add_analytics'); |
| 40 |
|
| 41 |
add_submenu_page(__FILE__, 'wp-insert', 'WYSIWYG Editor', 8, 'WYSIWYG Editor', 'smart_add_wysiwyg_pages'); |
| 42 |
|
| 43 |
//add_submenu_page(__FILE__, 'wp-insert', 'Social Bookmarking', 8, 'Social Bookmarking', 'smart_add_socialpages'); |
| 44 |
|
| 45 |
//add_submenu_page(__FILE__, 'wp-insert', 'SEO Optimization', 8, 'SEO', 'smart_add_SEOpages'); |
| 46 |
|
| 47 |
} |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
require_once (dirname(__FILE__) . '/support/support.php'); |
| 52 |
|
| 53 |
require_once (dirname(__FILE__) . '/ads/insert-ads.php'); |
| 54 |
|
| 55 |
require_once (dirname(__FILE__) . '/feeds/insert-feeds.php'); |
| 56 |
|
| 57 |
require_once (dirname(__FILE__) . '/tracking/insert-analytics.php'); |
| 58 |
require_once (dirname(__FILE__) . '/wysiwyg/insert-wysiwyg.php'); |
| 59 |
|
| 60 |
?> |