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
1 answer
16 views

Critical Error when editing menu

I am having an issue debugging what appears to be a WP core issue. I am observing the following behavior when attempting to edit menus, see below for context I checked the error logs and the ...
0 votes
0 answers
8 views

Searching for a custom meta from user.php in the admin

I am trying to extend the standard user search to 1 specific custom usermeta. I am following the great answer provided in this question. I am still not able to get any result when I search for this ...
  • 1
0 votes
0 answers
12 views

How to create a User Role and give permission to only use Web Stories plugin?

I want to create a new user role "Story Maker" with only the "Google Web Stories" plugin shown in the dashboard for the user to create and publish stories. I don't want the user to ...
1 vote
0 answers
28 views

Change default URL (or permalinks) in the back-end

Assume I have the following code add_menu_page('My Title', 'My Title', 'publish_posts', 'my-slug', function () { require_once ('path/to/render/page.php'); }); This code will add a menu item to ...
  • 2,074
1 vote
0 answers
14 views

How do I display and edit other posts within the 'Edit Post' area of Wp-Admin Dashboard

I'm wondering how to edit the 'New Post/Edit Post' area of Wordpress. I want to create a new 'Screen Element' like the plugins do. I want this area to display all posts with a corresponding taxonomy ...
3 votes
2 answers
35 views

Degraded WordPress admin dashboard performance

My daughter's school asked me to take a look into "why their site is suddenly very slow". It runs on one.com/Wordpress, of which I know almost nothing, my own sites are VPS/Django-based. But ...
  • 131
0 votes
1 answer
26 views

Why is my Wordpress admin not working

My WordPress admin has stopped working. This is running with WooCommerce. On the Customize Appearance > WooCoomerce > Store Notice, I tried to set the Store Notice to Off. I got this error ...
  • 101
3 votes
1 answer
30 views

Change CPT Edit Target Link for Admin List

Hoping you can help with this conundrum of mine. I have created a CPT, and am changing the link in the admin list pages for it to be the front-end permalink. What I'd like to do now is to change the ...
  • 171
0 votes
1 answer
30 views

Is it possible to hide or encrypt the display name after login into the WordPress admin panel?

I am not sure this is the right platform to ask this question. Please help me with the correct platform. Today, One of my clients asked the below question. I have login into the WordPress admin panel ...
0 votes
1 answer
16 views

Can you customize the automatic permalink population on new posts?

I have a custom post type for events, I would love to intercept/change the JavaScript that populates the title to the permalink to have it also also use the date custom field (ACF) I have. Does anyone ...
  • 101
0 votes
1 answer
9 views

The Admin page isn't showing in the sidebar of the dashboard

I added this class to my plugin directory, but when I refresh my dashboard, the admin page doesn't show up and I do not get any errors. Am I doing something wrong in the __construct() method? class ...
  • 175
0 votes
0 answers
49 views

Custom order of CPT posts by title, in wp-admin area by default

Its tough to know/determine/see if a plugin is ever overriding or will override my ability to use $query->set('orderby', 'title') when I am attempting to sort my admin posts by title, for my ...
  • 730
-3 votes
1 answer
34 views

Custom login form logo not displaying

I'm tryng to customize the logo and the login form of a child theme I have in a wordpress site. I've tried to use the add_action('login_enqueue_scripts', 'my_custom_logo') action and inside the ...
  • 1
0 votes
0 answers
26 views

How to change wp-admin and wp-login urls

I need to have a custom login url for a wordpress website that will use an headless theme to show a registration form. I've tried using the login_url filter but the result isn't really what I was ...
  • 1
0 votes
0 answers
33 views

Wordpress Plugin and other pages not opening

WordPress dashboard is open but the Plugin and other pages are not opening. It's loading but not open. Below I attached the screenshot.
0 votes
1 answer
35 views

plugin translations not reflected in admin dashboard

I have a plugin which has all strings originally in English, now translations to Arabic have been done at 100% and are appearing on the project link. When I check the plugin's page in Arabic, it is ...
0 votes
1 answer
27 views

Site admin can login but cannot access wp-admin after domain migration?

Moved a site to a new url. The site admin can login but when trying to acess wp-admin gets a perms error. -- Sorry, you are not allowed to access this page. --- This has to do with the ...
  • 561
