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

0
votes
1answer
89 views

How Do I create multiple Top Level Admin Menu Pages To submit data to the options table?

I am trying to create more than one top level options page in my wordpress theme. But right now I can only save the data for one. How can I save the data for two without having to create tabbed ...
0
votes
0answers
30 views

Plugin menu replaced by another plugin?

Sorry if my title is not clear as i'm not sure what i'm asking. Haven't seen this issue in my searches on the stack-exchange sites. Note I am not the author of either plugin. So the issue I am having ...
0
votes
1answer
35 views

How can I modify text in admin bar?

I am looking to change 'register' to 'join' in the wp admin bar for logged out users. How can this be achieved?
0
votes
1answer
45 views

Add internal page to admin menu

i want to put an internal wordpress page (for example Contact page) to the admin panel, in order to dont have to go though Pages->All Pages, is it possible? with the above code it seems that it can ...
0
votes
1answer
39 views

Custom admin menu for a selection of pages

I have a site with 30-35 pages. The customer only needs to edit 3 of them on a regular basis. So to make it simpler and easier for them in the backend, I would like to create a new admin menu item and ...
0
votes
1answer
215 views

How to remove/hide elements from the admin menu?

I would like to hide Pages and Comments from the editor. I tried to override them with my custom types' menu_position but it doesn't work in WordPress 3.7.1 any more. I found another way: removing ...
0
votes
0answers
120 views

Show custom taxonomies in admin panel under custom post type

I have added a custom post type called "product" to my theme. I have also created a custom taxonomy for this post type called "product_category". In the admin panel, the custom taxonomy shows up ...
0
votes
2answers
36 views

How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?

I do not have access to "wp-includes/admin-bar.php" due to security restrictions placed by my host, they have advised me to use css stylesheets which I am not familiar with. I am looking to add a ...
0
votes
1answer
139 views

Wrong current class on admin menu with add_submenu_page()

I'm writing a plugin that displays a post/page list in the admin menu, as a submenu for each post type. Here's the code I've got far: http://pastebin.com/DmUGfzxN The lists are showing and linking ...
0
votes
1answer
29 views

Add a link to the Admin menu

I would like to add 2 lines to the POSTS menu in the wordpress admin: Published and Scheduled. I would also like to add a section to the media menu for Unattached media. How would I go about doing ...
0
votes
0answers
12 views

Notification when new post is submitted [duplicate]

I have a multi-author website of which I am the administrator. I was wondering whether it is possible to have a notification in the admin bar when an author submits a new post? Can be a plugin if ...
0
votes
0answers
58 views

Non WP Rewrite Rule to Admin Screen using plugin

I am creating a plugin that uses the administration screen extensively (adapting a rather complex, MVC program to WordPress for Creative Collaboration). I want do use simple URLs so that when a user ...
0
votes
1answer
67 views

Adding search box for admin on custom admin page

I have fetched some rows on my custom admin page (using hook for adding admin menus). Now I want to add a search box on that page to display only those rows with the 'title' column containing searched ...
0
votes
0answers
55 views

Adding iframe breaking admin bar

I need to add an iframe in my site footer for an opt-in form provided by a CRM. However when I add the iframe the admin bar disappears. <iframe src="..." scrolling="no" frameborder="0" ...
0
votes
1answer
61 views

Remove submenu item from list

I have the following script within my functions.php file to avoid certain users from modifying things they shouldn't and would like to remove one more item, the Appearances > Themes submenu. function ...
0
votes
0answers
42 views

WordPress Menu Targeting

Okay so I'm building out a plugin that generates a list from the $menu and possibly $submenu. I want to loop through that array and generate that list by the menu_slug, but I cannot seem to figure out ...
0
votes
1answer
226 views

Plugin admin list pages as submenu

I am creating a plugin for a custom admin menu based in the admin area. My wordpress template is consisted of 5 pages with different templates and some custom variables that the end user would be ...
0
votes
0answers
93 views

Creating an custom admin page for editing widgets

There is always danger in thinking your almost there... The end Goal: A custom page in the admin menus where i can edit a widget I constructed. Where I am now: I have registered a custom menu I ...
0
votes
1answer
59 views

Settings API - Checkboxes validation in a menu with multiple subpages

I'm building a theme using the settings API. I have a top level menu with multiple subpages and everything is working fine, except checkboxes. I am saving the options to a single options array. This ...
0
votes
0answers
22 views

Dynamically updated css on load

I am creating a theme and now I want to create admin menu, where you can change the look of your page. I want to add an option to change css properties of some objects on the page. When user fills ...
0
votes
1answer
70 views

Change Admin menu placement using hooks

I have been working in a wordpress multisite installation. Where I am using upPrev plugin that has an option page under Appearance ->> upPrev Now what I need is to move this menu under Settings ->> ...
0
votes
1answer
54 views

Is possible to create a custom link that creates a post that's already categorized?

I know this is not really a coding question but here goes. So is it possible to add a link to the WordPress Admin Sidebar that links to a New Post page that is automatically categorized as a category ...
0
votes
2answers
90 views

