-
▼
2011
(334)
-
▼
September
(29)
- How to Use Lightbox 2 for Wordpress
- How to Install WordPress on Media Temple GS
- How to Find API Endpoint in WordPress
- How to Make WordPress Look Like Facebook
- How to Move From WordPress to Your Own Domain
- How to Make a Widget for Every WordPress MU Blog C...
- How to Insert Pictures in WordPress Posts
- How to Use the eShop on WordPress
- How to Find Out Who Owns a WordPress Blog
- How to Include Different WordPress Footers
- How to Find Broken Links in WordPress to Remove
- How to Hide a WordPress Blog Under Development
- How to Embed Padding in WordPress
- How to Add Pages to WordPress
- How to Embed Docstoc Documents in WordPress
- How to Add PDFs Word Documents to WordPress
- How to Create a Favicon in WordPress
- How to Change the Order of the Menu for WordPress ...
- How to Edit WordPress to Default Install
- How to Manage PDF Files With WordPress
- How to Import WordPress Into a Joomla Website
- How to Use Fusion Charts in WordPress
- How to Add Twitter to a Wordpress Blog
- How to Unzip WordPress
- How to Make a WordPress Article Static
- How to Duplicate a Function in Wordpress
- How to Include Another PHP File in WordPress
- How to Export a Self
- How to Have a Subdomain on the WordPress Site at H...
-
▼
September
(29)
adsense
How to Change the Order of the Menu for WordPress Plugins
1. Log into the WordPress dashboard from your website's wp-admin directory. Navigate to 'Plugins' and click the 'Editor' link. Select the plugin you want to edit from the drop-down box.
2. Locate the 'add_menu_page()' function in the code of the plugin. If you do not find this code in the file that automatically loaded when you selected the plugin in the editor, look for it in any other files the plugin uses. The files are listed to the right of the editor.
3. Add the position setting as the last parameter in the 'add_menu_page()' function. This parameter takes integer numbers, such as '5' or '20.' The lower the number, the higher the menu page for your plugin to appear in the dashboard menu. By default, plugin options pages go to the bottom of the menu. Here is an example of an 'add_menu_page()' function with the position parameter added to the end of the parameter list:add_menu_page( 'The Plugin Options', 'My Plugin', 'edit_plugins', 'my-plugin-options', 'mypluginfunction', 20 );In this example, adding '20' to the end of the parameter list puts this plugin options page at the bottom of the menu.
4. Locate the 'add_submenu_page()' functions in your plugin if any sub-menus exist. You cannot give each its own position setting, but the first sub-menu created will appear first in the list. Reorder the functions to reorder the sub-menu pages.
2:22 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment