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

Add a page in admin without adding menu item

In my plugin I have registered a menu_page; now I need another page. How can I add another page to my plugin without adding another menu item? Is it possible to call it by href?
0
votes
1answer
9 views

how to stop wordpress admin menu from scrolling with page

Ive already answered this question but when I came on here I noticed this question hasnt been asked, but the question is: How do you stop the admin sidebar menu from scrolling with the page?
0
votes
1answer
19 views

How to call a certain object/menubar in a PHP file

I made a template and had some help with adding a CSS file to the template. Now I'm stuck on the question, how do I add a certain menubar to my header. Example: topbar - has menu with "Welcome ...
0
votes
0answers
11 views

admin_init not working

I have created few admin menus , one of them was for sending data to an external link , capabilities of those admin menus were custom . Inside admin menu function I have some code like this ...
1
vote
1answer
15 views

With two custom post types, how to make one a child of the other in the admin menu?

Been following Justin Tadlock's nice clear tutorial on how to have one custom post type act as a dropdown for another in the admin edit screen. His example is of a restaurant CPT needing a dropdown ...
0
votes
0answers
9 views

How to put categoies in admin menu

Hi i want to put two categories of post in admin menu which are floorplan and community. So those categorizes directly can see in admin menu. if i am not wrong from function.php i may do it.
0
votes
0answers
22 views

Get admin menu contents on frontend?

I'd like to access the variables $menu and $submenu while not being in admin dashboard. For example I'd like to display their contents in wp_footer. It seems almost impossible to me, since action ...
3
votes
2answers
77 views

List table not rendering when $this->items is filled

I'm attempting to add a list table to a custom admin page. I've been following this guide and this reference implementation. Unfortunately when I define $this->items to add the data, nothing ...
0
votes
1answer
19 views

How to add next height number in Order Attributes inside the Add new page. [duplicate]

By default, when a new page is added it will be given the next highest number not already assigned to a page.
0
votes
0answers
16 views

Admin Sidebar Menu in Tree View

how to make admin sidebar menu in tree view like this plugin ? => Admin Menu Tree Page View I mean, it's only for Pages menu. I wanted plugins list contained in the sidebar menu can be made in the ...
0
votes
1answer
16 views

Removing posts and comments from Wordpress

I am using a plugin which creates both a custom post type for all my "posts" data and also another plugin which entirely handles the commenting system. Therefore I would like to entirely hide the ...
0
votes
0answers
35 views

Plugin admin menu: How to associate a hidden submenu page with a visible one?

My plugin has the following (simplified) admin page menu structure: // list of plugin items add_menu_page( 'My Plugin', 'My Plugin', 'edit_pages', 'my-plugin', ...
0
votes
0answers
36 views

Show different custom post types under one admin menu

Hi, I've been playing with the custom post types in wordpress 4.1.1 and they're truly great. But I need help in trying to manipulate the admin interface. If I set up two new post types I'll get this ...
0
votes
2answers
57 views

Wordpress Admin Menu defining function is seperate file

