Questions tagged [admin]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

Admin accounts unable to see plugins from external IP

I have a bit of a strange issue here, please let me know if I explain this badly. So I have created a new admin account ,for a remote developer, that has all the same permissions that I do. When I ...
1
vote
0answers
22 views

Are there mutiple ways to get usernames (as a hacker)

I built a new site and forgot to protect against the "?author=n" technique. I had 2fa on all accounts so no hacker got access to the site's admin. I've since fixed that security issue. Is there ...
0
votes
0answers
34 views

Use admin_notices Action hook

I am learning plugin development. I am submitting a Form in admin-post.php from Admin Panel. I would like to show a Admin Notice while a Form field is empty. My admin-post.php file is like below. <...
1
vote
1answer
35 views

Change the Labels of Users to Customers in Admin

Ok, I've been searching for over an hour for something I thought (and still think) is pretty simple. I need to change the title Users to Customers in the admin for a client. I can and have easily ...
0
votes
0answers
9 views

Reorganizing fields with out plugins on User Profile

I have an account details page and would like to re-organize the content on the back end so it mimics the same order of content. What is the best approach? I am also trying not to use a plugin. ...
0
votes
1answer
3 views

Highlight active Admin Menu when added though add_menu_page

I added a direct link to a page in the admin menu with the add_menu_page function. Once I click on the link, the About page edit screen opens, great. The problem though, i want the About menu item i ...
0
votes
0answers
23 views

Confused where some of these admin menu items came from

I am working on a client's site. I noticed they don't have a Post admin menu item and instead have a Products. I also have a download center and a few other admin menu items. However, when I go ...
-1
votes
2answers
9 views

Some Admin disappeared

Last week I added WooCommerce and YITH (catalog mode). All seemed fine. Today, I log in and I no longer see (in the left admin sidebar) the following items/tools: ‘Appearance’ (with theme and such) ...
0
votes
0answers
24 views

remove screenshot.png via dashboard

How can you remove screenshot.png, or change it if removal is not an option, via the WP dashboard? I know you can do it with FTP. Thanks.
0
votes
1answer
17 views

How to hide private posts even if user is admin

