Usually, plugin and theme authors need to provide access to a settings (options) screen so users can customize how the plugin or theme is used. The best way to present the user with such a screen is to create an administration menu item that allows the user to access that settings screen from all ...

learn more… | top users | synonyms

1
vote
1answer
138 views

Master menu item for multiple plugins?

I guess this question is more or less about aesthetics and organization rather than functionality, but I'm curious nonetheless... I know I can add a custom menu item in the dashboard for my plugin ...
1
vote
1answer
89 views

Change name & menu_name for Profile in the default menu, w/o altering core files?

I want to change the name and menu_name of the profile menu in the default menu without altering the core files.
1
vote
3answers
2k views

Make sub menu items a main link in the admin menu using fuctions.php

I am trying to customize the admin area using the functions.php file to make things easier for my clients. One request I have got before and hope to be able to accomplish, is to move some of the sub ...
1
vote
0answers
170 views

Admin Menu - Highlight top-level menu when on a sub-menu page (without showing sub-menu)

This is the current situation: I am writing a plugin that has a top-level menu page The plugin also contains other sub-menu pages The sub-menu pages are not assigned a parent slug (thus they do not ...
1
vote
0answers
54 views

What action/filter/function determines “current” class in WP Admin Menu

I have created a submenu page for the Media List Table. The link actually points to a custom view I have created called Resources. I am looking for the correct location where the Admin menu determines ...
1
vote
1answer
154 views

2 Different Custom Post Types in Submenu

i have register 2 custom post types within my plugin one of them is shown in the left admin bar, the second i wouldn't show so i have set the "show_ui" to false. Is it possible to add the second post ...
1
vote
2answers
109 views

Admin pages have no content

Not the usual white screen of whatever horror, my site is shown normally until you go to the admin dashboard. While the dashboard (or the admin menu if you will) is visible and responds accordingly, ...
1
vote
1answer
98 views

page not updating with database

I have code which updates the database fine, but the page doesn't update correctly! I have to refresh the page a second time for it to update correctly. Here is the code below ...
1
vote
2answers
127 views

Why am I timing out when using the Menu Editor?

I'm using a more or less fresh local install of WP 3.3.1. A few days ago I set up a couple menus (Appearance > Menus) without a hitch. Today I tried creating a new menu and add a page to it, but the ...
0
votes
2answers
378 views

Efficiency of wp_options vs a new table

I'm building a WordPress theme framework, that will likely have many options as development progresses. I found a related question: When is it appropriate to create a new table in the WordPress ...
0
votes
2answers
205 views

Remove Menu Page Giving Error

I have a snippet of code I've written in the functions.php file which is simply to remove menu pages if the user cannot activate plugins. It works as intended; however it is showing a PHP error in ...
0
votes
2answers
63 views

Reference external file as a function

In my functions.php I have the following code: add_action( 'admin_menu', 'jp_create_admin_pages' ); function jp_create_admin_pages() { add_menu_page( 'Members', 'Members', ...
0
votes
3answers
206 views

How to remove the Plugins Editor from the admin menu

I have the code to remove the editor from the Appearance menu. But I can't find anyway to remove the editor from the Plugins. // Remove Editor from Apperance Menu function remove_editor_menu() { ...
0
votes
1answer
493 views

Two Navigation Menus in Themes Produce the same menus?

Alright so I've got two navigation menus that I've registered with my theme: <?php if ( function_exists('register_sidebar') ) register_sidebar(); add_theme_support( 'menus' ); if ( ...
0
votes
2answers
89 views

Removing Dashboard Menu Items Through The Database

I'm dealing with a previous developer that's being difficult. He's removed the Plugin & Settings menus through the database (I'm assuming) as I can't find it anywhere in the functions.php file and ...
0
votes
1answer
1k views

Is It Possible To Add Custom Post Type Menu As Another Custom Post Type Sub Menu

I currently developing a wordpress plugin that is using two custom post types. What I want to know here: is it possible to add a custom post type menu as another custom post type's sub menu?
0
votes
3answers
548 views

Change top level menu item to point to custom submenu item

I'm using a plugin called CMS Page Order http://wordpress.org/extend/plugins/cms-page-order/ (Now referred to as CPO) It's pretty simple, the said plugin adds a new item to the submenu of every ...
0
votes
2answers
1k views

How do I remove the entire Media section from the main WordPress navigation without just hiding it?

I would like to remove the entire "Media" section from the main WordPress admin navigation ont he left hand side. What I don't want to do is just "hide" it with CSS or a plugin/function like I have ...
0
votes
1answer
43 views

get_posts ignoring 'category' and displaying all posts

I'm going a bit crazy on this one. I'm trying to display a list of posts in a category on an Admin page in a plugin I am writing. The following code works fine on my dev server (OS X/Apache): $args = ...
0
votes
1answer
101 views

Creating a WordPress admin page without a menu for a plugin

I am writing a plugin, that will list a number of entries from a custom set of tables. I added the main page for the plugin using the following WordPress functions: // Add menu and pages to ...
0
votes
1answer
29 views

Additional menu item popping in submenus

I just want to make/add a Menu (Ads) that contains two submenus (View, Manage). My code is written below. The problem is that I don't know why it's popping another submenu in the main menu. function ...
0
votes
1answer
105 views

Edit specific nodes in WP_Admin_Bar

Is it easily possible to edit links in the WP_Admin_Bar global $wp_admin_bar instance?
0
votes
1answer
75 views

Silently register plugin pages

I am developing one of my first plugins, and have come across a error: You do not have sufficient permissions to access this page The plugin has a wizard that uses several forms, obviously I ...
0
votes
1answer
419 views

Add an admin page, but don't show it on the admin menu

I have a custom plugin 'Charts' that has it's own menu. In that menu are links to the 3 pages for the plugin - 'Charts', 'Add Chart' and 'Edit Chart'. However, I don't want to display the link to ...
0
votes
1answer
38 views

I am trying to make a page in the admin section similar to the appearance of the Profile page for users

I am working on a plugin and would like to know the correct way I go about creating a page that will look like the users page (image attached at the buttom) The fields will be different and will add ...
0
votes
1answer
81 views

How to remove and disable access to General Settings Page including its link

How to remove and disable access to General Settings Page including its link on the Settings Tab and add a new link as General Settings?
0
votes
2answers
64 views

creating a plug in that would tap into save/update action of posts

What's a good plug-in that taps into the update post or save post action that allows admins to enforce rules such as if a user selects a category with the ID 5 then he also has to select at least one ...
0
votes
1answer
116 views

toolbar not visible on pages using front-page template

My profile is set to show the WP toolbar when viewing the site, but on a page using the front-page.php template the toolbar space is reserved but its contents are not visible. What could be the reason ...
0
votes
2answers
49 views

how do I get rid of the links and all the links related menu items on the admin ui?

Since I won't be using the built-in links feature of wordpress, I see no reason in keeping its related menu items on the admin ui causing nothing but clutter. How do I do that?
0
votes
1answer
994 views

Admin top level menu, pointing to an external url

I want to create a entirely new top level menu in the admin menu section, and have that be an external link, is this even possible with the current system? The solution that t31os provides in this ...
0
votes
1answer
90 views

Display Plugin Panels Outside of Admin Areas

I'm trying to find a way to display the work area content of different plugins on pages/posts/areas aside from the admin backend. For example, how would I display the options panel for a certain ...
0
votes
1answer
675 views

Ordering Submenu Pages in WP 3.1

I just recently upgraded to WordPress 3.1 a few moments ago. However, I noticed that when you have Post Types show up under a *main* menu page, it overrides the link fo th menu link. Here's my ...
0
votes
1answer
23 views

Create Logout Link Wordpress Admin Menu

I'm looking at creating a Logout link in the Wordpress admin menu that when clicked the user is logged out immediately. I don't want the Logout link to be a submenu of an existing menu, I just want ...
0
votes
1answer
35 views

Use options to control jQuery plugin

This may be a dumb question, but I've been teaching myself Wordpress and I've been struggling with this for a while. What I want to do is use a Wordpress control panel page to control a countdown ...
0
votes
1answer
58 views

Admin Panel - Custom Menu Sub-Item LINK

I'm trying to add a custom link under my Post Type in my admin menu, which will link to Pending Posts. This code functions, but it instead makes a page (like I suppose the function should), but I just ...
0
votes
1answer
65 views

How to hide Admin Tabs? [duplicate]

I'm trying to hide tabs of admin panel like Posts, Pages, etc... I tried Admin Menu Editor without success.
0
votes
1answer
25 views

How to put custom admin setting field into a shortcode

I set up an admin settings menu and I'd like to output the fields as a short code. The way I learned to output the fields from a tutorial was with: <?php $input_examples = ...
0
votes
1answer
375 views

wp_redirect not working on admin menu page

Im trying to create a admin menu link on the backend dashboard, that will take users to the front end of their site. Im trying to use this code, but for some reason the redirect is not working. // ...
0
votes
2answers
385 views

How to create sub menu with a URL parameter?

I would like to add parameter for the submenus, but when I click to the admin page I receive the following message: You do not have sufficient permissions to access this page. Code: ...
0
votes
1answer
124 views

Removing Wordpress Plugin Menu Item for a specific user

I want to remove certain dashboard menu times for a specific user. Now this menu consist of plugin menu items as well. One particular plugin I want to hide from the user is Contact Form 7. Here is ...
0
votes
1answer
769 views

Remove Categories / Tags From Admin Menu

I want to remove / hide Categories / Tags submenu under Posts in the Admin Menu. I know this works with themes submenus: remove_submenu_page('themes.php', 'widgets.php'); but the same doesn't seem ...
0
votes
1answer
69 views

How do you add a settings page to another menu?

I created a settings page that's being displayed in the options menu like this: add_options_page( 'ATB Event Options', 'ATB Event Options', 'manage_options', 'atb-event-options', ...
0
votes
1answer
391 views

How to re-enable the links manager?

There is no links manager in the admin_menu of Wordpress 3.5.1 anymore. I'm creating a custom add_links_page, and I'm having a hard time with the making a plugin. Do I need to initialize something to ...
0
votes
1answer
243 views

Reorder plugin items in the admin menu

Is it possible to reorder plugin menu items and custom admin items in the Admin menu without modifying the position in the plugin itself? I've tried using the method described here "Changing the Menu ...
0
votes
1answer
44 views

Delete option doesn't appear for plugins

On the Plugins screen I have options to activate and deactivate plugins, but I no longer have the "Delete" option. I'm relatively sure the option appeared earlier. Also, when I hover over "Plugins" ...
0
votes
1answer
137 views

Conflict between Capabilities and Menu Visibility with Custom Post Types

I hope this isn't just the result of typo on my end, but if it is, I'm not seeing it. I'm adding a custom post type to my site. Actually I'm adding three. Two of them I'm trying to set custom ...
0
votes
1answer
179 views

How to add custom post type under option page

Anybody please help me to figure out how to add custom post type in Settings menu (option_page). Basically it is easy for custom admin menu by using: 'show_in_menu' => 'menu-slug' but i like to ...
0
votes
1answer
301 views

What's causing this error? “Warning: Invalid argument”

I noticed today that my error logs are littered with this information. I'm not quite sure what's causing it. Has anyone seen this before? [Mon Mar 25 17:24:23 2013] [error] [client] PHP Warning: ...
0
votes
1answer
188 views

Restrict certain actions to plugin-specific admin menu pages only

I'm working on a plugin and want to restrict some things to my plugin-specific admin menu pages only. Therefore, I write the slugs being returned when adding (sub)menu pages into an array so I can ...
0
votes
1answer
159 views

remove_menu_page breaks “Add media”

Using the the remove_menu_page function results in a really strange bug. By adding the code below in the functions.php file the integrated "Add media" widget starts to bug. function ...