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
179 views

After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel

Made s script that under certain conditions adds a new custom post to the database. All works fine. But there is a flow. After writing the post to the database with my script I can not extract it with ...
Mihail_OLARU's user avatar
0 votes
2 answers
50 views

Admin Page access

There is a admin page that gives me this error on the page itself when I try to access it: “Sorry, you are not allowed to access this page.” In the console it logs: “Failed to load resource: the ...
harin1904's user avatar
0 votes
1 answer
235 views

Put featured image under post title in admin area

Instead of inserting a new column with a featured image on it, I would like to put the featured image under the post's already existing title. I can't seem to figure out how you insert things on the ...
Fluxian's user avatar
  • 130
0 votes
1 answer
173 views

How to remove some author fields from the edit comment page in wp-admin?

For a custom role, I've to remove/hide the email and URL fields in the author box inside the Edit Comment area in WP admin. Only the name field should be visible there. I've to keep the URL and email ...
sgro's user avatar
  • 101
0 votes
1 answer
118 views

How do I modify the custom footer text and get theme version number to show in wordpress admin?

I am trying to modify the footer text inside the wordpress admin and also get my custom themes version number to show as well but my function is not working properly, I am still very green at PHP ~ ...
ShrockCo's user avatar
  • 105
1 vote
1 answer
159 views

Where are the admin notifications stored?

I'm looking to add some custom functionality to the admin side and I want to change the way the admin notifications work. Where are the admin notifications stored? And when a user dismisses one, where ...
ZeroNine's user avatar
  • 113
0 votes
1 answer
86 views

Line-height of text in wp-admin

I manage a few different wordpress sites with various themes, plugins, and other specificities. One thing that I have noticed is that for some of these sites, the line-height for text in the admin ...
Tom's user avatar
  • 11
0 votes
0 answers
761 views

Fatal error login Wordpress [duplicate]

When I want to login to my wordpress this appears: Fatal error: Uncaught ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "\t", &...
Joshua Mart's user avatar
0 votes
1 answer
122 views

Creating a new Sortable Column in WordPress Admin

I have a press release category on my WordPress site and there is too much posts being submitted and its taking up space in the All Posts and Published section of my WordPress admin, I'm wondering if ...
overdeveloping's user avatar
0 votes
1 answer
263 views

How to use custom page for all posts with custom url, call another directory?

I have tried many different codes: <a href="<?php echo get_template_part( 'template/test/post' ); ?>"> Test 1</a> <a href="<?php echo ...
Akash Manna's user avatar
0 votes
1 answer
496 views

How to remove comment count column in Posts inside the admin dashboard?

I know how to remove from pages: function remove_pages_count_columns($defaults) { unset($defaults['comments']); return $defaults; } add_filter('manage_pages_columns', 'remove_pages_count_columns');...
robert0's user avatar
  • 203
0 votes
1 answer
70 views

wp_post not working, keeps redirecting to posts page

I've been on this for more than two weeks, I've looked up a lot resources, I keep getting the same results; my site redirecting to posts page without executing anything in the defined function. I'm ...
Stephynoe's user avatar
1 vote
1 answer
262 views

How to sort comments in the "edit-comments.php" table based on a comment meta field?

Goal Sort comments in the "edit-comments.php" table based on a comment meta field after clicking on the title of a custom made column. Context For the sake of brevity let's assume that when ...
PantelD's user avatar
  • 39
0 votes
0 answers
47 views

Wordpress Sudden Loss of All CSS And Tons of JQuery Errors

All of a sudden all the css on the wp-admin page of a Wordpress Site that I'm providing some maintenance for dropped out. It really came out of nowhere. I'm not sure what caused it. I took some pics ...
ChristianOConnor's user avatar
0 votes
1 answer
2k 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 ...
user1669296's user avatar
0 votes
0 answers
493 views

Can I use application/json content type in Wordpress

I was using application/x-www-form-urlencoded and it was working all ok then I changed the content type to application/json and it is returning a 400 Bad Request error. Is it that WordPress dosn't ...
Ayo Reis's user avatar
  • 111
0 votes
1 answer
209 views

What is the text that appears beside the page titles in the list of pages in the WP admin?

Refer to the image below: What is the term used to describe the text that appears right after the page titles on the "All Pages" webpage of the WP admin? e.g. In the image above: an em dash ...
Flux's user avatar
  • 105
0 votes
0 answers
1k views

Can't acces login on new site

I created a new website that host Wordpress with Keliweb. I opened the cPanel and installed Wordpress in my domain. I have received all the information to enter the login page, but when I try to open ...
ponga's user avatar
  • 1
