Questions tagged [wp-admin]

Tools for site administration located in the `wp-admin` directory of a WordPress site.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

I need to disable 'woocommerce_hide_out_of_stock_items' when is_admin()

I have woocommerce_hide_out_of_stock_items option enabled, which works well. However, I am using SearchWP engine and I have enabled admin searches for this engine as well. When I search for some ...
0
votes
0answers
15 views

How can we get this dynamically as this folder may not be by the same name always → wp-admin

action="/wp-admin/admin.ajax.php?action=slb_save_subscription" The above is a part of the code in WordPress, but I have read somewhere in the past that these folders can be changed. How can ...
0
votes
1answer
25 views

Difference between admin and user admin

What is the difference bewteen the Admin and User Admin concepts? You can find them in different places, like: _user_admin_menu or is_user_admin() _admin_menu or is_admin() I did not find a clear ...
0
votes
0answers
13 views

Disable customer Login

I'm looking for a way to disable the login but only for customers. I know I can deactivate their accounts but I need to do that in bulk. Thanks in advance!
0
votes
0answers
18 views

How to optimize the opening speed of admin panel?

Now my access to the WordPress post editing page is abnormally slow and I have to wait 30 seconds or more for it to finish loading each time. Initially, I thought it was a problem with the network ...
0
votes
0answers
16 views

Is it possible to give a classname to specific comments in the Wordpress admin?

Is this possible? I'd like to go into wp-admin, click on a comment and give a class for a specific comment. Would it be possible to do so? If so, could you please help?
1
vote
0answers
6 views

Admin access for custom user capabilities

I've got a site with a lot of custom user roles and capabilities, and I'm trying to allow users with a new capability 'admin_panel_access` (set up via User Role Editor) to access the admin dashboard. ...
0
votes
1answer
13 views

Not able to access WP Admin, it says “Sorry, you are not allowed to access this page.”