0 votes
1 answer
21 views

Wp doesn't save meta box data

My WP doesn't save my meta box data. I see the metabox and the field, but the data doesn't saving. Somebody could help me? Thank you. This is the code: // 1. Metabox létrehozása function my_meta_box(){...
  • 1
0 votes
2 answers
50 views

Unable to access WordPress admin panel

Yesterday, I noted that only the home page of workcosec.com properly visible. If I tried to access a blog post, there was a message of critical error. Through FTP, I renamed plugin folder to plugins ...
0 votes
1 answer
10 views

How to change the headline title for an admin page in a plugin?

I have a working plug-in, but to add a little polish I would like to add the plug-in title to the h1 block at the top of the wrap container, but ahead of the admin_notices list, in the same way that ...
  • 103
0 votes
0 answers
27 views

Many big issues in the website, WP_Debug not showing

I have this website https://itds.pl/ suddenly it started working really bad and I can't find the reason. Website is Multi website system Using WPML Using ACF Have two domains: Main domain Eng and has ...
0 votes
0 answers
9 views

How to display content depending on the Woocommerce Product Category

I have a single product template design where there are two "sections" whose content will change according to it's product category. My plan is to create an "Elementor Section Template&...
0 votes
1 answer
44 views

WP-Admin not reachable

I added a wp_die message ("it works") to the functions.php of my child theme for testing. After that, the wp-admin and the frontend was no longer accessible, but it comes only the wp_die ...
0 votes
0 answers
17 views

My website does not load since two days!

Two days ago I bought a domain alijoohy.com and hosting using hostgator, and installed WordPress but till cannot enter the admin webpage,I don’t know what to do. Could you please help
  • 103
0 votes
0 answers
19 views

Move Custom Taxonomy Menu to Top Level Admin Menu

I've created a custom taxonomy named 'Companys' for posts and would like to move it so it appears at the top level of the admin menu after 'Posts' instead of appearing as a submenu of 'Posts'. Is ...
0 votes
0 answers
9 views

Why do i get this fatal error? Fatal error: Uncaught ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013",etc [duplicate]

I accidentally changed the url of my wordpress page, which I finally managed to restore in phpmyadmin, the first page of my website works, but the second page doesn't, and I can't even log in to the ...
  • 1
0 votes
1 answer
76 views

Why can't I enter the wordpress admin interface?

I accidentally changed the url of my wordpress page, which I finally managed to restore in phpmyadmin, the first page of my website works, but the second page doesn't, and I can't even log in to the ...
  • 1
0 votes
0 answers
25 views

Extend user search in the users.php page to allow for searching by role and excluding specified email domains from the "users search" input box

Update: A solution for this question was provided byt @t31os_ here Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the "users ...
0 votes
1 answer
79 views

Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the "users search" input box

I have been looking to extend the ability to search users in the backend for some time and have tried variations of several functions recommended in these articles and posts along with others not ...
0 votes
0 answers
30 views

What is the best way to reset the site? Different fails while set up

I had problems with some plugins and deleted everything on my ftp server filezilla. After uploading wordpress files again to start the setup up from the beginning everthing seems fine until I got this ...
  • 1
2 votes
0 answers
38 views

Prevent posts from being published if the 'Uncategorized'-category or no category is selected

