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
5 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
6 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
15 views

Removing “Try out Premium Version” notifications from plugins

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
2answers
11 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
4 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
28 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
17 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
10 views

After a Error appeared on my Site which included a Plugin i cant go into my WP - Site [closed]

So i had an error in my site because of mp-timetable and i just replaced the files in the mp-timetable with a older version so i can log into my site. After replacing all Files i could finally log ...
0
votes
0answers
33 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
38 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
13 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
11 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
33 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
37 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
25 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
13 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
57 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
68 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
30 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 ...
0
votes
1answer
11 views

Notice-Updated div moving around unprompted

I have a div.notice.updated that is moving on the DOM and I can't locate the code that's doing that. Disabled all plugins and changed to a default theme without results. I'm printing the element on ...
0
votes
0answers
12 views

How to add categories to posts on specific future dates and time?

How can I add in admin page a functionality for each post to be able to choose for each post separately a specific future date and time (based on a date and time format settings configured in ...
0
votes
0answers
21 views

Calling PHP function with AJAX

I am creating a plugin for wordpress for the backend. I when the admin press a button a js function is being called. In this js function, I am calling an API, and then I want to call a PHP with the ...
0
votes
0answers
13 views

Admin Post Table - Remove Title Edit Link

I am using a plugin which requires the user to have the edit_essays capability to be able to view the list of Essays and Grade them, so I cannot solve this problem by editing capabilities (I am aware ...
1
vote
1answer
17 views

Disable wordpress reordering functions in backend screen element

Does anyone know how to disable WordPress reorder button? I mean the up and down arrow (located in the upper right corner of the image attached below), and not the collapse button. So the box will ...
1
vote
0answers
6 views

Created a new subdomain with same content. Should I add a redirect in my old subdomain?

I'm managing our WordPress site and we had a name change in the subdomain. Instead of changing the subdomain name, our IT created a new subdomain name and we just copied everything from the old one. ...
1
vote
2answers
15 views

I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]

If I visit /wp-admin I get a 404 error. If I go to wp-login.php I see the login screen. If I login badly it errors, if I login correctly it redirects to /wp-admin and 404s again. Things I've tried: ...
0
votes
0answers
13 views

WP-Admin throws 404 after changing wp-config Salts

I was looking around my site's files to see, where an old version of jQuery is defined. Somewhat found the culprit, but also changed salts. After changing salts, the WP-Admin zone throws 404 now.
0
votes
2answers
45 views

Data not insert and update through ajax and jQuery in admin page?

I made custom plugin and done crud operation, display all data in admin page, used ajax and jquery. Data successfully deleted but not inserted or updated. Data successfully pass through ajax but not ...
0
votes
1answer
11 views

How to create a new section on the wordpress admin dashboard?

I'm trying to create a new "section" to store the names and photos of team members. Is there a default way in WP to add this section or is it through the theme? I also want to add another ...
1
vote
1answer
36 views

Use Password Protected Form without the use of wp-login.php

I need to password protect a page, but from what I looked up -- the action of the form needs to use something like this: action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post'...
0
votes
0answers
15 views

WordPress upgrade causing backend/dashboard display error

For our website, we have both a staging site and the live site. There were a few problems with our (3rd party) theme on the site which I fixed on the staging site and then moved over to the live site. ...

1
2 3 4 5
43