All of a sudden we are not able to get to the admin panel of the website. Once I log into /wp-login.php it redirects me to the homepage or /wp-admin (depending on whether I visited wp-admin in logged ...
0
votes
1answer
18 views

Why can I log into wp-login.php and not wp-admin.php?

I have recently changed the config.php file in Wordpress in my FTP because the URL was wrong ( I did it with define('WP_SITEURL', 'http://www.myyyysite.com'); define('WP_HOME', 'http://www.myyyysite....
0
votes
0answers
9 views

Cookie problem with mixed domain and subdomains of a multisite installation

I'm struggling with cookie configuration in wp-config.php when having a multisite hosted on a domain, and sites on others domains, and some in sub domains of other.. like this toto.com fr.toto.com ...
0
votes
0answers
10 views

Capability for showing comments page in admin

I have created a new user role "advertiser" and added some capabilities. Advertiser has access to admin comments page /wp-admin/edit-comments.php and I need to know, which capability set to ...
0
votes
0answers
22 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function

So I'm learning modern WordPress Development and I'm using classes to organise code etc. I'm having a problem where I'm getting the message: Warning: call_user_func_array() expects parameter 1 to be a ...
0
votes
1answer
12 views

Is there a plugin for Wordpress for creating 'Accounts' where all users who belong to that Account can only see Account data? [closed]

Is there a plugin for something where I can group users into an 'Account' and then one particular Account is restricted to seeing only content targeted to that group (therefore a user would need to be ...
0
votes
0answers
8 views

How to add term_id to tags list

How to add term_id to tags list in admin post like photo : Example : tag name - id:15 tag name 2 - id:845
0
votes
0answers
7 views

How do you prevent redirection when logging in as an admin?

I am logging in as admin to this local website: http://localblog.asparagus.com/wp-login.php?hide_my_wp=555 but after I login, I am redirected to: http://local.asparagus.com/wp-admin.php I went ...
0
votes
0answers
17 views

Removing “Try out Premium Version” notifications from plugins [closed]

I'm currently using Premmerce for a website, and I'm perfectly fine with what the free version of it offers. But the plugin periodically pelts users with annoying notices to "try the premium ...
0
votes
3answers
16 views

wp-admin going directly to 404

Recently, I was having an issue with all wp-admin pages. I was able to login and see the dashboard, but every time I went to another admin page I would get a 404. So after some searching, I started ...
0
votes
0answers
5 views

Any way to autogenerate a custom post with next 7 days of another custom post type in wp admin?

Currently, I have a custom post type of Event which uses WP_Query to get the next 7 days of events and places them into a carousel on the homepage. I am looking to further the functionality but ...
0
votes
1answer
37 views

How to break line / add <br> to ADMIN menu

Disclaimer: This question is not about "frontend" nav menu I am looking for a way how to break line in a menu item label in WP admin sidebar menu, sidereason is that the custom post type ...
0
votes
1answer
20 views

Nickname field isn't appearing in Admin

I'm getting the following error message when I try to update my user account settings: Your Nickname must be different than your login name. Please choose a different Nickname. But there's no Nickname ...
0
votes
0answers
34 views

adding new role with custom capability

I am trying to add new role with custom capability here is what I have done so far : add_role('event_manager',__( 'Event Manager'),array( 'read' => true, 'create_posts' =>...
1
vote
3answers
41 views

How to load the plugin only when logged in?

as a matter of performance for the entire system, how to do it correctly, if there is a way, to make the code of my plugin read or interpreted only when the user will login, as it is only and ...
0
votes
0answers
15 views

Wp-admin issue after Reverse proxy

I'm using a Reverse proxy example.com/blog to point to blog.example.com Everything works, except forms in the Admin panel. WordPress code is: <input type="hidden" name="...
0
votes
0answers
12 views

WP-Admin subfolder installation

this is my scenario. I have one root wordpress installation, and one sub-folder wordpress installation, i want to show on my domain the sub folder installation of wordpress. I had edit the htaccess ...
0
votes
0answers
7 views

Taxonomy page's table doesn't update on create & delete

Created a custom taxonomy, and it works. But the table that displays the taxonomies in the wp-admin does not update on adding and deleting a entry without reload but the "quick edit" works ...
1
vote
1answer
47 views

Programmatically modify an admin page UI of a WordPress site from my WordPress plugin

I'm trying to developing a WordPress plugin that can modify the UI of a page in the admin panel of a WordPress site. To be specific, I want to add a custom form to the woocommerce edit product page, ...
1
vote
1answer
25 views

Super admin access to a forgotten WP instance?

I have inherited a Wordpress instance backed by a MySQL database, hosted on a bare bones server. I have SSH access to the server, and I can even log in with an old set of credentials to the admin ...
0
votes
0answers
16 views

Admin color scheme get code?

With code: $ author_admin_color = get_user_meta (get_current_user_id (), 'admin_color', true); i get the value fresh or light and others..... This way I get a variable called the "color scheme&...
0
votes
0answers
12 views

'wp' action hook not firing in admin and login?

I need to register an action via add_action('wp', function(){...}); The action works in frontend, but in backend and login page it doesn't work. It seems as if 'wp' hook doesn't exist for ...
0
votes
0answers
8 views

Custom pop-up on wp-login page

I'm currently customizing the default wp-login page, and now I want to create a button which should open a custom pop-up, which would contain a contact form. I've only managed to create a simple ...
1
vote
1answer
44 views

Create a fullwidth dashboard widget

Is there any way to create a fullwidth dashboard widget in the WP Admin Dashboard? Because I would like to expand the box to make the content have more space: I am currently using ...
0
votes
0answers
29 views

Cant access wp-admin

After changing the site URL in settings I am no longer able to access the wp-admin page. When I enter the new URL it says: Not Found. The requested URL was not found on this server. I am no sure ...
0
votes
0answers
13 views

Adding inline style to CPT admin backend

Let's say I have a custom post type that looks like this in my backend: How can I add some HTML inline style to the status column based on the content itself? For example, when the status content is ...
0
votes
1answer
27 views

Can't access WordPress as an admin - but I can log in as a user!

Hi I have the following issue: I am the admin of a WordPress/WooCommerce shop that has been around for a while. As of today, when I try to log into Word Press as admin I either don't get access to the ...
0
votes
1answer
16 views

WordPress admin panel not working

Today I added all the codes to the new server and I am getting the issue like the below image. WordPress admin panel not working. I tried below code define('CONCATENATE_SCRIPTS', false); then I am ...
0
votes
1answer
15 views

Function to get a 'post selector' UI?

I have a custom plugin page and I want users to be able to select posts/pages and add them to a list. I was hoping to use the same UI as found on the Appearance > Menus Page which I picture below ...
1
vote
0answers
23 views

Change search results order for Admin -> Appearance -> Menus -> Pages -> View all

I have over 200+ pages (about 100 for each of my two languages). How I can change the order of results? I need the same as on the page with Page list. On the Page list e.g. you have a parent page and ...
0
votes
0answers
15 views

Add HTML to custom post type edit page

I have searching for adding HTML to a CPT edit page on the admin side. On the internet I see a lot about metaboxes but not about adding your own HTML stuff. Is there somebody who knows more about this?...
1
vote
0answers
16 views

WordPress notification reports

I had to make a standalone dashboard for WordPress. I designed an interface to notify users of information messages (eg wrong user password) such as verification of forms and files or errors. But I ...
0
votes
0answers
37 views

WP site after login keeps redirecting to looped url

My site Example.com keeps on redirecting to following url https://example.com/?redirect_to=https%3A%2F%2Fexample.com%2F%3Fredirect_to%3Dhttps%253A%252F%252Fexample.com%252F%253Fredirect_to%253Dhttps%...
0
votes
0answers
14 views

How do I edit an add in wp_list_table and return to same page

I am just not understanding something and apparently, I don't know what it is. I have a wp_list_table that I use to manage a table. I have it working correctly but I would like to edit the values ...
0
votes
0answers
9 views

Can we hide a certain user in WP?

Is it possible to hide a user in Users panel of WordPress without using any plugin. I had achieve this using plugins but I want to do it the old fashion way if its possible, like write a code in ...
0
votes
0answers
10 views

How to achive video upload and play for an ott platform?

I have a wordpress site in that i want to upload video files and plays it to the user those are subscribed to our site the subscription method is being already implemented. The content is published as ...
1
vote
0answers
14 views

Display checked in checkbox theme admin page when reloaded

When check in checkbox, display checked. And when uncheck in checkbox, display unchecked. it is OK. But when reload this theme admin page, always unchecked. When save checked and then reload, but ...
0
votes
1answer
65 views

Add and Remove Row Actions in an Existing WP_List_Table

I would like to modify the row actions of an existing WP_List_Table. For example, in the Users section in the back end, I would like to remove the "Edit" option from each user. I would like ...
0
votes
0answers
23 views

Should I move wp-admin to a separated server? How to do it?

A problem: My company has many employees who work in wp-admin, but the speed of work is not fast enough because of slow wp-admin loading. What did we try? We optimized wp-admin (plugins, queries, ...
1
vote
1answer
17 views

Stopping user deletion from running on error

I am writing the following code to do some cleanup before deleting a user via the admin area function delete_user_custom_data ($user_id) { $result = do_some_cleanp($user_id); // The ...
1
vote
1answer
80 views

Access / Filter block variations in Gutenberg, in Wordpress 5.6

I'm using a code snippet in functions.php to modify all youtube embeds, in order to add extra player parameters. Prior to WordPress 5.6, the youtube blocks could be filtered with if( "core-embed/...
1
vote
2answers
31 views

Can't extend some core classes

I am relatively new to wordpress development, I am trying to extend 'Walker_Category_Checklist' class found in /wp-admin/includes/class-walker-category-checklist.php to customize it for ...
0
votes
0answers
24 views

How to add “current” class to admin submenu items?

I have a custom plugin with an options page that is working great. I have set up multiple tabs that include content on each. I have now added each of these tabs as submenu items successfully, but I'm ...

1
2 3 4 5
43