Users with the ability to perform administrative tasks for a site or a network of sites.

learn more… | top users | synonyms (1)

0
votes
1answer
18 views

Multisite Admin Roles

I have a multisite with the following lines of code in my functions.php file: add_role('test', 'Test Priv', array( 'activate_plugins' => true, 'delete_others_pages' => true, ...
0
votes
1answer
9 views

How to add multiple existing users to a multisite site?

I have a multisite instance of WordPress, and I need to add 50 existing users to each of 20 new sites. One by one is going to take a very long time, and will send each person 20 emails confirming ...
1
vote
2answers
12 views

How to remove duplicate sub-menu name for top level menu items in a plugin?

I have written a custom plugin for wordpress. Once I add a sub-menu to the plugin I get a double entry for the top level item: I would like to disable the second "TopLevel" menu item so it would ...
0
votes
0answers
13 views

modify admin panel all post to show date time

Hey I want to Know how can I modify admin panel all post to show date and time instead of only date. Published post will have published date and time and scheduled post will have scheduled date and ...
0
votes
2answers
15 views

Load stylesheet on custom admin submenu page

I'm trying to load a stylesheet for a particular admin submenu page. The code below is what I came up with after looking up admin_enqueue_scripts in the codex: function my_function($hook) { if ( ...
0
votes
0answers
13 views

How to add text next to the title in the admin area

is it possible to add text at the places the arrows are pointing? I also want the text to appear only on one particular page. I would think there must an action out there that lets me do that, right? ...
0
votes
1answer
12 views

How to create 30 new sites from an export of a master site?

I am an admin for a Wordpress multisite instance at a college. I need to create 30 new wordpress sites, each for a similar course. The content is going to be copied from a "master" wordpress site ...
0
votes
1answer
13 views

What Role to assign remote site developer?

We have hired a developer who we communicate with via upwork. We want him to be able to make any changes to the site, except to boot us out! Which Role should we assign to him - Admin? If so, is there ...
0
votes
1answer
18 views

current_user_can('Administrator') does not return true in multisite if user is Administrator but NOT Super Admin

I have a multisite WordPress installation set up, and have a user who is set to an 'Administrator' role on both sites. However, the function current_user_can('Administrator') does not return true when ...
0
votes
0answers
15 views

Adding filter menu to admin custom type list to filter by custom field values having issues

I've been working on this for a bit and am having some difficulties because I can't understand for certain what is going wrong and why I'm getting the error that i am. It's hard to tell if it's a WP ...
0
votes
2answers
25 views

WordPress Admin Email

I am planning to build a WordPress site in which I will setup WooCommerce to sell products. I have created a test site before in which I used my personal email account (gmail) as admin email. Then I ...
0
votes
1answer
32 views

Admin Ajax is returning 0 and not Insert data

I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though I think this is actually the success message and it's not returning anything. I ...
0
votes
1answer
27 views

Display read only info on admin, custom post page

I have a custom post type, user submitted posts. When viewing a post as admin I only want to "Show" the posts title and content as there is no need for it to be in a text area or wiziwig. It's not a ...
0
votes
1answer
23 views

How to activate the dashboard

Brand new to wordpress, and I'm trying to install a portfolio template called Semplice, how do I activate or find the wordpress dashboard to activate Semplice as a theme, and use all of its functions? ...
0
votes
1answer
41 views

Adding CSS-class to WordPress Menu in backend

I am wondering if its possible to add CSS-classes to WordPress menu in backend. If building complex menus, the overview gets lost - would like to style it a bit. Normally it would be fine to add the ...
0
votes
0answers
10 views

Control user sessions - Wordpress admin

In my project, there is a page in the admin area where users can control the homepage by drag and drop. The biggest problem is if two users make changes at the same time. I wonder if there is a way to ...
1
vote
1answer
15 views

Adding Page URL to the Pages Admin Table

I want to add the Page URL as a custom column to the Pages admin table. Here is where I am at with the code. Code is in the theme's functions.php. function lrh_modify_page_table( $column ) { ...
1
vote
1answer
19 views

How to set default editor tab

I'd like to have always open the Text tab in editor in administration instead the HTML tab. Is it possible?
0
votes
1answer
21 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
1
vote
1answer
36 views

How to test for Super Admin

I have the following code in my mu-plugins.php file and the is_super_admin() function does not correctly result in true. I am running v4.2.4 function check_for_superAdmin() { if ( ...
0
votes
1answer
21 views

Get the selected posts IDs to use in bulk edit AJAX call

The WordPress codex for bulk_edit_custom_box, along with this bulk edit example use the following piece of JavaScript to create an array of selected post IDs to send with the AJAX call that updates ...
0
votes
2answers
51 views

Show parent-child relationship for categories in the wordpress admin

How can I show child categories under there parent category in the wordpress admin? On a post the format of the category box would look like this: Category 1 Sub-Category 1.1 Sub-Category 1.2 ...
0
votes
0answers
16 views

How To Display Admin Toolbar On Custom Template

I am trying to get the admin toolbar to display on a custom page. I am using a custom php file for this. The basic structure of the page is like this and this will display the basic structure of my ...
0
votes
0answers
29 views

wp_is_mobile() inside js

I've stumbled upon a issue that i can't fix. I've implemented a autocollapse menu ..all works fine UNTILL i go to mobile version where the wp core's menu bugs out with my menu js code. Basicly i ...
0
votes
0answers
20 views

WordPress plugin returns 0 on admin page

I'm searching for an answer here for hours, and I can't find what's wrong with my code... my wordpress ajax keeps responding "0" no matter what I do... Here's the code: header.php file: ...
0
votes
1answer
42 views

Create tabs inside Plugins Admin Page

I am developing my own plugin and I am trying to figure out how to add tabs to my admin page. Is the process similar to how we add meta boxes? Ie, something like add_tab_box(...); and I specify a ...
0
votes
2answers
22 views

How to update my website with WordPress?

I want to update my old website with WordPress but I got some problems... Is it possible to create a website without domain name (before publish) and replace it with my old website domain name as soon ...
0
votes
0answers
18 views

How To Add Custom Meta Field Select/Radio Box to Post List Bulk Edit Mode

How can you add a radio fieldset to a custom post-types post list bulk edit screen for a custom meta field? Please provide in depth code example and explanation and thanks in advance. The ...
-3
votes
1answer
23 views

I need social icons on each post

I would like to have social media buttons for Facebook, Twitter, Google+, E-mail, LinkedIn and Whatsapp on each post, authors must be able to select which social media icons have to be displayed and ...
0
votes
1answer
60 views

Layout Plugin Admin Pages: Use BootStrap?

When you make your plugin admin pages, ie 'My Plugin Settings' page and etc. do you use bootstrap in them? What is the convention for this and what do most in the industry use to lay out their ...
0
votes
0answers
18 views

All in one wp security breaked my /wp-admin

After installing the plugin all in one wp security, now we can't access to the wp-admin, we get redirected to 127.0.0.1, I checked on the .htaccess for clues and found this: # BEGIN All In One WP ...
0
votes
1answer
61 views

Add logo to admin menu in my plugin

I want to add a simple piece of code: <img src="logo.png"> to the top of the admin menu. I know how to do it if I am just replacing a logo within an already existing class but there is no ...
1
vote
0answers
119 views

Dashboard left hand menu overlapping next item down

Stuck with this one and wondered if someone could point me in the right direction... we updated one of our wordpress sites a couple of weeks ago and only revisited it today and noticed that the ...
0
votes
1answer
36 views

Publish button inside custom field group

Is it possible to move the publish button out of the publish metabox, completely remove the metabox and then put the publish button inside the custom field group? Ask if you need more information, I ...
0
votes
0answers
29 views

Change in the admin stylesheet files doesn't seem to influence the admin area

So I want to customize the admin area in wordpress, including the admin toolbar and the admin menu. But no matter what I do it seems to have absolutely no influence on the admin area. I have a ...
2
votes
1answer
31 views

How to listen to color changes on the color picker?

I am trying to run some custom jquery function every time the colorpicker's color change. The colorpicker is include as part of the WP core. I have been looking at the JS code, but I can't figure out ...
0
votes
0answers
15 views

in WP ADMIN: How can I shrink the ROW HEIGHT of the PAGES list view so that more of them “fit”?

I'm just talking about the default "Pages" view in the WP ADMIN. I've inherited a site with 142 pages and this giant magnified page list is messy. The default view wastes a lot of vertical height on ...
0
votes
0answers
11 views

Add field to the search box ¡

Hi I have a custom post type, and I want to add a field to the search form. For example a simple dropdown. I don't find any actions or filters. Anyone knows how can I add this field? Thanks a lot
0
votes
1answer
46 views

Problem after updating plugins

So today i updated my plugins, everything went smoothly, but later i found out that my website is messed up. All the custom taxonomies are gone, then one of my plugin disappear somehow. I tried to ...
1
vote
0answers
17 views

CPT Validation to not show “Post updated.”

Now this has been asked several times over on all WP forums, but how you change the success message? First, I know there are 2 choices for managing the error message: setting in the options and using ...
3
votes
1answer
49 views

How to add icons to post listing (edit.php) in admin

Is there a filter or something to add these kind of icons based categories and what not to all posts? I can't seem to find one. I tried the_title but ofc that gets sanitized and just displays the ...
0
votes
1answer
46 views

Add custom column to Users admin panel with Types user custom fields?

I added custom columns but now I don't know how to get the date from the fields to show... and I have an error in my code. Can someone help? Thanks Here's the code : function ...
0
votes
1answer
27 views

Make certain pages uneditable by editors?

My Wordpress page has a few editors. They need this permission because they need to be allowed to change the posts/pages of others. However there two pages I want only me, the administrator to be able ...
0
votes
1answer
63 views

Admin AJAX doesn't work in plugin admin page - Even though code is copied verbatim from Wordpress Codex

So I have been working on this for... 3 days now - and have resorted to just pasting in the code directly from the wordpress codex to get that to work then go from there. That code however doesn't ...
0
votes
0answers
22 views

Multisite's sub-site admin area inaccessible

I have a multi-site where the English site is the main site and the Spanish version is the sub-site. When I try to access the Spanish sub-site I am getting this error in the browser: Sometimes it ...
0
votes
1answer
26 views

conditionally update css on edit.php

I want to change the background-color of each row in the posts table based on some date checks. The css I need to change is tr#post-nnnn {background-color:$myColor} where nnnn is the post number and ...
0
votes
0answers
16 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 ...
0
votes
0answers
7 views

Users getting registration errors when signing up but still being registered on the backend?

Having a very strange issue on a Wordpress install - we cannot replicate the error ourselves, but multiple customers have complained about it: They fill out the registration form and get an error ...
2
votes
1answer
199 views

How to save dismissable notice state in WP 4.2?

In WordPress 4.2 the is-dismissible class was introduced to allow notices to be dismissed. This code is working to add the notice. function prefix_deprecated_hook_admin_notice() { if ( ...
0
votes
0answers
43 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.