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
3 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
15 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
9 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
25 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
22 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
16 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
15 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
19 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
19 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
10 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
137 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
89 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
26 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
65 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
10 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
18 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
456 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
24 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
33 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
20 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
147 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
20 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
20 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
14 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
24 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
28 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) ...
0
votes
2answers
107 views

Manage users custom column add class “num”

I have customized my admin users column to show the purchased leads of a role "lead buyer". The value of the column is a decimal (the number of leads). The "posts" column of the users table has a ...
0
votes
1answer
29 views

Remove Duplicator plugin from admin menu if not an administrator

I'm having a bit of trouble removing the menu item added by the Duplicator plugin (https://wordpress.org/plugins/duplicator/) from the admin menu if the user is not an administrator. I am able to ...
0
votes
1answer
62 views

Hiding by default specific post status on backend list?

I created various custom post status options (like default ones: "published", "draft" and so on) and one of them is "project closed". I need to hide/exclude by default from post list in the backend ...
0
votes
0answers
9 views

Unable to log in to wp admin after migrating and changing urls

Front end is working fine and site is displaying as it should however we are unable to log in to wp admin. When entering user name and password and clicking log in the page refreshes without any error ...
0
votes
1answer
39 views

How to filter posts in admin by before date or by post status 'future'?

I have read/searched a ton of questions but all I find seem to be related to custom post types and such. The situation is that sometimes we happen to have a lot of posts waiting for to be published ...
0
votes
1answer
39 views

Plugins & Setting Menu Items Removed From Admin Panel

I am unable to add any new plugins and can't see menu settings as well. I think it's been disabled. How do I bring these admin menu items back? Here's what my admin panel currently looks like:
1
vote
2answers
27 views

how to change appearence of the content of default post list columns?

Speaking about backoffice here. I usually add columns and filters to the backoffice for certain custom post types. No problem here. BUt what if I would simply like to change something on the content ...
4
votes
1answer
140 views

How to remove list view from media library?

I'd like to remove list mode from media library and let users see grid-mode only. I've seen it's a matter of $modes = array( 'grid', 'list' ); in upload.php but I don't want to mod the core.
0
votes
1answer
57 views

Adding hero images to blog posts

I'm having some trouble finding the solution for my problem stated in the title. To describe it more clearly, then I would like to add some kind of functionality to the wordpress post section in the ...
0
votes
1answer
164 views

Admin: global $post empty

I tried to get $post var outside function php in wordpress admin panel. The only way that I find to access to $post is to add_action. However I want to get this var outside the add_action and global ...
0
votes
1answer
25 views

Excerpt showing under title in admin columns

I am developing a site for a client, but i am facing a weird issue that is excerpt by default shows under title in admin columns. This is happening for all post types including custom post types. I ...
0
votes
0answers
19 views

How do I transfer an existing website running on Joomla to Wordpress?

I am currently the Admin of a site that is running on Joomla 2.5 and I am looking to migrate existing content to wordpress. Please help.
0
votes
0answers
8 views

Admin user with just “read” permissions

How can I have a user level who can see everything a normal admin sees, but who can't edit anything? Basically a read only admin. To let a client have a look at the control panel but without letting ...
0
votes
2answers
40 views

Wordpress multisite, allow non super admins to create sites

I'm creating a wordpress multisite for at costumer to uses with his own customers. He need to be able to create a site when he get a new customer, and his customer should be able to control the the ...
0
votes
0answers
23 views

Admin pages showing up blank on WP3.3.1 fresh install (1 post)

Hope someone can help here. I have a website running 3.3.1 (for numerous reasons, sorry but it can't be helped :P). The problem is that when I go to website.com/wp-admin/ the pages show up almost ...
0
votes
1answer
87 views

get_post_types not working properly in admin

I'm trying to get all post types (custom & built_in) but it's only gives me only built_in ones in admin. I can get all of them in root (5 with builtins included) but in admin, i can only get 3. I ...
1
vote
1answer
58 views

Permanently activate WordPress theme

It it possible to permanently activate a theme so that it cannot be disabled or changed? Something similar to: define( 'WP_DEFAULT_THEME', 'apollo' );
0
votes
1answer
18 views

Customising the admin columns for a custom post type, but now most of the built in categories don't display?

Our admin dashboard list of our custom post type shows by default two columns - title and categories. We want to improve the list, and to add the foobar custom field. So we do that as follows: ...
0
votes
1answer
19 views

Disabling “View” mentions from backend?

I'm using wordpress as a content manager or something, so i'm using backend only (and i've disabled the frontend with a ghost theme which redirect to the admin panel). The question is: how could i ...
0
votes
0answers
23 views

assign custom post type to another post type

My question is based on those answer: http://wordpress.stackexchange.com/a/85281/68506 and http://wordpress.stackexchange.com/a/5778/68506 What I need is 2 dropdown from a custom_post_type in ...
0
votes
0answers
17 views

hide the administrator from the users dashboard

How can I hide the administrator from the users dashboard after wp-admin login? All the options I have found here are for older version of Wp and do not work. WP Version 4.1.1
0
votes
2answers
66 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
1answer
101 views

how to display “Edit | Quick Edit | Trash | View” in custom WP_List_Table column?

I have removed "Post Title" in admin column, and created a custom column. Is there any way to the display "Edit | Quick Edit | Trash | View" link?
0
votes
1answer
26 views

How to enable reply button on mostly deeply-nested comments? [closed]

I have a blog on wordpress.com, using the Twenty Twelve theme. Background In my experience, on wordpress blogs with nested comments, the reply buttons only show on individual comments when their ...