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
20 views

Possible to switch between admin view and author view?

The wordpress admin dashboard can be a bit daunting for "normal" wp authors. Is it possible for users who need admin privileges to only see the simpler author view, but be able to switch to the full ...
0
votes
2answers
52 views

How to group navigation items in the admin panel

I have more than 50 custom post types which I have created using the Pods plugin. The problem is that the left navigation of the admin panel looks really busy and messy and it takes a lot of time for ...
0
votes
1answer
67 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
155 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
86 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
29 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
574 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
689 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
227 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
2k 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
83 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
549 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
375 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
46 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
196 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
308 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
608 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
245 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
191 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 ...
0
votes
1answer
337 views

Usage of custom post types in a custom admin menu

This question is a little hard to explain but i will try to be as clear as i can: I have a custom theme that i am presently working on, within this theme i have added a top level menu in wp-admin ...
0
votes
1answer
33 views

Admin sidebar customization

My new clients wordpress site does not have plugins, appearance or any of the other default items in the admin sidebar. Can anyone tell me how I get those to appear. The site is being run in a ...
0
votes
1answer
202 views

Change the $parent_file of a plugin page

I have a plugin that has 3 pages. One of those pages, I don't want displayed in the admin menu (working), but when a user is on that page, I want the plugin menu to be active. I'm using the ...
0
votes
1answer
254 views

Re-ordering Admin Submenu Sections

I was looking at the method below to reorder the Admin Menu Sections: http://wordpress.stackexchange.com/a/1220/1044 ...and was wondering if it's possible to reorder the submenu sections using ...
0
votes
2answers
78 views

adding page types in menu

I believe what I am trying to achieve is quite easy but I am failing to grasp what is needed here. I want a section in the admin panel... lets say "page sections" under that, I want to be able to ...
0
votes
2answers
856 views

How can I add/update post meta in a admin menu page?

I wanted to create a plugin to batch manage posts' custom field data. I know I can add post meta by add a meta box in post edit screen and use add_action('save_post','function_to_update_meta') to ...
0
votes
1answer
52 views

Custom page in plugin visible in menu

I'm trying to understand creating custom plugin pages and menus in admin panel, but I get what I don't need. I've got: function my_plugin_add_pages() { add_menu_page(__('Custom quiz', ...
0
votes
2answers
311 views

Proper way to create an administration page without adding it to the menu

From what I've seen around the code, you can do this by hooking a function on admin_init, do you stuff and then die(). Is there a better way that follows "WP best practices" I'm missing here? The ...
0
votes
1answer
37 views

avoiding the display of certain categories to certain user roles at content entry time

How can I eliminate the "featured" category (and its sub tree ) in the admin panel when the user role is not editors or admins?
0
votes
2answers
131 views

How to change a specific admin label

I'm trying to change on the backend from: Appearance -> Header To Appearance -> Logo But the Changing Admin Menu Labels answer didn't help so far. Any new tip? Thanks
0
votes
2answers
3k views

How can I add a menu item to the admin area?

I've used almost all of the Wordpress example code but it still doesn't work. I've put the php file under wp-content/plugins/menuitem/ .The code is simple <?php add_action('admin_menu', ...
0
votes
1answer
794 views

moving an admin submenu item to a top-level position

I'm trying to rearrange my admin menu so I can remove the submenus. Basically I'm starting by removing all submenus that I don't want (for instance the ones under the "home" button, or the ones under ...
0
votes
1answer
414 views

paginate posts on admin page

I've created a plugin that calls a list of posts and grabs external API data. I am using get_posts to grab the list (because I need to feed the array of links into the API query) For whatever reason, ...
0
votes
1answer
54 views

Pause plugin option page until all data manipulation is complete

I have an option on my plugin page where I load content into all the posts in the blog. Now this takes some time, esp when there are a log of posts. Now the way is it set up now, when you press ...
0
votes
1answer
535 views

Custom Post Type / Tab Limit

I've created a site with nine (gulp) custom post types. It's a huge site unsurprisingly. The 9 post types fit on the admin menu but I was wondering if there is a limit to the number of extra post ...
0
votes
1answer
483 views

