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
0 answers
24 views

Submitting form to admin-post.php Wordpress

I've been trying to get a basic plugin to work and I have followed what seems to be the flow to get the form to post to admin-post.php. However, I only seem to get the white screen of death upon form ...
0 votes
0 answers
27 views

/wp-admin/plugins.php takes ages to load, and then 404s

On one of our clients websites, when you try to view the "plugins" page in the back-end, the page loads for several minutes, then returns a 404 (using the WordPress 404 template). This is a ...
  • 1,131
0 votes
0 answers
16 views

How to protect my credentials on my clients website

I work with many different clients and I know some will try other freelancers eventually. Right now, my password is stored in my clients database. Is there any way to make this process safe? I would ...
0 votes
0 answers
7 views

Reordering Wordpress Menu - Plugins [closed]

Im trying to reorder the Wordpress admin menu but im running into issues with WooCommerce and one other plugin. They are "admin.php?page=wc-admin" links and they do not seem to want to move. ...
1 vote
1 answer
36 views

How to prepend a header section to all pages related to my Wordpress Plugin

I need to display custom block of php that contains a header with logo, buttons etc just below the wpadminbar ideally in the wpcontent div position as a relative element. The respective header needs ...
  • 13
0 votes
0 answers
24 views

/wp-admin/ – this link showing me “Index of /wp-admin”/ instead of dashboard

My WordPress site’s dashboard isn’t loading. It’s showing “Index of /wp-admin/“. How can I fix this?
0 votes
0 answers
143 views

Unable to create directory wp-content/uploads/2023/03. Is its parent directory writable by the server? [closed]

When I try to install a theme, I get this error message: Unable to create directory wp-content/uploads/2023/03. Is its parent directory writable by the server? I am not expert on Wordpress. Can you ...
  • 101
0 votes
1 answer
25 views

fails upload images in posts + wp-admin/upload.php 403 error

I have a problem with WordPress 6.1.1, I can't upload images in posts. The error message says 'The server cannot process the image. This can happen if the server is busy or does not have enough ...
  • 1
0 votes
0 answers
8 views

What methods are you using to transfer individual WP site components from one site to another?

We’ve built a moderately-large site consisting of about 500 pages, 60+ reusable blocks, a dozen page templates using GeneratePress Elements, etc. We need a way to transfer individual components of the ...
  • 190
1 vote
2 answers
43 views

React Material UI and WordPress Admin Area

I am creating a plugin that uses a React App to run inside the admin section of WordPress, and this app uses React Material UI (MUI) as well. Everything is great, until I started to use "form&...
  • 2,086
0 votes
1 answer
23 views

Only Admin receives email

is there a suitable code for blocking all registered users' outgoing email but only the admin receives all emails. I need a send all emails to admin only situation.
0 votes
1 answer
44 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
18 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
14 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,086
2 votes
1 answer
22 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 ...
4 votes
2 answers
43 views

Degraded WordPress admin dashboard performance [closed]

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 ...
  • 141
0 votes
1 answer
40 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
39 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
31 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
19 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 ...
  • 157
1 vote
0 answers
59 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 ...
  • 804
-3 votes
1 answer
37 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
31 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
36 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
36 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
35 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
25 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
32 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
10 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
45 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
28 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
117 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
28 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
128 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
33 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
42 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
359 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
36 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
47 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
36 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
71 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
60 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 ...
  • 131
0 votes
0 answers
9 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 ...

1
2 3 4 5
45