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
2 answers
676 views

How to sort posts in admin by name

I have created a multiple posts on my blog and now I want to sort them, for example, by name. But as I see, the post with the newest ID is always on top of the list and I cannot sort the posts in the ...
-1 votes
1 answer
981 views

The Commercial tab is missing from the Plugins page when trying to update Types 1.7

I have Types installed and registered on my live server, but also want to get it installed on my development server (which of course has a different URL so will have to be registered separately). ...
0 votes
1 answer
2k views

Register a new user on wooCommerce using Rest API

So, I am building a website in react using Wordpress headless server with WooCommerce plugin. I have found that to create a new customer, you have to use the WooCommerce API: https://woocommerce....
0 votes
1 answer
636 views

Default Wordpress WP Editor removing style tags and html tag

I am working inside the WP Admin area and there is a textarea that is using the default WP Editor, not TinyMCE. The WP Editor is removing the <style> tag and also other HTML tags. I am calling ...
-1 votes
1 answer
656 views

wp-admin: "Sorry, you are not allowed to access this page."

After 2 weeks not using our WP site, logging into /wp-admin/ gives a whitescreen error: Sorry, you are not allowed to access this page. I have: renamed plugins to plugins.temp. created a new admin ...
-1 votes
1 answer
2k views

Can't access Network Admin dashboard in wp-admin

Earlier I updated several wordpress plugins. One of those updates broke my access to wp-admin. So, I restored the backup I made prior to updating the plugins. At first I could not access wp-admin due ...
0 votes
1 answer
32 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
2k views

Publishing failed. The response is not a valid JSON response

I am using wordpress 5.4.2. I get this error when trying to add a new post. I changed my permalink to Post name sample http://localhost/wordpress/sample-post/ How should i change my .htaccess My ...
0 votes
1 answer
147 views

issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path

i'm trying to setup a kubernetes deployment for two wordpress websites in different pods, each will have it's own deployment and service, etc..., under the same ingress, i have setup the ingress this ...
0 votes
1 answer
648 views

WordPress Dashboard add user password not working, etc

I need help with my WordPress Dashboard. I think this happened when my site crashed and was forced to disable the plugins by renaming the plugins folder. I am unable to toggle the "Add User Show ...
3 votes
1 answer
1k views

Too many datadabse connections - upper ceiling mysql

We run a high traffic blog with around 500 real-time users and 10000 posts. We are hosted by self on VPS - 16gb, 4 core with separate mysql DB server - 4gb, 2 core; both SSD. No problem with hosting ...
0 votes
1 answer
862 views

Admin - Dashboard - Unset recent comments

I try to get rid of the comments list in the WordPress 4 dashboard section but it doesn't work. Here is what I tried: function remove_all_dashboard_widgets() { global $wp_meta_boxes;...
1 vote
1 answer
1k views

Remove categories from post edit page, but keep in sidebar?

Is it possible to remove the category/taxonomy boxes from the post edit screen, but keep them in the sidebar? It seems like "show_ui" => true is the only thing which removes them from the edit page,...
0 votes
1 answer
2k views

Allow direct access to files/folders within Wordpress to replace wp-admin

Here is the scenario: I would like to design a brand new wordpress admin for my clients (using WordPress autoload as the core to interact with WordPress). I have tried slightly modifying the css or ...
0 votes
1 answer
971 views

Custom Meta Box (SELECT) Not Saving

I am trying to create a meta box with select options for each page with home-page-template.php assigned to it. I have got that functionality working correctly. I also want it above the editor, below ...
0 votes
1 answer
23 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 ...
7 votes
2 answers
4k views

Change label of title field for posts in the backend