1 vote
0 answers
275 views

Wordpress fatal error from php protocol codes

This is the website link: dormireacuba .it/ When I'm trying to visit this site then just showing some fatal errors Fatal error: Uncaught Error: Call to undefined function wp_fix_server_vars() in /web/...
SY Shahadot's user avatar
1 vote
3 answers
811 views

Wordpress (behind HAProxy and Jetty), not multisite, in sub folder - and /en/wp-admin/ keeps redirecting to /wp-admin/

I am using an unusual setup to host 3 Wordpress installations on CentOS 8 Linux. In front I have HAProxy (to offload TLS), then I have Jetty configured for FastCGI and php-fpm and finally Wordpress. I ...
Alexander Farber's user avatar
0 votes
1 answer
332 views

Slow WP loading due to persistent version check, how to disable?

Recently I noticed WP is running very slow, esp. with editor/admin login , checking "site Health", with help of Query-monitorI found out critical issue that WP cannot reach wordPress.org: ...
Gustaf's user avatar
  • 31
0 votes
2 answers
713 views

How to add Extra Column of post Status in All post page

how can I add an extra admin column with the Status of posts like Below Image. i know admin column plugin for this work but i don't want to use any plugin..so please suggest me if there any code to ...
techno tech's user avatar
0 votes
1 answer
194 views

How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?

I'm working on the WordPress where I have multiple custom post type, but I want to know How we can create menu and use as a add-submenu-page for admin menu? I want to create add menus from Appearance &...
farhan dharsi's user avatar
0 votes
0 answers
9 views

Can I manage the photos that are pulled from Instagram before they are uploaded?

I'm building a WordPress website and I want to pull instagram photos with a certain hashtag and upload them to my site. My concern is that there's always the risk of the photos being inappropriate. Is ...
Total Snacc's user avatar
0 votes
1 answer
489 views

Sortable column (by numbers) in admin users