I do not want a user to be able to publish a post if no category is selected. This exact solution from a similar question is exactly what i want to do: jQuery(document).ready(function ($) { // ...
  • 21
0 votes
1 answer
23 views

How Can I Prevent Admin User Role Loss?

I wrote a series of bash scripts that use git to push my files, wp-cli to export/import my dbs, and rsync to upload/download dbs, and wp-cli to search-replace usernames & urls between test, ...
  • 153
0 votes
0 answers
260 views

My custom button to add an item in the WooCommerce admin page doesn't refresh the page

I am trying to add a helper button, in the WooCommerce order admin page, to save a bunch of clicks navigating to and adding a very popular item. My PHP code manages to get the button to appear and to ...
  • 1
0 votes
1 answer
31 views

How do I change the Go To Categories link in the term_updated_messages

I have a custom taxonomy titled "shows". When a show gets updated it displays a message to the user followed by a link. I have already changed the message by using add_filter('...
  • 175
0 votes
1 answer
41 views

Redirecting the user to the admin table area after publishing a post, getting an invalid response error?

I'm trying to redirect the user back to the custom post type page in the admin area after they publish a post but i'm always getting the error: Publishing failed. The response is not a valid JSON ...
  • 1
0 votes
0 answers
29 views

Why when I click on a link into the WP admin panel I am redirected to a link that doesn't contains wp-admin prefix, so I obtain 404 error

I have installed a WordPress instance and I a facing the following problem. After that I access my admin panel via the URL: https://MY-DOMAIN/wp-admin I am correctly redirected to the admin panel. The ...
0 votes
0 answers
57 views

Override Wordpress Core File?

I'm currently writing a plugin that will not work without adding a simple action hook to one of the core files located in the wp-admin folder. Without violating best practices is it possible to copy ...
1 vote
1 answer
47 views

LinkControl not showing suggestions when used on admin page

My goal is simple, I'd like to use the LinkControl element on an admin page rendered by my plugin. Using the LinkControl on the BlockEditor page is quite easy the issue is doing it without being ...
  • 121
0 votes
0 answers
8 views

Wordpress Users page missing user count next to different types of users

I have a pantheon instance running with variety of env. In my test and live I am missing count next to users while in dev its showing. see examples below. Anyone ever experience something like this ...
0 votes
0 answers
41 views

How to make the Panel // WP-Admin lighter via Mobile

By accessing the WordPress Admin Panel. via Cell/Mobile the loading is too slow. And the layout is not responsive. In Chrome console I get the following errors [Violation] 'DOMContentLoaded' handler ...
0 votes
0 answers
13 views

Limit authors on specific catogories

It's my first time posting here. I hope you guys don't mind my bad English. For the past few months, I've tried different plugins for restricting authors on specific categories and they've worked. The ...
0 votes
0 answers
38 views

How can you change the admin dashboard URL without symlinking?

I'm interested in changing the WordPress admin dashboard URL without using a third-party plugin. NOTE: I know that 'security by obscurity' is not the best security measure; I plan on using other ...
  • 1
0 votes
1 answer
77 views

PHP Fatal error: Uncaught Error: Cannot unset string offsets when trying to upload any file to media library

When trying to upload files to the Wordpress media library I encounter the following error: Unexpected response from the server. The file may have been uploaded successfully. Check in the Media ...
0 votes
0 answers
23 views

get_current_screen() does not return parent_file

According to the WordPress codex, get_current_screen() should return a value for [parent_file] for instance. Calling the function below outputs values such as base and id but not parent_file. ...
  • 181
0 votes
1 answer
18 views

How to create directory under my active theme directory

I want to added a directory under my active theme and then add file inside the newly created directory I need steps to avoid mistakes thank you
0 votes
1 answer
70 views

Can't save changes or modify settings in Dashboard but Pages and Posts are fine

I am working on a client site from a previous developer. It needed many updates so I updated WordPress to v.6.0.1, Astra theme 3.9.1 (uses a child theme) and the many plugins in use. After all this, ...
  • 1
0 votes
1 answer
46 views

Print results of a WP_Query to wp-admin/upload.php within 'delete_attachment' hook?

I am working on a WordPress plugin feature that checks for usage of image media before deletion – specifically within Advanced Custom Fields image fields in posts of a custom post type, but this part ...
0 votes
0 answers
28 views

How to display author details in a custom post type in the wordpress backend?

I was wondering if it's possible to get author details and show them on the edit page of a custom post type in the WordPress backend? I use ACF Pro in this project and added some text fields for the ...
0 votes
0 answers
173 views

How to filter with dropdown in backend for custom data

I have a custom table (Table Name: ssl_transaction_cus) in the database which is used for storing donation information. I fetched all of data from this table in 'admin menu page' with a table(With ...
  • 51
0 votes
0 answers
375 views

admin-ajax.php returns 0 even when the post status code is 200 OK

I've seen a lot of similar questions and I've incorporated the feedback from the answers but still, the issue is not resolved. Ajax request is sent on click of a button in js file. WyrRoute.js ...

1
2 3 4 5
45