Here is my current code, aio_menu.php <?php defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); add_action( 'admin_menu', 'AIO_menu_creator' ); function AIO_menu_creator() { ...
0
votes
0answers
31 views

Pulling apart & understanding the WP Admin Menu Flyouts

I need some help, or advice, on [how to] understanding the Admin Menu Flyout submenus. I've narrowed it down to the following key components: ul.wp-submenu This is the actual submenu, used to ...
0
votes
1answer
30 views

Dropdown taxonomy lists in admin menu

I've added 4 taxonomy list to my wordpress backend: BH Job Experience BH Job Types BH Job Regions BH Job Tags These taxonomy lists are added under Job Listings like this: Now I would like to ...
0
votes
1answer
44 views

How to rename Profile link in wp-admin page

i want to modify the profile link in wp-admin to Settings I want to rename the 3 below things to Settings which are marked in red
0
votes
1answer
73 views

Creating A New Admin Menu Tab For Theme Options

I 've found an online tutorial that teaches how to implement a simple Options Page for the theme. I did it successfully but it is displaying as a sub menu, and I want it to be a main menu like those ...
0
votes
2answers
63 views

Custom taxonomy link opens under Posts

I have a custom taxonomy which I want to appear under a custom menu. And I achieved that by specifying the custom menu as the parent. Here's the result: However, when I click on it, the CSV Tag ...
0
votes
0answers
24 views

Wp-editor box within options page

I'm trying to put together a quick plugin where I have a Options menu with a wp-editor box, and than content gets output via a shortcode. So far I've added a menu, created an option page, and setup a ...
0
votes
0answers
23 views

Stop WordPress from sending custom GET parameters on form submit

I have a custom menu page I'm building for a theme. This page displays a list of items and also a form to add a new one. The table with the items also displays links to delete each of the via URL GET ...
0
votes
0answers
20 views

edit_theme_options - menus option doesn't appear

I would like to grant access to editors to create/edit or delete menus. If I set up in functions.php the edit_theme_options capability (above), the editor can access the header and background but not ...
0
votes
1answer
25 views

Removing admin menu items with white spaces

function remove_admin_menu_items() { $blog_id = get_current_blog_id(); if ($blog_id == 1) { $remove_menu_items = array(__('Team Members'),__('Policies'),__('Comments')); } else { ...
0
votes
1answer
22 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
0
votes
1answer
26 views

Top level menu position overwrites another entry

From looking at the codex and after using print_r($GLOBALS['menu']; to display the array list of menu items, I see my CPTs listed as 16,17,18,19 in the returned array. 20 is the Pages menu item, ...
0
votes
0answers
41 views

How to add elements to WordPress appearance->menu admin?

I would like to add a custom post Type Archive page to my menu, using the appearance->menu admin. I found several blog posts (although a bit old) proposing different solutions, but I didn't managed ...
0
votes
2answers
47 views

Trying to write a function in an external php file to manage admin menu visibility

I am loading my php file by putting this into my theme's functions.php: require get_stylesheet_directory() . '/inc/manage-menus.php'; alter_menu('my-user', 'plugins.php', false); The code in ...
0
votes
1answer
41 views

add function to saving change on Options Pages

i make page like this link and it work fine but i need to run some script after it like editing a file i was add it to function my_function() { //do something } function register_mysettings() { ...
0
votes
1answer
484 views

Retrieve and display data from custom db table in admin area?

So, i'm having a bit of an issue with a plugin i'm developing, I wonder if anyone can shed any light on the situation, as many, MANY searches have come back with zero help. :-/ Basically, my plugin ...
0
votes
0answers
29 views

Wordpress theme-menu-page & siblings position

I'm registering theme menu page using following lines : add_menu_page(__('myTheme', 'myplugin'),__('myTheme', 'myplugin'), 'edit_posts','mytheme','my_plugin_dashboard', 'dashicons-forms', 30); ...
0
votes
1answer
43 views

How can I restrict a custom WordPress role access to only a specific plugin?

I created a custom plugin . I want to add some admin side users to use that plugin. I created a specific role . But i want to restrict the those users/role access only that plugin not the entire ...
0
votes
0answers
25 views

how to create a common admin interface for multiple plugins

I find different useful functionalities in different plugins. I would like to aggregate plugins, without affecting their functions and update policy, into one custom "My Plugin Collection", single ...
1
vote
1answer
60 views

WP Plugins - Use includes to display page content

So I have a plugin I have been working on. It adds a menu and multiple submenus. Each submenu page contains a form, this form is created in a function called add_content_submenupagename. This ...
1
vote
2answers
64 views

How to Move My Page into WordPress dashboard main menu

I am new to WordPress development, hope this is not a too stupid question. I want to Move my "Camp" Page(that appear Under Pages -> Camp) into Dashboard Main menu, if its not possible to move page ...
0
votes
0answers
37 views

My “edit page” link in admin bar has dissapeared

Since i did some customisation in custom permissions per custom post type the "edit news" / "view news" button that is displayed in the admin bar if you visit the news detail page has dissapeared. My ...
0
votes
1answer
91 views

Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?

From the fm: NOTE: If you're running into the "You do not have sufficient permissions to access this page." message in a wp_die() screen, then you've hooked too early. The hook you should use is ...
5
votes
1answer
222 views

How to show custom menu items in the WordPress android app?

I hope this is the right .SE site for this question. When on the road I want to use the Android WordPress app to write short snippets of articles for later use. My blog has some custom article ...
0
votes
1answer
52 views

add_role menu pages are not visible

I added a custom role this way: add_role( 'tabellenadmin', __( 'Tabellenadministrator' ), array( 'activate_plugins' => true, 'delete_others_pages' => true, 'delete_others_posts' ...
0
votes
0answers
20 views

How to remove_menu_page added by a plugin that appears to have no referenceable slug

How do I remove a menu page that is added by a plugin like this: add_action('admin_menu', array($this, 'add_menu')); Where there is no slug. Looking at the plugin code and using the links in the ...
0
votes
1answer
53 views

How to add taxonomy to Users menu in admin?

I want to create a taxonomy that is related to the users, therefore I'd like to show the taxonomy under "Users" menu within wordpress admin. In codex there's a mention that you can attach taxonomy to ...
0
votes
1answer
74 views

wp_login_url not working correctly

I'm working on a project where I need to add a custom link to admin menu, and I'm using the following code for it: $login_url = wp_login_url(); add_options_page('Login', 'Login Page', ...
0
votes
1answer
38 views

Howto: Use Custom Post Types as Submenu Items in Admin

In a plugin, i've created 3 Custom Post Types, for example: Dogs Cats Goldfish I've also created a "Pets" Top-level menu page using add_menu_pagewherein I'd like to add the 3 CPTs as submenu ...
0
votes
0answers
64 views

How to avoid hardcoded text in a custom page template?

I'm developing a company Website using Wordpress 4. This website needs some special, customized pages - with forms and GET and POST and a lot of stuff, so a lot of PHP code. Now, a CMS' main purpose ...
0
votes
1answer
73 views

admin_head-post.php only works after publish / update

I have made a custom post type with some admin back-end. Currently I am calling scripts using the hook admin_head-post.php but this only seems to fire once a custom-post type has been created (on ...
0
votes
1answer
183 views

Displaying different custom post types under one admin menu

I am creating multiple custom post types that have hierarchies, and a few of them are strongly related like a parent-child. For example, a house custom post type has bedroom and kitchen custom post ...
1
vote
1answer
98 views

Admin doesn't have sufficient permissions to plugin's page

I'm not able to visit plugin page in my admin panel. I have found some advices for debbuging this issue, but I wasn't able to find any solutions in mySQL, everything seems ok. Does anyone has ...
0
votes
1answer
58 views

Prevent custom taxonomy from being added to admin menu?

I have several custom post types, which share two custom taxonomies (location and service). The custom taxonomies show up in each post type menu, and it just seems a little redundant. My client isn't ...
0
votes
1answer
77 views

How do I add an item to the WP admin menu?

I want to add an item to my WordPress admin menu - "News" - it's to contain a list of articles written about my company. Each article will consist of the following metadata: Headline Date Link to ...
0
votes
2answers
82 views

Appearance > Menus

I have added custom WordPress admin menu and pages, however, I would like for it to appear in the "Appearance > Menus" section so that the user can add it in the menu structure of their website. ...
0
votes
0answers
101 views

How to show specific meta keys of all posts in admin panel?

I have some common meta keys on every post. Ex: hotel_person, hotel_number All the posts have these two meta keys. I want to show these meta key values and the post titles. All these values and ...