So I have this code in my function PHP: Add column /* * Add column to admin > users */ function yoursite_manage_users_columns( $columns ) { // $columns is a key/value array of ...
robert0's user avatar
  • 203
0 votes
0 answers
115 views

How do I load urls from an external .js file to my admin head?

I am trying to load an external library to the admin section of my website. On the front end it is pretty easy to load. <head> <script src="externalLibrary.com"></script> ...
Ragnaboy's user avatar
0 votes
0 answers
117 views

On Users (user.php) in wp-admin disable/hide "Bulk Actions" and "Change Role To"

How do I disable or otherwise hide the row that displays "Bulk Actions" and "Change Role To"? I'd ideally prefer not to do it with CSS.
fakeguybrushthreepwood's user avatar
0 votes
1 answer
369 views

Remove "Filter" Button on All Posts in wp-admin

I've used code to remove other elements on the bar where the "Filter" button is displayed, but I can't find a way to (ideally) disable or (less ideally) hide this button.
fakeguybrushthreepwood's user avatar
0 votes
0 answers
36 views

I can’t access my wp admin dashboard

I take it this question must have popped here a few times so will try keep it sweet and simple: after having done a fresh wp install via ftp, the following url https://v2.mysitename.com/wp-login.php ...
Jose's user avatar
  • 1
0 votes
1 answer
50 views

Redirect WordPress login for customers but not admin

I know how to redirect people from the /wp-login.php, however, I'm having an issue with excluding people who come from /wp-admin/ (which redirects to wp-login.php. Is there a way to exclude these? ...
Philip Deatherage's user avatar
1 vote
1 answer
69 views

My custom wp-admin php files stopped working

I created several custom php files in my "wp-admin" folder two years ago. They have worked fine for two years. Now, they don't show my custom admin panels. Instead, the home page of my ...
darthvendy's user avatar
0 votes
2 answers
2k views

How do you search for a post or page with a certain url on the Wordpress admin panel?

How do you search for a post or page with a certain url on the Wordpress admin panel? I have a page with the url www.tomatoes.com/promotions, but I can't find it by entering it in the search field of ...
Sayaman's user avatar
  • 135
1 vote
1 answer
276 views

MySQL CPU Usage Surge up When Multiple Post Editor Pages are open

I am managing WordPress server 2Core CPU 8Gb Ram, hosted on Openlitespeed + MariaDB 11.4, PHP 7.4. Redis and OPache are installed. On the WordPress site, Redis Object Cache and Litespeed LSCache are ...
Good Muyis's user avatar
0 votes
1 answer
153 views

AJAX wp_insert_user WORKS but responds with "The site is not enabled"

I have a form on my site which has an AJAX event attached. The AJAX event seems to be working up until I call the wp_insert_user function, I don't understand why but when I put a wp_send_json_success ...
James's user avatar
  • 11
0 votes
1 answer
766 views

How to create custom settings page for custom plugin

I want to create a settings page for my custom plugin.I searched it on google but I couldn't find a good resource.There are some generator but they don't help me. Can you give me an example code or ...
Murat Deniz's user avatar
0 votes
1 answer
437 views

WP-admin or any other is redirecting me to (This page doesn't seem to exist.)

I am logging in to my website with URL/wp-admin or other methods but it is redirecting me to ( This page doesn't seem to exist. ) here. Please guide me on how to do I log in to my website. See the ...
Adeel Abbas's user avatar
1 vote
1 answer
263 views

https://mydomain/wp-admin redirects to wp-login.php?redirect_to=https%3A%2F%2Fmydomain%2Fwp-admin%2F&reauth=1

Whenever I enter https://mydomain/wp-admin while not being logged in, I get redirected to wp-login.php?redirect_to=https%3A%2F%2Fmydomain%2Fwp-admin%2F&reauth=1 With some help, I have created the ...
Razzupaltuff's user avatar
2 votes
1 answer
171 views

wp-admin edit user url wont show up correct url [closed]

was expecting the edit url (shot below) would point me to something like: website.co/wp-admin/user-edit.php?user_id=7&wp_http_referer=%2Fwp-admin%2Fusers.php <-- expected url Instead of website....
Jaeyson Anthony Y.'s user avatar
1 vote
1 answer
396 views

Dash after page title

In the "Pages" section of the WordPress admin panel, after some of the page titles, I see these long dashes and a note(s) of some kind: "Privacy Policy Page", "Front Page, ...
Zell's user avatar
  • 13
0 votes
1 answer
318 views

Display posts with id equal to relationship value

I am trying to solve the following scenario in wp-admin: When an agent logins in he should only be able to see the actors that have a relation with him. (on page: wp-admin/edit.php?post_type=actor) In ...
codeminator's user avatar
0 votes
0 answers
749 views

WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)

I have a custom post type called "resource" where files are uploaded by admins and made visible to selected subscribers. I'm using Advanced Custom Fields (ACF) to create a field called "...
Matthew's user avatar
0 votes
0 answers
145 views

How to remove empty menu space when creating admin page without menu title using add_submenu_page

I have added few pages to handle edit, view page that is should not be accessed from wp-admin navigation menu and its a success. But now on my menu, I have empty space as sub-menu. Below are my codes ...
murni's user avatar
  • 37
0 votes
1 answer
68 views

Disable ADD PDF media button on rich text editor

I'm looking for a way to completely disable "add pdf" media button on text editor but not with css tricks. Is it a hook to add on function.php for doing this? Also a need to keep add media ...
Samuel's user avatar
  • 344
1 vote
1 answer
1k views

Wordpress Side Menu Admin Panel Default Order numbers List?

Is there a page on the WP documentation someplace that lists the order numbers for the default menu items in the Admin panel on Wordpress? Cannot find anything on line that just gives a clear ...
Bradley's user avatar
  • 113
0 votes
1 answer
800 views

How to display an admin-notice after custom post type edit modification

I did a limitation for a custom post type "vereine". It works, but the admin notice is that the custom post is published (and not draft). How can I add a message? Here is the code for the ...
Steph's user avatar
  • 1
0 votes
0 answers
27 views

How can we get this dynamically as this folder may not be by the same name always → wp-admin

action="/wp-admin/admin.ajax.php?action=slb_save_subscription" The above is a part of the code in WordPress, but I have read somewhere in the past that these folders can be changed. How can ...
WordCent's user avatar
  • 1,867
0 votes
2 answers
330 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 ...
Álvaro Franz's user avatar
0 votes
0 answers
74 views

How to optimize the opening speed of admin panel?

Now my access to the WordPress post editing page is abnormally slow and I have to wait 30 seconds or more for it to finish loading each time. Initially, I thought it was a problem with the network ...
Matthew's user avatar
  • 151
0 votes
0 answers
23 views

Is it possible to give a classname to specific comments in the Wordpress admin?

Is this possible? I'd like to go into wp-admin, click on a comment and give a class for a specific comment. Would it be possible to do so? If so, could you please help?
Siyah's user avatar
  • 193
1 vote
0 answers
21 views

Admin access for custom user capabilities

I've got a site with a lot of custom user roles and capabilities, and I'm trying to allow users with a new capability 'admin_panel_access` (set up via User Role Editor) to access the admin dashboard. ...
PenguinBegins's user avatar

1
3 4
5
6 7
47