PluginProbe
Wp-Insert / 1.0
Wp-Insert v1.0
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
← All changes | wp-insert.php +17 -21 1.7.61.0 View file →
@@ -1,33 +1,29 @@
1 1 <?php
2 2 /*
3 3 Plugin Name: wp-insert
4 -Plugin URI: http://www.wp-insert.smartlogix.co.in/
5 -Description: The ultimate wordpress plugin
6 -Version: 1.7.6
4 +Plugin URI: http://www.smartlogix.co.in/
5 +Description: Manage Ads,Feeds,Tracking etc
6 +Version: 1.0
7 7 Author: Namith Jawahar
8 8 Author URI: http://www.smartlogix.co.in/
9 -WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin
9 +
10 +Use wp-insert to insert every kind of code you will ever need to insert into your blog.
10 11 */
11 12
12 -/* Copyright 2009 NAMITH JAWAHAR (website : http://www.smartlogix.co.in)
13 +add_action('admin_menu', 'smart_add_menu');
13 14
14 - This program is free software; you can redistribute it and/or modify
15 - it under the terms of the GNU General Public License as published by
16 - the Free Software Foundation; either version 2 of the License, or
17 - (at your option) any later version.
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 +}
18 24
19 - This program is distributed in the hope that it will be useful,
20 - but WITHOUT ANY WARRANTY; without even the implied warranty of
21 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 - GNU General Public License for more details.
23 -
24 - You should have received a copy of the GNU General Public License
25 - along with this program; if not, write to the Free Software
26 - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 -*/
28 -require_once (dirname(__FILE__) . '/includes/essentials.php');
29 -
30 25 require_once (dirname(__FILE__) . '/support/support.php');
26 +require_once (dirname(__FILE__) . '/ads/insert-ads.php');
31 27 require_once (dirname(__FILE__) . '/feeds/insert-feeds.php');
32 28 require_once (dirname(__FILE__) . '/tracking/insert-analytics.php');
33 -?>
29 +?>