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

learn more… | top users | synonyms (1)

0
votes
3answers
853 views

How do I add some javascript validation to the admin interface form's onsubmit?

I have a plugin that adds meta boxes to the admin interface and I need to do some validation when the user presses the "update" button before the form is submitted. Is there a WordPress action or ...
2
votes
1answer
882 views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
7
votes
2answers
4k views

Any guides on creating custom admin pages?

I basically want to create a table (preferably AJAXified) that lets the user enter a line of information, and be able to add new lines of information, and delete selected ones. I've found this post ...
-1
votes
1answer
26 views

Import a gallery and edit it in admin page? [closed]

I want to the import/copy a exact gallery on http://www.skidstahus.se/vara-hus/ to my page and make it editable in the admin page, so I could add new pictures and info. With the gallery I want to ...
0
votes
0answers
15 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 ...
2
votes
2answers
2k views

Create any admin page with tab menu on that

I am very new to WordPress and here I want to create one admin page with tabs as shown in image How can I create such page with these tabs?
0
votes
0answers
25 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
4 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
14 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 ' ...
0
votes
1answer
673 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
1answer
414 views

how i can hide some category from author admin panel?

i want author can not see some category from author admin panel but administrator can see that.how i can hide some category?my site http://techjagot.com .. here show some function.php code <?php ...
2
votes
1answer
639 views

Admin Area Custom Type Search By Meta Fields Without Title & Content

I have a custom post type that uses several meta fields. In the admin area I would like to be able to search by those meta fields. I have implemented this currently in my functions.php with this code: ...
0
votes
1answer
19 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
2answers
177 views

How to disable the “Your site has updated to WordPress x.y.z” admin email?

Using the automatic update of my self-hosted WordPress blogs, I configured automatic updates of both the WordPress core as well as WordPress plugins and themes (through this plugin). Whenever a core ...
2
votes
1answer
443 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 ...
3
votes
3answers
137 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 ...
5
votes
7answers
5k views

Admin Ajax is returning 0

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
2answers
92 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
2
votes
1answer
28 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
16 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!'); } ...
0
votes
1answer
547 views

Issue displaying multiple TinyMCE editors with WPAlchemy

I have a custom post type with a WPAlchemy admin meta box class including multiple textareas with TinyMCE editors(for adding content to the custom post template). I've gotten the editors to display ...
42
votes
7answers
21k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
0
votes
2answers
99 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
17 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
16 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
10 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
1answer
514 views

How to get a value from wp_dropdown_user?

In the admin dashboard, I want to show a list of all users (done so far by wp_dropdown_users) and then take the selected userID and use it as a parameter in another function. :) Sounds easy eh. I've ...
0
votes
1answer
616 views

Can't access Admin section of Wordpress using MAMP

I have been developing a Wordpress site locally using MAMP, and I have run into an issue twice now where when I leave at night and come back, I can't access the admin page. I have debugging on, and ...
0
votes
0answers
21 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 ...
15
votes
4answers
10k views

Add a Separator to the Admin Menu?

Does anyone know how to add an admin menu separator? I found this but it did not help. Any ideas?
0
votes
0answers
25 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
1answer
143 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 ...
1
vote
4answers
202 views

Adding help information to custom post edit page

I have two custom post types created (using Types plugin) with a bunch of custom fields. I need to add a help information, instructions for admins that will show at the top of add new/edit CPT page ...
5
votes
2answers
4k views

How to set back-end language per user?

I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
0
votes
3answers
2k views

Remove ability to access certain admin menus

I am trying to remove some of the admin features for a user with the role of contributor. What i mean by remove some of the admin features is disable them from seeing certain admin menu items, such as ...
0
votes
1answer
35 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
54 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
1answer
26 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
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
36 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
25 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
101 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
42 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 ...
2
votes
1answer
91 views

Is it possible to hook AJAX to UPDATE-button?

I have a site with a custom post. When I enter that custom post in admin (edit)-page then a form is rendered. This form takes like about 2-3s to render - it's a lot of of values in it - both hidden ...
0
votes
2answers
37 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
1answer
16 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
16 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
5answers
6k views

How can I restore admin capabilities?

So yeah, I'm a genius. I managed delete all my admin capabilities (thank you very much Membership plugin). I could restore them, ...if I had admin access, lol. Anywhoo, how can I give all my ...
0
votes
2answers
335 views

Add Custom Script in Other Plugin's Options page

I am trying to put a custom inline JavaScript is an options page created by a plugin. The page URL is like this wp-admin/admin.php?page=psbg. This is the code I am using to output my script at the ...