Even if admins, I dont want to view private posts for custom post type. Added the following code. function my_function( $query ) { if ( ! is_admin() && ( is_singular( 'my_post_type' ) || ...
0
votes
0answers
19 views

Hook into 'admin_url' but only on Mysites admin bar menu

I'd like to alter admin url only inside "My Sites" admin bar menu.. I tried this filter: add_filter( 'admin_url', function( $url, $path, $blog_id ){ return $url . "str" }); but when I do that it ...
0
votes
2answers
25 views

Unable to filter on field on edit.php page

I'm borrowing from the code at Add filter menu to admin list of posts (of custom type) to filter posts by custom field values to add a filter to my custom post type with the parse_query filter: ...
0
votes
1answer
26 views

Add column and post filter for a custom post type field on the edit.php page

I have a plugin that creates a custom post type that has a custom field generated with the plugin. The custom field is stored in the database as a meta key called status. The value of this meta key is ...
0
votes
1answer
39 views

Wordpress colorpicker save both hex and RGB

Trying to get both the hex and RGB value of a color from the native color picker in Wordpress, user chooses the color via a custom metabox in the admin. Just need to save both values as meta for re-...
0
votes
0answers
37 views

Jquery no more loading, load-scripts.php not found (404)

When I open my wordpress website admin panel jquery is not working anymore (it worked yesterday and I don't see what I changed that can explain that). The first javascript error I have is GET https://...
0
votes
0answers
10 views

Restrict adding more administrator accounts

How to limit number of WP site admins to i.e. 2. So if current WP admin wants to create new admin, old account need to be deleted. (this can be added even on database level) I need this feature to ...
0
votes
2answers
25 views

Showing User's Post Counts by Custom Post Type in the Author.php?

i see code in link how to showing User's Post Counts by Custom Post Type in the Admin's User List, but i want show posts count in author.php Showing User's Post Counts by Custom Post Type in the ...
0
votes
1answer
8 views

Login to admin by frontend form?

I'm developing a website by wordpress, customer want I build a custom login page and login by email, not username. And admin page with custom url '/manage/' Below my code for login: $email = $_POST['...
1
vote
1answer
25 views

Allow administrators to pick post author on custom post type edit screen

I need to be able to allow Administrators to choose a different author for a post they create or edit in admin. I've added the post author capability, and the select field displays on the edit screen,...
0
votes
1answer
20 views

How do I scope out why I have two “posts” menus in an admin?

A site I'm working on has an odd problem: two sets of "posts" menus in the admin. The client brought me on board and says "it's been there a while". How would I go about finding out why there are two ...
0
votes
1answer
16 views

Is There A Plugin to Create WP Multisite Installs programatically

So I created a wordpress multi-site and I want to be able to create multiple sites in the network programmatically. My subscription service has an API so I can create username and passwords on the fly ...
0
votes
0answers
18 views

Client side pre-save Javascript hook on all admin pages

I'm planning a Wordpress plug-in and new to the process. I have read about admin filters and actions which get executed server side. Is there any way of intercepting admin page submits globally on the ...
0
votes
0answers
14 views

Load time of Meta Box fields too long

I use WordPress and Meta Box plugin in a lot of websites. But I have a problem with one of them, the edit page of one page is too long to load, because I need to use a lot of editors with Meta Box on ...
0
votes
2answers
13 views

Error 404 Display on otherlinks apart from homepage

i transfered wp hosting to godaddy only the homepage displays i get 404 error when click on other links.. (The domain name is hosted on namecheap tho and i changed name server from the former hosting ...
1
vote
2answers
45 views

admin_notices not working in post editor

I'm trying to fire an admin notice from within a pre_insert_term filter (have also tried it as an action). Example: add_filter( 'pre_insert_term', 'pre_insert_term_action', 10, 2 ); function ...
0
votes
1answer
24 views

Reset Wordpress admin users to limit access

I have a client with a Wordpress website currently hosted on Siteground. They are worried that someone else has access to their Wordpress admin user account (only one user I can see in the back end) ...
0
votes
0answers
16 views

add_settings_error - Settings API

How would I be able to return the saved get_option call when an empty field is set? Usage: When an user changes an input to empty, return the old value that's set using get_option('insta_id'); and ...
0
votes
0answers
12 views

Add new Add Page button

I would like to add a new button next to the Add New button when viewing the list of pages in the WP admin. I would like this button to create a new page, but set the page template to a specific one. ...
0
votes
0answers
17 views

Not saving empty text field in WordPress

I have it where when someone leaves a text field empty in the WordPress admin panel, it will display a admin notice and still save the results to options.php. I'd like to grab the value of 'insta_id' ...
1
vote
0answers
22 views

Limit entries number on network/sites.php

in order to limit the memory usage of my page, I need to limit the entries number on the page sites.php (for network management) I tried to a filter with $pagenow == sites.php but that didnt work. I ...
0
votes
0answers
52 views

Is it possible to push admin notices to one specific user instead of all users?

guys. I wonder if it is possible to display an admin notice to the user with the ID of, say, 3, while all other users won't receive the notice?
0
votes
0answers
33 views

How to display a WordPress notice on create_term action

I am hijacking create_term to do stuff when a new term is created... // Fire the function when new term is created add_action( 'create_term', 'process_term', 11, 3 ); function process_term($term_id, ...
0
votes
0answers
16 views

How to disable theme editor “error” nag

When making small changes to my live site using the theme editor (for bigger changes I'd just grab a copy of the whole site as a development version and make changes to that locally), I get the error ...
1
vote
1answer
15 views

How to allow an editor to edit all WordPress blog posts but have the last say as administrator?

I run a simple WordPress setup hosted on SiteGround with no staging area and no special roles. The blog grew so much over the last few years that I barely write any content anymore. I send a content ...
0
votes
0answers
22 views

wordpress Account Management generate password missing on my laptop

The button to generate a new password is completely missing in my user accounts on my laptop. Wondering if this could be a security thing? I run a few wordpress accounts and it isn't showing in any of ...
0
votes
0answers
6 views

Admin dashboard - How to Show specified category widget based on other category selection

that's my first time to ask a question here, i need to do a simple trick in WordPress Dashboard. there's a custom tax called "Country" with another one called "States". I need to add an ACF field in ...
2
votes
1answer
33 views

Why is my multisite installation not showing all the available sites?

Please check out the image below, there are four sites listed on the right side but only three of them appear on the drop down menu on the left. The site that is missing is not the main website.
0
votes
1answer
23 views

Unable to access admin web page

When I try and access the web-admin page I get a message; Your server is running PHP version 5.5.38 but WordPress 5.2.1 requires at least 5.6.20. I recently upgraded PHP to version 7.3. I have ...
0
votes
0answers
16 views

How to create custom administrator panel page or subpage?

I'm struggling with creating custom subpages in wordpress admin panel. I'm interested in creating any custom subpage, which is going to look like a default administrator screens with some ...
0
votes
1answer
54 views

Wordpress - add help text under category list(right side) in post edit page

Is there any way to add help text under category list(right side) in post edit page ?
0
votes
1answer
20 views

How do I delete a wordpress user from giant database?

The native wordpress delete users page is unable to load for us, as we have hundreds of thousands of user accounts that it queries and loads into a drop down menu every time the page is loaded. ...
0
votes
1answer
68 views

Can not add admin notices from the edit_user_profile_update hook (notices not being displayed)?

Writing a little plugin my code is like this: add_action( 'edit_user_profile_update', 'sulock_save_profile_fields' ); function sulock_save_profile_fields( $user_being_edited_id ) { if(...
0
votes
1answer
167 views

Admin account only shows Profile and Dashboard with no activity

I received login credentials from the person that maintains my company's website. When I login, there is virtually no information on it. I can only access the dashboard which has no activity on it. ...
1
vote
1answer
37 views

creating custom rewrite rules for admin pages

How would I setup a custom rewrite rule to redirect /wp-admin/(page-slug).php to /wp-admin/admin.php?page=(page-slug)
0
votes
0answers
13 views

How to change post_author when making a user as admin programmatically

When making a new USER in the backend singed in as admin, wp_posts signed assigns the post_author of that of admin, I need it to be changed so I can have search results reflect that of the actual user....
0
votes
0answers
27 views

Page not adding in admin using admin_menu action

I am trying to add a new page to the admin area: add_action('admin_menu', 'laksh_advert_menu'); function laksh_advert_menu() { add_menu_page( 'Advert', 'Advert', 'edit_posts', ...
1
vote
2answers
269 views

Remove Order List Row Link in WooCommerce Admin?

I wanna remove the functionality of when you click on a order row in Orders in Admin, you will be sent to the edit page for that order. I know it's added with jQuery in a js-file in the WooCommerce ...
0
votes
2answers
274 views

Can't access wp-admin, redirects to http://%24domain/wp-admin/

I have a WordPress website on a Digital Ocean VPS which I've come back to and tried to log into the admin panel through the 'wp-admin' link. For some reason I can't access it now. The website gets ...
0
votes
0answers
34 views

After upgrading to WP 5.1.1 sometimes I need to reauth infinitively

I have some blogs, and after upgrading to 5.1.1 I always have to reauth myself. If password/username is wrong, I got that error message but if I enter right data, the page simply reloads. So I go to: ...
0
votes
1answer
178 views

Editing the term_order field

Can I add the term_order field to the terms edit page? I need a text field, not a sorting plugin. Thank.