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
0
votes
0answers
13 views

How to create shortcode on the fly in an admin panel?

I have create a plugin with a panel in administration's. Inside it, there is a form and when the administrator submit the form I want to create a new shortcode that the admin could use after in his ...
0
votes
1answer
17 views

WordPress Admin Page

... I moved the account link to the trash bin, and I'm not able to access it, I've login, but I am not able to make changes or able to logout, how can I restore the Admin page, thanks!
0
votes
0answers
10 views

Shop in Subdomain feeding main domain order in admin area

I am working on a client's website which runs on wordpress and woocommerce, and they want to restructure their website. But it's how they envision it all working with their admin staff that is a cause ...
0
votes
1answer
15 views

Add category label for appearance > menus items

I have multiple pages with the same name under the different category at my wp site. The issue I'm having is that it is hard to distinguish which I need in the Appearance > Menus section. I was ...
1
vote
1answer
15 views

Admin pages, edit notes of the title of posts and pages

Here is a screenshot of the admin console pages I find here a description of the page on the title column (marked in RED), I would like to add such notes on pages I create or edit the ones already ...
0
votes
2answers
69 views

How to Update the Order-Items While Editing an Order on the WooCommerce Admin Order Screen [closed]

Is it possible to edit order item totals and custom fees in the woocommerce admin edit order screen? The only hook that I can find is woocommerce_new_order_item, but when I add/remove a product in the ...
0
votes
0answers
25 views

Ignore posts content in the posts queries for internal linking

I am looking for a filter to ignore searching in posts content from the posts editor which is natively using the link function. https://developer.wordpress.org/reference/classes/_wp_editors/...
0
votes
0answers
15 views

Exclude post_excerpt and post_content from WordPress admin search query

I am trying to exclude post_content and post_excerpt fields from WordPress admin search, since my database has grown up and every time I seach for a simple keyword, I have to wait for many seconds, ...
0
votes
1answer
28 views

Removing wp admin menu item on top bar of admin backend

I have managed successfully to remove the not needed menu items for user role 'editor'. Now I have one item left on the top bar that makes Editor add new post page and other items which I need to hide....
0
votes
0answers
10 views

cannot access the wordpress dashboard after changing the site url

I have changed the site url in bluhost, from then unable to open the site and page promts me sever IP address could not be found err-name-not resolved. i have checked php admin database both the site ...
0
votes
1answer
19 views

How To Remove “All, Publish, Draft and Expired” in Events Dashboard

I have been looking for ways to completely remove the All, Publish, Draft and Expired events for USERS other than the me, the Administrator. So the scenario for me is: I have registered users. When ...
0
votes
1answer
35 views

Stop Expansion of Top Level Menu in the WordPress Admin Sidebar

Can anyone tell me how to stop the top level menu items in the WordPress Admin sidebar auto-expanding when that top level item is clicked, or a submenu item chosen from the fly-out menu? For clarity, ...
0
votes
0answers
16 views

Can I retrieve Published changes when changes have been Saved but not Published in Wordpress Semplice?

I have made changes to pages in the Wordpress Semplice theme and have saved them. However they are not published. The original content is still Published on the live site. Is it possible to retrieve ...
0
votes
1answer
20 views

Dashboard menu missing

I've lost the wp_users and wp_usermeta tables in a wordpress installation. I've recreated them and insert a new admin user. In particular, in wpAA_users (I use the prefix wpAA_), I have now a user ...
0
votes
0answers
21 views

WP site is sending notifications to an email that is not saved anywhere in the website

Whenever a new comment is submitted, or admin email is changed, or any action that by the default triggers the email notification occurs, my WP site try to send that notification to another email ...
1
vote
0answers
16 views

Can't access dashboard as administrator, login as any other level works though

Logging in as admin gets message 'you are not allowed to access this page' logging in as anything else works as normal. Have tried all the usual fixes, disabled plugins/themes restored backup etc no ...
1
vote
0answers
17 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
25 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
37 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
39 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
10 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
5 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
26 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
13 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
26 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
19 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
22 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
26 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
32 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
44 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
98 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
29 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
9 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
23 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
21 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
135 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
28 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
18 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
13 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
21 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
41 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
20 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 ...

1 2 3 4 5 32