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
0answers
2 views

Why adding Categories does not auto refresh in Backend while using my custom theme?

If I am using my own created custom theme, the Post Categories Page in admin panel is not getting updated automatically when I add a new Category. To see the new category I have to reload the page ...
0
votes
1answer
25 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 ...
1
vote
1answer
14 views

Is it possible to add a filter for the output of nav-menu items in admin?

I want to remove certain input fields on the admin screen for nav-menus for specific menu positions. I've used filters to filter front-end output but not for admin output. Is there a filter available ...
0
votes
0answers
52 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
0answers
25 views

How can I add an Export option to a WP_List_Table

I have an admin page that extends the WP_List_Table class to generate a table of results from a custom database table. I am trying to add a button that will enable the admin user to export the results ...
0
votes
0answers
24 views

How can I hide any submenu item from dashboard menu but still have access to it from direct url

I just want to hide a page but I want to access it by directly entering its url. But I am unable to access that page after remove_submenu_page() function. I get this error: You do not have sufficient ...
0
votes
0answers
15 views

adding access to a specific post in the wordpress admin left menu

I've added a custom post type on my wordpess called "Perso". here is the code : // Register Custom Post Type function custom_post_type() { $labels = array( 'name' => ...
0
votes
1answer
27 views

How to move plugin link from left navigation to a different location?

I have the Advanced Custom Fields plugin. How do I move the link so it's under Settings (like some other plugins) or under the Screen Options Tab? I don't want to hide it completely as I would still ...
0
votes
0answers
23 views

Editing Admin via Child Theme

The theme I'm using provides an admin page that lets me easily setup jQuery sliders on my homepage, but it limits me to five. Now I'm able to go into the actual theme files and edit these so that the ...
0
votes
0answers
7 views

User info in the admin sidebar

I think nobody has yet think of this, hope someone can help me. Im trying to add a user info pannel in de admin sidebar, right at the top. Just like the wp-admin-bar-my-account in the admin bar, just ...
0
votes
1answer
31 views

Restricted access for other user roles

I have made some restrictions on other user roles than the administrator. I've made it because I use WooCommerce. I have added the following code to my themes functions.php file, and it works fine. ...
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
1answer
12 views

Tab order of post admin page

When I edit my post and update, I edit a textarea and hit a Tab key, then Update button will be activated and press Enter to admit the change. But in another environment if I press tab, then preview ...
1
vote
1answer
42 views

Adding Media Upload to Custom Options Panel breaks “Insert into Post”

I've created a custom site options page as a top-level admin page in my theme. The options are pretty basic but include a couple of images. I initially found a lot of examples for using Media ...
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
3answers
110 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
1answer
36 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
109 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
0answers
13 views

Granting Author the capability to access a submenu item under Tools

I need the Author role to have the capability to access a submenu item (a third party plugin item) under the Tools menu in the admin. By default WordPress grants capability to the Tools menu for only ...
0
votes
0answers
18 views

Adding a function-based search to the Users admin page

On the Users admin page, I want to add a function-based search criterion. By default, there are filters to search by user role and there is a search box that searches the user data. I would like to ...
0
votes
1answer
60 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
41 views

load styles and scripts in network admin not working

I am trying to load scripts on three different screens ONLY. I am getting the styles on the ins-carrier-display pages but they do not print on the ins-carrier-edit page. Am I missing something? // ...
1
vote
3answers
57 views

How to hide menu on WordPress admin

I want to hide some menus on admin panel: Appearance, Plugins, and Tools. How to hide it without plugin? And how can I un-hide them later easily?
0
votes
0answers
35 views

WordPress Admin Bar Not Displaying Both Custom Drop-down Menus

I'm having trouble displaying two custom drop-down menus in the WP admin bar. What I want is the first drop-down to display the back-end (editing part) links of every page and the other to display the ...
0
votes
1answer
87 views

remove plugin admin menu in wordpress without installing plugin in v3.8.1

I follow instruction on this page to remove some admin menus. http://codex.wordpress.org/Function_Reference/remove_menu_page But is seems it only works on default wp admin menus. Admin menu added by ...
0
votes
0answers
48 views

Removing “Sub-menus” from My Sites Drop-down in Admin Bar

