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

learn more… | top users | synonyms (1)

0
votes
0answers
10 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
14 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
14 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
28 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
12 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
23 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
0answers
12 views

What would cause the updates page to disappear?

Inside the wp admin area, you can normally go to Dashboard > Updates but "updates" is missing from the navigation? The Plugins option is also missing from the navigation?
0
votes
1answer
39 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
21 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
24 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
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 ...
0
votes
0answers
6 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
110 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
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.
0
votes
0answers
14 views

Can I show the tag admin interface on a post when logged in as an admin?

I have a lot of posts that I'm adding tags to, but it's annoying to have to click the "edit" link on each post to go into the admin and edit the tags. Is there a way I can embed the actual tags panel ...
0
votes
0answers
12 views

How modify gallery shortcode output for admin side

I've been modifying the gallery shortcode output, with remove_shortcode and add_shortcode function. Which works great for the front-end side. But in the admin side, when I edit some pages, the ...
0
votes
1answer
32 views

edit-comments.php in Admin - how to change 'Comments' title?

How can I change the title 'Comments' on the edit-comments.php page in the admin area? Thank you
0
votes
2answers
30 views

How to switch theme if the current user is admin?

I am trying to switch my current custom theme to twenty fifteen theme if the visitor is admin. So I put following code into my custom theme functions.php /*** Switching theme to Admin ***/ ...
0
votes
0answers
40 views

Dynamic form variables for post meta

I am trying to create a dynamic form in the wordpress admin where I can add a line and still be able to process the variables into the database as post meta. I've done quite a bit of research and ...
0
votes
0answers
15 views

Plugin development - show saved shortcodes in admin panel/page

I created a shortcode plugin and now I am creating an admin page for the plugin. What I would like to do is that, when you hit the submit button in the admin page after choosing all the attributes to ...
0
votes
3answers
57 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
0answers
49 views

How do I show rating stars in admin comments columns?

I have a custom post type where I use a slightly altered comments template converting the default comments into a 5 star rating and reviews function. It works as expected just as it should. From the ...
1
vote
1answer
30 views

Filter for Admin Nav Menus Drop Down

In short, is there a filter for the Admin Panels Nav-Menu Dropdown List? For non-administrators I need to remove access to modifying / selecting a specific menu but still allow access to other ...
2
votes
0answers
26 views

Showing WP_Error message with admin_notice action hook

I have just get an answer to one of my question http://wordpress.stackexchange.com/a/189737/1581 but the problem is I want to print a error when ever user will insert tags of more than two words ...
0
votes
1answer
32 views

Remove admin AND editor from the “change role to” menu in user listing

I have a snippet in my functions.php that removes the admin role from the "change role to" drop down menu in the users listing screen, so that editors who can list users and manage roles won't be ...
0
votes
1answer
38 views

Show excerpt if no title in admin view

Usually my posts do not have a title, so in the admin view it always says "(no title)" wherever the title would be shown. So I am wondering how I could hook into that view function. I would like to ...
0
votes
1answer
11 views

How to pass a specific post id from “all posts” list in Admin panel

I want to add a custom column to the "all posts" list display in admin. I can add the custom column but my problem is I don't know how to tie the post ID to each listing on the page. The custom column ...
1
vote
1answer
35 views

do_action() hook into load-(page)

I have created an admin theme settings page where I save all my settings in wp_options. Now I want to expand this settings page by plugins which can be activated and deactivated depending on which ...
0
votes
1answer
34 views

Is Post-Form Resubmission somehow prevented in Wordpress 4.2.2?

I'm developing a Wordpress-Plugin where I add some forms to the wordpress admin. Usually when I'm testing the processing of form data, I fill in the form once and then just reload the page to send the ...
1
vote
1answer
25 views

Enqueue and Dequeue from admin bar nodes

I developed a few nodes under my custom parent node on admin bar. While navigating on frontend and clicking on one node I'd like to enqueue some css file. The url should remain. While navigating on ...
0
votes
1answer
19 views

Wordpress Home/Front Page Display at top of Admin Pages List

I know this example doesn't show a lot of pages. But, on sites with dozens of pages, I have to go to the next page, scroll, sort by title, etc. to find the home page. Is there a way to have the ...
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
27 views

Why does nonce verification fail intermittently?

I have a strange re-occurring issue that has me stumped. Briefly, when writers are saving posts in the admin the nonce check fails intermittently and shows the message “Are you sure?”. It’s been ...
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 ...
4
votes
2answers
269 views

Admin: very slow edit page caused by core meta query

We've been noticing really long load times when going to edit a post or page. Using Query Monitor, we found that this WP core query is taking upwards to 15-20s. SELECT meta_key FROM wp_postmeta ...
0
votes
1answer
151 views

Menu deletes all items and position - wordpress bug?

I just went through one of our sites and updated every plugin and Wordpress to 4.2.2. After upgrading I was supposed to do some menu changes, but after "successfully" saving the menu every item was ...
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
120 views

Ajax call through admin-ajax.php returns 404 error

I am trying to do a pretty basic AJAX request at the moment, just to test functionality, routing my calls through admin-ajax.php. However, every time I try to fire the AJAX request, I get a 404 error ...
0
votes
0answers
22 views

Filter to order Admin Custom Post List makes template query come up empty

In my template I query the posts like so: query_posts(array( 'post_type' => 'homeslide', 'meta_key' => 'slide_order', 'orderby' ...
0
votes
1answer
26 views

How to change the descriptive text on the menus admin page?

On the menus admin page, it says 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' I would like to modify this to ' ...
2
votes
1answer
473 views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
0
votes
1answer
34 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?
2
votes
1answer
49 views

How can I delete all inactive widgets?

I want to cleanup all inactive widgets. I tried following snippet as suggested by this answer Script to remove all inactive widgets?. $sidebars_widgets = get_option( 'sidebars_widgets' ); ...
0
votes
1answer
52 views

Seems that admin_post_{action} does not executing

I'm trying to proccess different actions of my plugin with admin_post_{action} hook. But following code seems not working class TestPlugin { function test(){ die('working!'); } ...
3
votes
3answers
172 views

How to make an admin_notices message that disappears once the user leaves that particular page?

It's easy enough to find help with admin_notices which: show permanently in the admin screen only show when a particular kind of page is shown show until the user dismisses it But I can't find ...
1
vote
1answer
27 views

How-to turn off mobile admin mode?

I want to permanently turn off the mobile admin interface, which I find incredibly annoying. What file do I need to edit to turn off the mobile admin interface? This question is not about WordPress ...
0
votes
0answers
28 views

jQuery .on() function on iFrame of WordPress Admin

I am trying to execute following code on an iFrame of WordPress Admin while developing a plugin, but it is not working. jQuery(document).on('click', '.subject', function (e) { ...
0
votes
1answer
20 views

Disable login on multisite web sites

I have a network of sites, and of course, all of them have their own admin panel at /wp-admin. I was wondering if it is possible to disable /wp-admin on all sites but on main site. So everybody logs ...
0
votes
0answers
27 views

wordpress login loop after install

I spun up a AWS instance to run a LAMP stack + the latest Wordpress (4.1.1). I am doing everything from the command line as root and do not use Cpanel or phpMyAdmin After creating the user + DB and ...
0
votes
0answers
37 views

Wordpress Widget Administration Javascripts do not work?

I have been working on a widget in WP 4.1.1 and cant seem to even get simple javascript to function on the backend unless WP is put into Enable Accessibility Mode. For example in your Form($instance) ...