Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wp-admin]

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

0
votes
0answers
6 views

wrapping 'rest_api_init' in 'is_admin()' function

i'm create custom admin page via add_menu_page, let's imagine that my custom page has url wp-admin/admin.php?page=settings_page then i'm checki is_admin() function via var_dump on my ...
0
votes
0answers
5 views

Modify taxonomy lookup query on Edit Media page in the wp-admin

I am using a custom taxonomy to link images to a registration system. The way the taxonomy is used, there can be multiple slugs with the same name. When someone adds an image to the media library and ...
-1
votes
0answers
20 views

Wordpress cache issues

I'm having a wired issue when users try access my website they get redirected to maluciaos site , the I go to dashboard and I click "managed wordpress" then "flush cache" then issue disappears then ...
0
votes
0answers
18 views

My subsites accidentally went from one multisite network to another. How do I change it back?

Hello, please see the flowchart. Basically, I had a problem and contacted my hosting support. The person in charge then told me that there were some core Wordpress files that had to be replaced etc. ...
1
vote
2answers
16 views

Display $pagenow error notice on all admin pages

I need to show my client error message on all admin pages. I have the following code, that adds a custom notice only on the admin dashboard page: add_action('admin_bar_menu', 'custom_toolbar_link2', ...
0
votes
0answers
19 views

How to disable sub menu items from being created?

In WordPress under Appearance > Menus there is the visual menu builder where you can "indent" items to make them sub items of another menu item. I would like to disable the ability to make items sub ...
1
vote
1answer
24 views

How to provide a plugin which requires CMB2 (plugin dependencies)?

Every serious plugin developer probably has to deal with this problem: WordPress is not supporting composer or any dependency management by default. I have written a great plugin which I would like to ...
0
votes
1answer
30 views

Access to “My Site” is missing from the admin bar

You know there´s a direct access to every wordpress site right on the left side of the admin bar (or tool bar) once you get access to the wp dashboard which is intended to connect your website backend ...
0
votes
1answer
10 views

Preprocess submitted data

I created WordPress module, which adds my custom field in general settings in WordPress Admin. However after submitting whole form in admin settings, I need to modify my field's value before saving to ...
0
votes
1answer
8 views

Add custom buttons to event edit and view page

I want to develop a register system to events on wordpress, so I need to add two buttons: 1 - One on the event page that would allow the user to register for that event. 2 - Other on the event ...
0
votes
0answers
15 views

How to force all non-Admin links in the Admin console to open in a new tab?

I prefer to never lose my Admin view. If I click on a link in the Admin and it goes to another part of the Admin (e.g. New Post), great. But if a link goes either to my site's front-end or to an ...
0
votes
0answers
18 views

How to be able to edit custom address fields in WooCommerce admin?

I'm Dutch and in The Netherlands we use a different address format than in the US. We'd have to spit the street name and the house number. In order to fix that I used "address line 1" for 'Street name'...
0
votes
1answer
26 views

My wordpress site show single page until login to admin panel

when i open my website it show single page when i click other link it does not open but slug change show same page both on mobile and destop and when i login to admin panel wordpress then it show my ...
0
votes
0answers
8 views

Ajax Issue for Add Media (Not All Images Load)

I'm working on a website that has over 300 images, using WordPress 5.1.1 with Classic Editor enabled. In Media Library, I can view all the images since it uses pagination. However, when I click Add ...
2
votes
0answers
29 views

SSL Partially breaking admin panel and elementor

I have recently installed a SSL certificate on my hosting server and I switched WordPress to SSL. The website is running normally, with no mixed content errors and everything is loading as it should. ...
0
votes
1answer
24 views

Launch wordpress site to local computer from live website backed-up

A previous developer has created a wordpress site in the live server. Now after seeing the live website, it caught my attention that the website plugins, same with the theme, were buggy due to long ...
2
votes
2answers
51 views

Use a textarea for a custom post type

I have a custom plugin, using a custom post type for data entry capabilities in the admin section. I would like to use a textarea form, along with the checkboxes, select and text input fields I am ...
0
votes
1answer
18 views

Modify wp-admin page header 'viewport' meta data

The 'wp-admin/admin-header.php' file outputs 'viewport' meta data. It seems the value of the viewport is hard coded into the file. (See: https://github.com/WordPress/WordPress/blob/master/wp-admin/...
0
votes
1answer
15 views

Sort by promo code used woocommerce admin panel [closed]

I work on Woocommerce / Wordpress and I'm new, I want to custom my Woocommece orders list admin panel by adding the used coupons inside it, but I've got a little problem when i click on promo field ...
1
vote
1answer
30 views

WP /wp-admin/admin-ajax.php produces 404

Our site has been working fine in the last week. Today, I can't add a new page to our menu. Clicking "Add to Menu" just produces a spinning icon that never disappears. If I look at the Chrome console,...
0
votes
0answers
9 views

Style Wp-admin similar to Frontend

I use a really modern and materialistic theme for my frontend, but the backend is not that good looking. My clients often visit backend and i want uniformity in styles and color scheme, like button ...
1
vote
0answers
20 views

Addition of custom option panel crashes Media Library & Admin Area

So, I was carefully following the Wordpress Codex to create a Custom options panel for a custom post type.(https://codex.wordpress.org/Creating_Options_Pages) Specifically, Example 2. Everything was ...
0
votes
1answer
32 views

“Forbidden” after admin login [on hold]

I am running (or would like to!) a Wordpress 5.1 on Cent OS 6. The site was exported and imported with Updraft Plus. It works just fine, until i try to login as admin. I can access the admin login ...
0
votes
1answer
18 views

How to add custom view links to wp-admin/post.php?

I have a Custom Post Type page where i want to retain the default 'edit' post screen. In my case i add csv data to the post.content area, and i've custom actions to process and save this data to a ...
0
votes
0answers
16 views

Post Thumbnail: Is there a possibility to add a description to the meta box? [duplicate]

Probably many of you are using the Post Thumbnail feature: https://codex.wordpress.org/Post_Thumbnails I wonder if it is possible to add a description to the post thumbnail meta box in the admin area....
0
votes
1answer
20 views

POST 429 Error when trying to place more than 20 images into post at once

I’ve come across a bug that I can’t seem to fix and it seems to be on multiple WP sites that I manage / own. The issue: When placing multiple images into a wordpress post it spits out “VM392:1 POST ...
0
votes
0answers
11 views

cannot login to wp-admin with correct username-password on bluemix

My wordpress set up is on IBM's Bluemix server and due to closed environment of bluemix, I have to install wordpress using composer ( https://github.com/ibmjstart/bluemix-wordpress ) I am stuck at ...
0
votes
0answers
19 views

spl_autoload_register is slow for WordPress sites

I have an existential doubt, I know that the tendency now of PHP 5 and PHP 7 is to load the classes dynamically with the function spl_autoload_register + namespace PHP projects such as invoice system, ...
0
votes
1answer
11 views

404 page not found - Yet open admin page it works

Having a weird problem on a new site we are putting together. Everything is working OK with one exception - one page always returns a 404 page not found. In the admin pages, if the page is veiwed or ...
0
votes
0answers
12 views

How can I use my theme's php file as a login popup?

I'm having listingpro theme. It uses popups.php file for its login popup. Now, I want to create a custom link through which user will be redirected to the login popup. So how can I use the popups.php ...
0
votes
2answers
27 views

Developer/Designer asking for admin access

I have a Wordpress website and want a customized home-page built with Elementor plugin for my website. I am not good at designing attractive pages so I contacted one small firm to help me out with ...
0
votes
1answer
17 views

How to check nonce lifetime value of plugins?

Dear StackExchange users, I currently use the premium version of WP Fastest Cache Premium. My website loads very fast, but I always get a 403 error for wp-admin/ajax. I believe there is a plugin ...
0
votes
1answer
18 views

error at login page in wordpress

hi today my wordpress blog in wp-admin and wp-login.php had an error Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the ...
0
votes
0answers
17 views

Count posts associated with another post type

I have two custom post types in Wordpress: Events and Venues. I need to count the number of Events associated with the individual venues and have the counts displayed in a column on the Venues page in ...
0
votes
0answers
11 views

Appearance Menu - Add new items to the top of the menu

When adding a new new menu item on the appearance menu page (/wp-admin/nav-menus.php) is it possible that when you click the Add to Menu button that the new item would be added to the top of the menu ...
0
votes
1answer
17 views

How to get the custom post list to admin user edit page?

I want to list out some post types in the admin panel admin user section to allow the users to access from the front end. How can i get the post list in admin user edit profile section?
0
votes
1answer
25 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
0answers
29 views

How to prevent the editor from redirecting to website within iframe?

I have been trying to embed a website into a private page, and have tried out the "embed" and "iframe" tags, but as soon as I update the changes it redirects to the embedded site. I read more about ...
0
votes
0answers
22 views

Valid Wordpress html elements

I'm working a plug-in on the admin side of it. I would like to show a html listbox element on the form. But no matter what I try, it will only show 1 entry. It is scroll-able, which I want when it ...
0
votes
2answers
34 views

Wordpress admin page not found error

I accidentally changed my wordpress website url from what it was to the url which is same as my site url and after then I am not able to login into my admin it shows error of page not found(while ...
2
votes
0answers
43 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
1answer
18 views

Add item to admin panel - w/o plugin & theme

I'd like to create a new page in the wp-admin panel. I know I should use the add_menu_page() function for that and I understand how it works. I'm new to WP development, and would just like to know ...
0
votes
0answers
11 views

Backend overview pages in different sections

Is it possible to edit the WordPress admin overview of pages: /wp-admin/edit.php?post_type=page into sections based on post meta values? So for example I got 3 pages with the meta value of "Planten" ...
0
votes
1answer
127 views

How do I fix the 403 error for wp-admin/admin-ajax.php?

When I use the Safari console, I always get the following notification: failed to load the resource: the server responded with a status of 403 for wp-admin/admin-ajax.php Does anyone know how to ...
0
votes
0answers
14 views

Wordpress admin panel only showing a password form

In this field when I'm giving my admin password, the same page reloads. I'm lost here. Any suggestion is appreciated. Thanks Only the wp-admin/index.php page is displaying admin data.
0
votes
1answer
20 views

Add a unique body class for every admin page (including trash)

How can I add a unique class for WP admin pages (including trash) ex. URL wp-admin/edit.php?post_status=trash&post_type=locations
0
votes
1answer
52 views

Gutenberg: Dynamic Block - Show saved data in the editor

Im trying to create a Gutenberg dynamic block with dropdown list. I have completed block creation and rendering the block with selected dropdown value in the frontend. How to set the dropdown ...
0
votes
1answer
16 views

How to change how long items are kept in the trash?

When the trash feature is enabled, the deleted posts are moved to trash and stored there for 30 days. And there is a schedule/wp_cron event that is responsible for removing these posts permanently ...
0
votes
1answer
29 views

Is it possible to create two different wp-admins for a wp website

I just wanted to know whether it's possible or not to create a website for example newwebsite.com and create two wp-admins each with different URLs for example one with newwebsite.com/wp-admin and one ...
0
votes
1answer
40 views

Is there any way to make myself an admin?

Long story short, my client has a website with another company. They didn't make him an admin, but he does have access to the dashboard. I can't tell what his role is, but it's probably along the ...