How does one remove the "sub-menu" that appears to the right of each site listed in the My Sites drop down from the admin bar? That is, I want to have a list of My Sites without the Dashboard/New ...
0
votes
1answer
39 views

Issue on CPT Custom Menu Position in WP

I have Two CPT as "Dress" and "Casual" and I would like to position them close to each other exactly after the "Dashboard" in the Menu. I have this code in my custom post type for both: ...
0
votes
0answers
62 views

Appearance->Editor not visible

I'm noticing that the editor is not visible from past few weeks. It's working fine on my other WordPress sites but in one site it's not visible. I tried changing theme and deactivating plugins but ...
0
votes
1answer
26 views

Change URL of plugin admin menu

Gravity Forms adds a Admin Menu called Entries that points to page=gf_entries. I am trying to modify this URL so that it defaults to page=gf_entries&id=2 instead. Below is the order of my ...
0
votes
1answer
20 views

How to change the default url for 'Posts' link?

I would like to change the default url edit.php to edit.php?category_name=photos when I click on "Articles". Thanks
0
votes
0answers
14 views

Navbar list items changing place

I am using wp-bootstrap-navwalker to create easy menus with Twitter Bootstrap. Everything works fine when setting menu up and everything is displayed. But when I enter the pages on the site the ...
0
votes
0answers
42 views

Custom Taxonomy Showing in WP Menu

I have 3 taxonomies bundled with my custom post type. I have noticed my custom post type(cpt) and 2 taxonomies won't show in the Wordpress menu system but 1 taxonomy will. Can anyone point me in the ...
0
votes
0answers
77 views

Check with jQuery value of checkbox from custom admin panel

i am trying to create my first admin panel for my theme. I have a simple checkbox which i think is working. Where is this information stored? Is this information stored in the database? How can i ...
2
votes
1answer
362 views

Updated to version 3.8 and Admin pages are very slow. How to diagnose problem?

I manage a large multi site Wordpress installation with about 300 hundred users and blogs. The server is blocked from making internet requests, so I have defined a proxy service in wp-config.php ( ...
0
votes
0answers
36 views

Script not working correctly produce error: An unidentified error has occurred

I am developing a wordpress theme while adding a category from admin panel it doesn't show the category until I refresh the page and when I delete the same, it produces an error: An unidentified error ...
0
votes
0answers
33 views

Unsure how to add simple checkboxes that write to a small table to admin

I've been doing a lot of reading on the add_meta_boxes...but there's so much information that I'm confused about when to use them. I have a little plugin that writes out some checkboxes and then when ...
0
votes
1answer
61 views

menu_order not working with slugs that start with admin.php

I am filtering the menu_order hook (codex link -> http://codex.wordpress.org/Plugin_API/Filter_Reference/menu_order) to change the order of my links in the admin menu. Currently the ordering will not ...
7
votes
2answers
128 views

Are there any reasons you can't use strings for admin menu positions?

When interacting with the admin menu, for instance via add_menu_page, there is a $position parameter. The inline docs indicate that this should be an integer. The Codex agrees, but adds a note that ...
1
vote
1answer
19 views

Is it possible to pass variables from add_user_page?

If have hooked into admin-menu like this: function adminmenu_users_reserves(){ add_users_page('Reserver', 'Reserver', 'read', 'reserve_list', 'show_userlist'); } add_action( 'admin_menu', ...
0
votes
1answer
58 views

How can I reorder admin bar items?

I have a plugin that adds custom admin bar items, but I'd like them to appear all the way to the left. I know I can add and remove menu items with $wp_admin_bar->add_menu() etc, but how can I ...
1
vote
1answer
48 views

How to add new tab to admin list of posts and handle result list

The goal is to show posts with special values of custom field (post meta) in separate tab. I know how to add new tab, here is a code: add_action( 'views_edit-post', 'remove_edit_post_views' ); ...
0
votes
1answer
66 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
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 ...
2
votes
1answer
174 views

add_submenu_page set for multiple roles [duplicate]

I have this string: add_submenu_page(basename(__file__), 'Events', 'Colloqui', 'subscriber', 'BW_events', 'BW_events'); How can I let this be available to editor(s) too? I tried ... ...