How to include the admin bar?

I'm working on a plugin which needs a custom Preview page. In this page i call the neccessary wp functions(wp-load.php & wp-admin/includes/admin.php). The problem is, that the admin bar is not ...
0
votes
0answers
262 views

Call to undefined function add_menu_page() on theme activation

I am attempting to activate a theme that works perfectly on one WordPress install. I have matched the plugins installed up and copied the theme over but when I go to activate it I get... Fatal ...
0
votes
1answer
63 views

Function Reference for custom link in Admin Menu Management Page

What is the function reference for the text within the URL field in the Admin Menu page? I have a PHP function that is utilizing the_content function reference to look for specific file paths and ...
0
votes
2answers
149 views

Remove the theme info from main dashboard screen- not appearance

I've successfully used the code from the post: Restrict ADMIN menu items based on username, replace username with an actual user's name. The problem is the theme still shows on the main dashboard and ...
0
votes
1answer
85 views

Grant access to admin menu?

I'm trying to grant the user role 'editor' to have access to the Users top-level menu, and then control which sub-menus they have access to. The add_action lives in the _construct method. add_action( ...
0
votes
2answers
127 views

How to add admin bar only page?

I successfully managed to create admin bar item using this: add_action('admin_bar_menu', 'toolbar_link_to_mypage', 999); function toolbar_link_to_mypage($wp_admin_bar){ global $wp_admin_bar; ...
0
votes
1answer
1k views

register_taxonomy - show in admin menu, but not on post type (edit) screen

I've been trying a lot of things so far and investigated core inside out, but couldn't find a way that allows me to add the submenu item, but doesn't add the meta box for a custom taxonomy. The Menu ...
0
votes
1answer
124 views

Hiding an added admin page menu using css

I have added an admin page in wordpress but i needed it to be hidden.I added the page successfully like this function add_admin_page() { $themename = 'Cesaro'; $page_function = 'admin_page'; ...
0
votes
1answer
230 views

Why does hook priority affects admin menu permission error?

On this answer, there was this final comment For future readers, Roland's issue was a hook priority issue. Changing priority from 10 to 11 fixed it in his case The answer seems already closed, ...
0
votes
1answer
124 views

Turn on again old expandable menu

In the latest WP the admin interface is changed and you have a popup submenu. I really liked the old version better with expandable menu. Is it somehow possible to get that back again for all users?
0
votes
1answer
253 views

Add top-level menu pointing to a different custom post type?

I have a situation where I want to add a second custom top-level menu for a custom post type. So, when we have a CPT named "fruits", which registers a top level menu with a label of "Fruits", ...
0
votes
1answer
113 views

Fatal error when using '#' character as an admin menu link title

When I try to title an admin menu link # or &#35;, I get a fatal error before the admin menu is loaded: Fatal error: Cannot access empty property in ...
0
votes
1answer
374 views

Menu_slug used for creating options page

I am following this page on designing options menus: http://codex.wordpress.org/Administration_Menus What is the significance of the menu_slug ? I ask because when I change this value, the options ...
0
votes
1answer
665 views

Not able to give editors acess to new admin menu item

I'm adding an extra menu item in admin menu by using add_menu_page. add_menu_page('Calendar', 'Calendar', 'edit_posts', 'wp-eventcal/eventcal-manager.php'); Still my editors do not see the menu ...
0
votes
2answers
29 views

Admin menu links just refresh the page

I'm using add_submenu_page() function to add some options to my plugin. On Linux hosting everything works like it should, on Windows hosting those 5 sub-menus have same link somehow and when I click ...
0
votes
3answers
112 views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
0
votes
2answers
98 views

Making Comments, a sub_menu in admin menu

I know this may be a bit crazy, and hopefully there's a way of doing this with out chopping up the core. I am trying to clean up my Wordpress admin menu's and in doing such I'd like to move Comments ...
0
votes
2answers
396 views

How to unset adminmenu completely?

Is there a way to completely remove (unset) the left hand side admin menu? I examined the ozh-admin-drop-down-menu plugin, since it removes the entire admin menu and adds a top menu bar in order to ...
-1
votes
1answer
203 views

Plugin link does not appear in my toolbar

I haven't installed anything that would break the link, as far as I can tell it's just never been there. I have no idea what to do, please help.
-1
votes
1answer
87 views

Admin Menu new tab external link

In a clients site i needed to add a menu item under the dashboard, this link is to go to a external url. i managed this with the following code: add_dashboard_page( 'redirecting', 'Docs', 'read', ...
-2
votes
1answer
259 views

Responsive Admin Themes

I was looking at this example of an admin theme (http://themepixels.com/main/themes/demo/webpage/shamcey/dashboard.html). As for the Left Admin bar labeled "Navigation," Is there a way to achieve this ...
-2
votes
1answer
70 views

Show the content of Admin menu to a page

I have created a new page and want to show the content of a Admin Menu in that new page. How can I do it?