I am trying to add some HTML to the title label in the backend of WordPress. Attempt 1: I am using the following (simplified) function: function change_post_titles() { global $post, $title, $...
2 votes
4 answers
3k views

WP-Admin shows (1) update but there is no update for plugin, theme or Wordpress

I am having a strange issue where in my wp-admin it says there is an update required. However I checked the Themes, Plugins and even reinstalled the latest version of Wordpress and it is still showing ...
0 votes
1 answer
18 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(){...
0 votes
1 answer
3k views

Why WordPress not logout after I have close my browser?

The default login cookie has expiry time as "session", so suppose when I close my browser, I need to login again when I visit wp-admin. But I've found that serveral time I've closed my browser (kill ...
0 votes
2 answers
364 views

How to Restrict Access to all wp-admin pages for subscriber users

Here is summary of the problem and required solution: Access to mywebsite.com/wp-admin is blocked for subscribers [which is good] However, if i enter the link manually on the browser as follows: ...
3 votes
1 answer
2k views

using slug instead of ID in admin edit post url

In Admin, is there any way to use a slug instead of a post ID# within the URL that takes you to a post's edit screen. So instead of: http://example.com/wp-admin/post.php?post=5562&action=edit ...
-1 votes
1 answer
731 views

Search plugin form on "Add Plugin" page not working

Search plugin form not working. Steps to produce: admin-> plugin-> Add New. This is used to search plugin but this form is not submitting. Wordpress Version 4.1.1
-1 votes
1 answer
729 views

How to change the publishing date of each posts?

I need to set the publishing date of many posts with the post date (the creation date). I know that I can do it editing the single post and changing the Published on value but this procedure is ...
0 votes
2 answers
46 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 ...
9 votes
2 answers
4k views

How to remove the core embed blocks in WordPress 5.6?

Following up on this question, I want to remove some of the default (core) embed blocks in the WordPress block editor. As of WordPress 5.6, the blocks are no longer available under the core-embed/* ...
0 votes
1 answer
1k views

Remove Theme menu link from Admin Panel

I am trying to remove menu from the admin panel my code works as it removes some pages but i can't remove the following. admin.php?page=ot-theme-options admin.php?page=ot-settings admin.php?page=...
4 votes
11 answers
40k views

White screen of death only in wp-admin

I'm able to log into the website but the moment after login, I get a white screen in wp-admin. I can still access the website and it shows that I am logged in with the toolbar at the top of each page ...
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 ...
0 votes
0 answers
23 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
2 answers
649 views

Insert Modal on user first login

Attempting to create a Welcome Modal for first time users on initial login to my Multisite network. I'm using code from this tutorial https://wp-mix.com/wordpress-first-user-login/ I can see the User ...
1 vote
1 answer
646 views

wp_filesystem put_contents issue with owner/group

I am using put_contents() function to put images on the server, works fine on localhost, though on server, the user group when the file are downloaded to server is "nginx nobody" and that is causing ...
0 votes
1 answer
35 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 ...
0 votes
2 answers
1k views

Hook into backbone to add js to wp-admin -> media library?

I've enqueued a .js file on the "Media Library" page (upload.php). I need to hide and manipulate a few of the thumbnails on the page using JS only ( I'm not looking for workarounds ). The elements ...
1 vote
2 answers
695 views

Custom Menu Broken WP 3.8.1 Update

Custom menu has stopped working since upgrading to 3.8.1. When trying to add items from the left they do not show up as movable items as they should do under Menu 1, however the text changes to: "Drag ...
0 votes
2 answers
4k views

Menus not visible in Appearance after being registered

The menus have been registered in functions.php, but they don't appear within the Appearance > Menus section in Admin and the pages, posts etc options are greyed out. The menus are saved, as you can ...
0 votes
1 answer
43 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
8 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
2k views

Wordpress Admin Page Redirecting to Subdomain

My Wordpress website admin page http://example.com/wp-admin keeps redirecting me to the subdomain I created when adding the site to my CPanel. I have to use wp-login.php when accessing the Wordpress ...
2 votes
2 answers
3k views

How could I execute my plugin just in frontend (not in backend)

I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). ...
0 votes
1 answer
743 views

How to separate sub-menu output and keep associated with parent

I am creating a menu like this https://squareup.com/ I have the html,css, and jquery ready. Now, I am trying to: Create the menu items with it's sub-menu items via wp-admin -> appearance -> ...
0 votes
4 answers
15k views

CSS not showing up in my website Only HTML Displaying

I am very new to wordpress. I installed it on my linux server lately and uploaded a them on it. Everything looks good on my browser however if I try to access the website outside my network I am only ...
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
0 votes
0 answers
11 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
1 answer
46 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
1 answer
47 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 ...
0 votes
2 answers
132 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
0 answers
8 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 ...
0 votes
1 answer
1k views

Redirect users based on their roles, is_admin()

I have a frontend login system. What I want to achieve is - If users log in at the front page, it will remains at the same page, if admin log in, it will redirect to /wp-admin/ dashboard. This is my ...
0 votes
2 answers
2k views

admin-post.php results on white screen after form submission

This is a strange error because it wasn't happening earlier, it was actually all working fine. I have removed all the code I have added since I last tested it and it was working before it broke. I ...

1
2 3 4 5
45