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

Private post hidden from Admin too

I have a strange problem. I am running a woocommerce site with several levels of privileges/roles. I wanted to reserve a group of products for specific users and was anticipating modifying the user ...
6
votes
2answers
582 views

What is the real intention for admin-post.php?

While looking for proper form submission handling in plugins for users (frontend) I've stumbled upon this article Handling POST Requests the WordPress Way, which encourages to use admin-post.php for ...
0
votes
3answers
2k 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 ...
0
votes
0answers
35 views

How to add a dynamic image as a widget in dashboard

I'm trying to add an image as a widget on the dashboard screen like this: This is an ads image, which will be seen only by users with read role and that too will be changed every month. Already I ...
3
votes
1answer
1k 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 ...
6
votes
6answers
4k views

How to hide admin account in BuddyPress? (for security reasons)

I have been working with WordPress for the past 3-4 years, but I am new to BuddyPress. I would like to hide the admin account completely from BuddyPress for security reasons. For example with a ...
0
votes
1answer
19 views

Delete all blogs on multisite

I'm writing a function that will delete all blogs (except the main one) from a multisite, the function is dieing whenever I call wpmu_delete_blog and I've got no idea why. $blogs = wp_get_sites( ...
0
votes
1answer
32 views

wordpress ajax return 0

I'm tryng to set up a panel, this one The menu on the top calls different ajax functions in order to display a thumb. Clicking on the thumb you can see the details in the last box of the panel. I ...
0
votes
1answer
37 views

issue in wordpress auto delete post and redirect to another 1

i am getting strange issue on WordPress, my site is huge traffic and database. one thing.. my WordPress is updated 4.4.2 all plugins updated. now i get issue when i publish new post most of the posts ...
0
votes
1answer
35 views

wp_category_checklist won't show up for non-admin users

I have a product registration page with a form in which I use wp_category_checklist() to make my users select categories. This works great only, I just today noticed that only admin's can use the ...
0
votes
0answers
9 views

I need to add table records from an admin menu page

How do I keep control of a admin menu page that I create via 'add_options_page'? I have built a "demo" plugin that creates an option page. This was through a tutorial and the page that was created ...
0
votes
1answer
194 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
2answers
1k views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
-2
votes
1answer
55 views

One folder to be accessible by one user

so I am making wordpress website and the idea is that I want to upload different files for the different users but I want the user to see only his files.The problem is that when I copy the url that ...
0
votes
1answer
121 views

Set a default category - if the user didn't select one- before creating a post

Is there some option hook to set a default category for a custom_post_type when the user didn't choose any ? For example in RoR it's very simple - by using before_save filter you can set whatever ...
0
votes
1answer
22 views

Adding admin for specific users

I was developing a website and I ran into this issue where I need to provide an "admin" account that can monitor registered user activity on my site. Now I don't want one "admin" to view users that ...
0
votes
1answer
28 views

How to make sure your admin doesn't hi-jack you site?

I have a domain and I would like to hire someone to develop it. Could it be possible to give him full control, yet be safe that he does not hi-jack the site. Or the only way is for me to be the admin ...
0
votes
1answer
43 views

Redirect admin 403 “Cheatin uh?” admin pages

Blocking role capabilities on the admin returns the 403 "Cheatin Uh?" page. What is the best way to redirect this to 403 page to perhaps the dashboard, homepage, or a custom 403 page? I know I could ...
0
votes
1answer
91 views

Send admin to a different login than users?

I have created a separate login page on /login/ and have wp-login.php redirecting there as well - I have also hooked into a few WP login related hooks such as wp_login_failed so that people get ...
0
votes
0answers
51 views

Add tab to profile.php wordpress plugin development

I already know how to add an extra field in user profile. But in my case I have A lot of field to add and It is good practice that your form is not too long. So I decided to implement tab panel in the ...
0
votes
0answers
18 views

Display custom wp_before_admin_bar_render link only for subscribers

I have wp_before_admin_bar_render link called applications . I want this link exclusive only for subscriber users. Here is my code. add_action("wp_before_admin_bar_render", "add_event_app"); ...
7
votes
2answers
2k views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
1
vote
0answers
29 views

Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?

Is it possible to have the Editors to change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published? I can hide the button for non admin but I ...
1
vote
1answer
68 views

Admin Options page. Save as Array

I'm not great with PHP. I've just created a WordPress admin options page and it works OK: // Admin Menu add_action('admin_menu', 'my_cool_plugin_create_menu'); function my_cool_plugin_create_menu() { ...
-1
votes
1answer
67 views

You do not have permission to access this document on form submit

I have few little problem. If i submitted the user credential for login no matter login detail correct or incorrect page goes to Forbidden on submit button. What i do for this problem Forbidden page ...
0
votes
1answer
43 views

Admin bar is disabled in front

I'm having a problem and i cant find any solution at all. i have a wordpress site with a theme and all of a suddenn after changing only the footer height with css it dissapeared the content of the ...
0
votes
1answer
363 views

wp.template() Not a function

When I console.log(wp) the object only includes: -wp.emoji -wp.heartbeat -wp.svgPainter Script is loaded in the footer and last in the DOM. What am I missing?
0
votes
0answers
23 views

add post type support not showing edit author options for all users

Need to allow all users (admins) to be able to edit the authors of a post. Added this to my wp-admin.php in the inc/functions folder but is hasn't worked: add_action( 'init', '...
0
votes
2answers
36 views

Which hook for processing plugin page form data?

Which hook should I use for processing form data from my plugin pages. I currently use "admin_init". Is that correct? Was this hook intended to be used this way?
0
votes
2answers
23 views

Output the admin menu_position for each item

Is there a function I can use which will temporarily output the menu_position of every item in the admin menu? While trying to reorganise the admin menu, the single largest thing slowing me down is ...
1
vote
1answer
78 views

Edit page's “Restore the backup” link does nothing

Every now and then WP logs me out and a pop-up requires me to log back in. After this happens and I am back in, I try to save some changes to a page I'm working on, but there is an error like "Are you ...
6
votes
3answers
5k views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
0
votes
1answer
59 views

How to disable https from wordpress site?

I have installed my wordpress instance on https://cti-uitutorials.rhcloud.com. While changing the url to http://ctisleeperadi.in/ . all the admin related page still use the https, this resutls in ...
-3
votes
1answer
47 views

Woo Commerce Settings for Check-out Form [closed]

I am using Woo Commerce and am trying to change the settings that display the "Need Assistance? Call Customer service @ ....." and "Email then at ..." on the Checkout page: https://www....
0
votes
0answers
58 views

add_menu_page and URL parameter

It is possible in WordPress to add a url parameter to the add_menu_page slug? Only found solutions for a submenu page. Odd thing is that if i add a node to the admin bar which has the link 'admin.php?...
0
votes
0answers
62 views

Allow Admin to edit Custom User Role Custom Post Type posts

I have created a Custom Post Type of 'Listing' so that users can add listings by signing up to the website. I have also setup a Custom user role of 'lister'. So, each user (lister) can sign up to the ...
0
votes
3answers
430 views

Redirect from the dashboard to edit.php if wp_is_mobile() is true

Looking for a way to redirect the user from the dashboard straight to edit.php if wp_is_mobile() is true. This is what I've tried: function redirect_if_mobile() { $screen = get_current_screen();...
0
votes
0answers
7 views

Change the highlighted Admin Menu Page?

I want to add a shortcut for editting a Page to the admin menu sidebar. Let's say the name is "Home" and its Page ID is 10: add_menu_page( "Home", "Home", "manage_options", post.php?post=10&...
1
vote
0answers
34 views

Unable to upload image using the standard uploader in the WP admin (v4.3)

I am running WordPress 4.3 and in the admin I am no longer able to upload images using the standard upload image tool. I am taking over a project from another developer so don't know exactly what he/...
0
votes
0answers
20 views

Export searched results in admin

I'm looking for a way of exporting searched data in an admin list of custom post types in a csv file. I've add some custom filters that allows user to search specific items. Basically I would like to ...
0
votes
1answer
27 views

Posts in Admin only display 1 Post instead of all

When I run wp-admin/edit.php I normally should get a list of all Posts. WordPress 4.3.1 running Avada Child theme. But I only get the last Post in the list. All (8) | Published (7) | Draft (1) As ...
0
votes
2answers
4k views

Super slow admin panel

My admin panel in wordpress is super slow. I disabled all the plugins, I changed the theme to "Twenty Eleven" and I updated Wordpress. Still, the admin panel is very slow. I have 2008 posts and 6 ...
0
votes
0answers
15 views

Redirect all currently logged in administrator to a particular page when pages are already loaded

I'm working on a Wordpress plugin. The plugin file waits for a POST-request from an external server. I want all currently logged-in administrators to be redirected to another page once the request ...
0
votes
1answer
352 views

How do I fix “You are not allowed to edit this item.” for Admins on existing posts?

I'm doing some work for a new client (non-tech, their former tech person left). Their version of Wordpress is 4.3.2. I have an admin account and I'm unable to edit existing posts. I can create new ...
0
votes
3answers
44 views

I installed Wordpress locally now how do I login?

I downloaded a WordPress website that I am modifying for a friend. He gave me access to cPanel, where I downloaded the SQL and changed it on XAMPP. Now when I open >localhost/wp it opens the ...
0
votes
1answer
56 views

Featured image on post edit page not loading over HTTPS

Our site uses TLS and to the best of my ability I've forced TLS everywhere. I've defined FORCE_SSL_ADMIN to be true and also tried the following filter which I've borrowed from the plugin SSL Insecure ...
0
votes
1answer
27 views

How do I diagnose a plugin resource 404?

I'm doing some work for a new client (non-tech, their former tech person left). Their version of Wordpress is 4.3.2. The site gets some JavaScript errors on load. Using the Console I noticed two ...
0
votes
0answers
29 views

Define JSON file values by admin user

I have couple of long JSON files with predefined keys and want to have the values updated by the admin user. So I'm looking for a way where the developer (SuperAdmin in my case) can upload a JSON file ...
0
votes
0answers
23 views

Register setting not working with multiple checkbox

I created a new setting field with multiple checkboxes in my WordPress admin. However the value of the field new_setting not saved correctly. It should be an array, but after I do var_dump(get_option(...
0
votes
1answer
34 views

Signed-in as admin on just part of the site

I recently upgraded from WP 3.1 to 4.4.1. In the new setup, I am apparently seen as signed-in (as an admin) just on parts of the website (/blog/*) but not on other pages (that do not have the /blog/ ...