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

Multiple custom post types showing up in edit.php

I'm having a bit of trouble (i think) over custom post types in Wordpress. I have created multiple post types and they all work, but there is this one thing which is bothering me. Lets say I have ...
0
votes
0answers
20 views

Fixing admin menu offset

I've encountered a little problem during my plugin development. I've added a search box on all pages and it's working flawless but the only thing that annoys me is that it's causing the menu to ...
0
votes
0answers
8 views

How to make a sortable comment column?

Is there a way to make sortable comment columns? I have managed to create the column and to populate it, but i don't know how to make it sortable. I've found a lot of solution for sortable post ...
0
votes
0answers
10 views

Add a label to main menu (admin)

I want to add labels to the main menu. (For categories for example) Main Navigation (click on this will not do anything) |__ Pages |__ Posts Settings |__ Users |__ Settings etc. If there is ...
1
vote
1answer
21 views

Creating Admin Plugin - Content of a page is displayed at global scope as well

I've started creating a WP plugin which should work only in Admin Area. I've managed to create top-level menu with required sub-menu items, but when I try to print content of my page, it prints it ...
0
votes
0answers
31 views

Simple CSS admin pagination

First of all thanks for your time :). I have a dropdown menu option for the admin menu..but the pages still render at the menu edge. Any css trick to position pages correctly? Thanks in advance.
4
votes
2answers
108 views

Add visit site to your toolbar instead of being in the dropdown

I'm looking for a way to move the "Visit Site" link from drop-down and add it to the main toolbar, just like in the image shown below:
0
votes
1answer
32 views

Hide certain post types from editors

I'm trying to hide a series of posts from my editors in the admin panel based on either custom post type or category (whichever is easiest). I tried adding a function such as: add_action( ...
0
votes
3answers
50 views

Remove Customize Background and Header from Appearance admin menu without CSS or JS

I am trying to remove background and header from appearance menu, but they don't seem to go away! I think it's because I have activated customize, but can I remove them anyway without using CSS or JS? ...
0
votes
2answers
12 views

How can I control which plugins run in the dashboard?

I do not wish to activate/deactivate plugins. But for plugins that have no menu pages/submenu pages, that mostly do things on the frontend, I wish to disable while viewing the dashboard/admin pages. ...
0
votes
1answer
34 views

WP Admin Bar - Get current theme name as custom menu title

I wish to echo the current theme in text in my WP Admin Bar sub menu. How would I go about display a snippet of PHP inside the 'title' => 'php snippet here', ? ...
0
votes
1answer
158 views

How to create menu in Word Press 4.2.2?

How to create menu in Word Press 4.2.2? I have opened a dashboard and there are no so options visible. How to fix that? I want to make a menu for all pages I`ve created. Thank you.
0
votes
0answers
30 views

Css in admin panel of WP or some other BUG

I'm running WP almost a month now, and after it updated automatically(wtf?) to version 4.2.2 or may be from some other reason, I can't edit my menu from the admin panel. Have a look at the screens ...
0
votes
0answers
12 views

How do I add an arbitrary link to the WordPress Admin Menu?

I am looking to add an arbitrary link to the WordPress Admin Menu. Example: | Dashboard | | Posts | | Media | | Custom Arbitrary Link | The functionality of this acts just like a normal button ...
0
votes
1answer
12 views

Add a description/hint field in the admin page of a plugin

I made a plugin and now I'm making an admin page for it. I know how to properly add a field in an admin page but do you know how I can add an description/hint field like this (grey text)? Thanks
0
votes
2answers
20 views

admin menu naming

how can I change the 1st child name of the admin menu in wp? I have upload a picture, I want to have a different name of the 1st child of the menu and the parent will be the same. this is mycode ...
0
votes
0answers
47 views

How to populate a nav-menus meta box with admin menu items

I have successfully added a new meta box to the Appearance->Menus (/wp-admin/nav-menus.php) page called "Admin Pages". Now I need to populate it the same way the standard "Pages" meta box is, but ...
0
votes
0answers
12 views

is it possible to get update link of a theme or plug-in?

I have a custom theme that I developed. I would like to show a admin notice to user who can manage wp. via function cyn_admin_notice(){ $info['last_update'] = ...
0
votes
1answer
32 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
34 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
44 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
43 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
24 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
62 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
146 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
21 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
58 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
21 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
63 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
52 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
83 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
52 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
44 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
65 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
102 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
86 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
37 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
33 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
39 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
42 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
48 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
43 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
76 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
68 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 ...
1
vote
1answer
52 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
758 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
46 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
94 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
29 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 ...