How to add text editor in plugin menu?

Can I add a text editor to my plugin menu? So I can let users edit custom css file? Something like /wp-admin/plugin-editor.php but I want users to be able to edit only one file. The custome css file. ...
0
votes
2answers
277 views

Show limited menu to admin

I am using the latest wordpress 3.2.1. I would like to let create a new admin to do ONLY this: 1) Manage order to change the order status to (e.g. approve..reject). 2) Able to view user only without ...
0
votes
1answer
103 views

How to make a function occurs for one time?

I have the following code in the functions.php file in my theme function my_func(){ echo "foo"; } add_action('admin_menu','my_func'); I assume this function "my_func" will be ...
0
votes
1answer
1k views

Add menu page issues (permissions & position)

OK, I have an issue with Sidebar Generator Plugin. This plugin creates subpage called "Sidebars" in WP-Admin. The point is, it is created as a child of "Appearance" page. And I don't want it here, I ...
0
votes
1answer
856 views

Adding custom Field To The Posts Listing

Are there plugins or hooks to editing custom fields just from the posts listing in admin panel?
0
votes
1answer
282 views

Mimicking admin panel menu from wordpress 3.0.1

I have chosen from a variety of menus for my application only one and it was a wordpress 3.0.1 admin panel menu, but I can't get pass the functionality of it. If to be more distinct I can't ...
0
votes
0answers
22 views

How to add submenu to Wordpress plugin in the same Directory of main Plugin?

I have created a plugin and now i want to add a third party plugin inside of the Main Plugin menu, so it can be submenu. How do you make the second plugin appear? Directory Setup: ...
0
votes
0answers
18 views

How to create custom Admin Pages for Custom Post types and add meta boxes

What I'm trying to do is : Create custom Admin Menus and Submenus add_menu_page Test add_submenu_page Add New no problem so far, both pages appear in the menu. Now I'm not sure how to add the ...
0
votes
0answers
24 views

Create hierarchical menu for custom taxonomy meta field

I've created a custom fields for a custom taxonomy. All works fine so far, I can save, edit and display these fields. Now I want to display these fields in the admin menu as a hierarchical menu like ...
0
votes
1answer
17 views

How can I place a page link to the sidebar admin bar?

Im trying to create a function that place my page link http://mypage.com/mypage in the Admin Sidebar, not in the top Admin Bar like the code bellow does know. function toolbar_link_to_my_page( ...
0
votes
0answers
13 views

Can You Require the Use of JavaScript in a WordPress Plugin?

I commonly use Mozilla Firefox for testing changes I make for a plugin that I'm developing. I also have the NoScript addon installed because it is also my main browser. I noticed that the ...
0
votes
0answers
14 views

View Details/Edit/etc. view for custom admin plugin

I am working on a plugin for Wordpress that will have formatted data from a couple of non-Wordpress tables in the same database as WP, and I am not quite sure how to go about having something like a ...
0
votes
0answers
29 views

How to create a dropdown on admin panel and print that value on a page or in a post?

Now I am using a custom field for this purpose. But now my client asking some thing like this. Let's say he has to display a car brand on every bottom of a post. The Car Is : Car Name Car Name must ...
0
votes
0answers
24 views

How to sort all admin sub menu items in a custom order

i tried this solution given for this question Re-ordering Admin Submenu Sections to sort sub menu items of all top level menus. But i don't get it to work. I have an array of custom ordering of menu ...
0
votes
0answers
9 views

Get fatal error when I try signing into ADMIN. Fatal error: Call to undefined function wp_unslash()

I am getting this message when I try to get to admin Fatal error: Call to undefined function wp_unslash() in /home/content/a/r/b/arbordogcare/html/wp-admin/admin.php on line 46 I have other ...
0
votes
2answers
25 views

Is It Possible To A Link To The Homepage From The Admin Sidebar?

The closest I've managed to get is: function redirect_to_local_110(){ wp_redirect("/", 302); exit; } function add_home_link() { add_menu_page( 'Course', 'Course', 'read', 'home', ...