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

Change Text in Admin Panel

How can I change the text Posts to News ? I am developing a Plugin. I am working with Custom Post Types.
Foysal's user avatar
  • 449
2 votes
1 answer
334 views

Speed up / Optimize Admin Edit Post Page on Large Websites (50-150k posts, 50 custom fields per post)

I'm working with a set of large Wordpress installs with 50-150k posts, each with 40-50 custom fields. The installs are very basic, with limited plugins (less than 5), and a default Wordpress theme (i....
dfcode3's user avatar
  • 711
0 votes
0 answers
39 views

Users can login to Website from wp-admin prior to confirmation email

I have a wordpress website that has an account sign-up/login system. When a user creates an account from the website's signup page (not the wp-admin page), he has to confirm the email link (in his ...
The Oracle's user avatar
0 votes
1 answer
32 views

Is wp-admin/about.php required? Can i omit it from my website

There is a page in wordpress available by default(accessible from wp-admin), the url is as follows: https://mywebsite.com/wp-admin/about.php I'am considering to remove this page, or block access to it ...
The Oracle's user avatar
0 votes
0 answers
13 views

Additional navigation bar in header

Recently, my site started showing two navigation bars at the top of my page. They are also the wrong layout. I am fairly new to WordPress. I have only designed five websites so far. This is the ...
Steph's user avatar
  • 1
0 votes
1 answer
28 views

Create field of Custom Post Types

I am using below code to create Custom Post Types. $supports = array( 'title', // post title 'editor', // post content 'author', // post ...
Foysal's user avatar
  • 449
0 votes
1 answer
29 views

Newly created user role not displaying on users screen

I have created a new role with the following code: add_role('sponsored_content', 'Sponsored Content', get_role('contributor')->capabilities); I have added users to this role. When viewing the ...
Tommizzy's user avatar
-1 votes
1 answer
83 views

WordPress blocking polling request when signed into Admin

I've setup a polling script in js that sends an XMLHttpRequest to the server to wp-admin/admin-ajax.php (yes, legacy, I know) at a fixed interval of x seconds. The response returned by that request ...
DevelJoe's user avatar
  • 487
0 votes
1 answer
55 views

Admin slow on Postlist (over 30k Posts in Database)

we have a Site with around 20k Posts in the normal postlist and another 10k in other CPT. The custom post types work really fast, but the normal Post List doesn't. I assume that might be because the ...
Uther Pendragon's user avatar
0 votes
1 answer
75 views

Updated MAMP and localhost on MacOS site no longer accessible

I have tried to access my site on localhost:8888/ and it no longer loads with any formatting since updating MAMP to a newer version. I am able to access the db through phpMyAdmin but not sure what is ...
user1959402's user avatar
0 votes
2 answers
2k 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: ...
The Oracle's user avatar
0 votes
1 answer
293 views

wp-admin 503 error

I am getting a 503 service unavailable error only on my wp-admin page and not my main site and I cannot figure out what has gone wrong! Steps I've taken to try to fix it are: disabled all plugins ...
Pete's user avatar
  • 101
0 votes
0 answers
14 views

Weird urls after moving site from local env to a server

I've noticed after moving website to a server post slugs started looking something like 78a6a04c0d498postname78a6a04c0d498.
Dmitrii Mikhailov's user avatar
5 votes
3 answers
11k views

Why does do_robots() Allow: /wp-admin/admin-ajax.php by default?

This is happening with a fresh, new WordPress install. But all you need to do is look at the crazy do_robots() function, which outputs the following... User-agent: * Disallow: /wp-admin/ Allow: /wp-...
PJ Brunet's user avatar
  • 530
1 vote
1 answer
420 views

What is the practical difference between is_admin() and is_blog_admin()?

I can see that the 2 functions are almost identical. Only difference is in one line: @is_admin() return $GLOBALS['current_screen']->in_admin(); @is_blog_admin() return $GLOBALS['current_screen']-&...
Viktor Borítás's user avatar
2 votes
0 answers
107 views

Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?

All of my sites were recently hacked and I had to restrict access to the WordPress admin. The logs are now full of denied connections, but I also see errors coming from the IP of the server that ...
cap340's user avatar
  • 123
1 vote
0 answers
39 views

Unreadable pagination

I act according to the Output of posts There is a file blog.php <?php /* Template Name: Myblogpage */ ?> <?php get_header('third'); ?> <!-- Content ==========================...
wfamilyweb's user avatar
0 votes
0 answers
41 views

wp post_tag change minlength

I try to change minlength value from post tag search in wp-admin (wp-admin/js/tags-suggest.js) -> .fn.wpTagsSuggest -> options -> minLength but cant override this value
user7943875's user avatar
0 votes
0 answers
115 views

Open login logo URL in new tab

Using add_filter('login_headerurl', fn() => FRONTEND); i was able to change the login logo URL. But i couldn't find a way to make it open in a new tab. Or in other words, how can i add target=&...
TheDoctor's user avatar
  • 103
1 vote
1 answer
297 views

How to hide some section in WordPress under Post

I have a mobile and I just wondering How to hide some of the sections but keep the functionality under WordPress Post to make it look simpler than what I've right now? If possible I just want to ...
ziico's user avatar
  • 131
0 votes
1 answer
524 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 ...
logax's user avatar
  • 1
0 votes
0 answers
66 views

Wordpress AJAX Request returns 400

I am trying to make a ajax post request, however I a getting a 400 error, not sure what I am doing wrong. If you are able to have a look at my code, I'd really appreciate it. Below is the form. <...
user2977774's user avatar
0 votes
1 answer
177 views

Programmatically emulate viewing a post in wp-admin

A process is triggered when I view a post at https://my.wordpress.page/wp-admin . I don't know what is happening during that process. I want to trigger it for all posts in a list of post ids. How can ...
Osvald Laurits's user avatar
0 votes
0 answers
195 views

View all comments on post one click

In the admin site, on the page to edit or view a single post there is a meta box that shows the most recent ten comments on the post, with a "Show more comments" link at the bottom to load ...
UserUser-name's user avatar
0 votes
1 answer
299 views

WP_Query outputs wrong post in custom post type

So I'm working directly in the Admin Dashboard of my website, below I will explain what I'm attempting to achieve and what issues I'm getting. Here is the code: add_action('admin_head', '...
DevSem's user avatar
  • 209
0 votes
0 answers
52 views

Toggle between block 'edit content' and 'select' not properly working in WordPress Admin

I've been struggeling for a while now with toggeling between 'marking / selecting a certain block' and 'editing content' of that block in WordPress' Admin area. When I click on a specific block in a ...
Bunjip's user avatar
  • 371
0 votes
2 answers
512 views

Filter for admin (back end) 'reply to' comment

Looking for the filter hook for the admin/comments/reply to process (where you use 'reply to' in the comments administration screen). This will be used in a custom plugin. (The plugin adds a hidden ...
Rick Hellewell's user avatar
0 votes
0 answers
17 views

Do not load the site as soon as you enter the WordPress panel

I have a strange problem that when I enter the WordPress admin panel, my site does not load, as soon as I press the WordPress exit button, the site loads well. I am using Windows 10. I changed the DNS ...
saeed ebrahimi's user avatar
0 votes
0 answers
85 views

How to add a field on the user creation page?

How to add a field on the user creation page "/wp-admin/user-new.php"? I need to finish after exactly after the email field, I can’t understand how to do this (I understand that you can use ...
pecha's user avatar
  • 1
1 vote
1 answer
49 views

remove wp floating submenu in wp dashboard

i successfully done making the menu name to be collapsed on click , but i have a problem with the floating submenu that appears on hover on menu name , i need to make this floating submenu to be open ...
Crash Point's user avatar
0 votes
2 answers
137 views

Extend Wordpress Core Classes in OOP Theme?

What is the best way of using WordPress's core classes in the context of an object-oriented design? I am trying to use $wp_admin_bar to remove a couple of the default WordPress designs but I am not ...
User37849012643's user avatar
0 votes
1 answer
359 views

Wordpress Admin extremely slow when other admin logged in

The sites has multiple authors/admins, who may sometimes edit/publish posts at the same time. Whenever more than one user is author/administrator is editing/publishing another post, the WP Admin ...
Ed Shway's user avatar
  • 101
0 votes
1 answer
74 views

Why does an ad page open when I browse my websites's wp-admin page?

While I try to edit my website via Wordpress and open any wordpress page after logging in, the page shows an ad page and I am not able to edit my website. The ad keeps appearing when I try to edit ...
Jiten's user avatar
  • 1
0 votes
1 answer
124 views

Edit post & page option does not display on latest wordpress

I am not able to edit the WordPress default posts/pages from front-end. I have tried to deactivate all plugins, check/uncheck toolbar option(from profile) and also wp_footer() function in the file. ...
Maharshi Gadhavi's user avatar
1 vote
1 answer
151 views

wp_comments table really big casuing /wp-admin/edit-comments.php to slowly load

Our wp_comments has millions of rows. When we load /wp/wp-admin/edit-comments.php it would timeout. Looking at mysql, this simple query is taking a long time SELECT wp_comments.comment_ID FROM ...
Yada's user avatar
  • 121
0 votes
0 answers
115 views

What hooks should you use to create a table only once?

add_action( 'admin_menu', string $createMySQLNewTable ); I saw this code inside the constructor and I think this hooks run every time we visit the admin panel, so it's going to throw an MySQL error ...
Sayaman's user avatar
  • 135
0 votes
1 answer
125 views

Cannot create new posts or upload images using media manager

My WordPress website was recently moved from one a shared hosting provider to a VPS setup at Digital Ocean. I provisioned the server myself and have WordPress running on a LAMP stack with Linux Ubuntu ...
Mike Hermary's user avatar
0 votes
0 answers
32 views

wordpress wp-admin/includes/shema.php file has been modify alone

I have a problem, a file from wp-admin has been modified alone or after deactivated/activated my own plugin . I never modified any files inside wp-admin, I don't know why now. I am currently creating ...
imagIne's user avatar
  • 53
0 votes
1 answer
128 views

Enqueue CSS on custom posts' backend area

I'd like to insert some CSS on a specific post type's backend area. So not globally. I've found lots of ways to insert it everywhere, but can't figure out how you'd target posts only. Any ideas?
Fluxian's user avatar
  • 130
0 votes
1 answer
135 views

Broken Customizer page

​Hello! The (Theme Customizer) is broken. The link from the menu disappeared and when I access it via the URL wp-admin/customize.php I got the attached error on my console. Screenshot: Things I tried ...
Abdulrahman Hassoun's user avatar
1 vote
0 answers
1k views

How to Change The WordPress Login URL Without Plugin

I'm looking for a way to change the wordpress admin login url from site.com/wp-login.php or sit.com/wp-admin.php to my custom login url like site.com/mylogin. I want to this without using plugin or ...
Nina's user avatar
  • 21
0 votes
1 answer
2k 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 ...
Steve's user avatar
  • 1,707
0 votes
1 answer
1k views

WordPress multisite second site admin resulting in too many redirects error

I have a multisite installation that seems to be working just fine for the first site, but for the second site, the admin panel results in a "too many redirects" loop. What is the correct ...
loganfarr's user avatar
0 votes
0 answers
31 views

How to access wordpress from domainB which is installed at domainA

Use Case: I am setting up wordpress for one of my clients. The wordpress is setup at a domain like http://cms.domainA.com. This domain is on VPN which can only be accessed by using VPN and few ...
Sunil Chaudhary's user avatar
0 votes
0 answers
114 views

how to move a plugin-block in Edit Post page back to bottom area?

This is about a block in the right area in the Edit Post page of of a wordpress post. It could be any plugin, but in this case it is about the Analytify - Stats of this Post/Page to demonstrate and ...
florian.isopp's user avatar
0 votes
2 answers
433 views

Broken wordpress site, non-working links and no access to wp-admin page

I was just handed a broken Wordpress site that I am now in charge of Administering (administrating?). EDIT: Since posting this, I have made some new discoveries about my issues. When trying to access ...
boog's user avatar
  • 101
0 votes
0 answers
371 views

Change the default Post/Page edit title in Admin

When editing a lot of pages at once, it would be helpful to change the default "Edit page < sitename - Wordpress" to something more clear, like the page/post title. I found a few code ...
Alex's user avatar
  • 181
0 votes
0 answers
161 views

get_posts() returns empty on custom post type /wp-admin/edit.php

I need to do a get_posts() to fetch a list of "product" type posts, but when I do it on edit.php?post_type=mycustompost it returns empty. If I just simply do the same function but on edit....
user2990303's user avatar
0 votes
1 answer
42 views

Custom admin menu order fails if slugs are complicated

I'm not able to reorder WP Admin menu items when pages added with add_menu_page have complicated slugs. At least I think that's the problem... First I create the custom menu items, which is working as ...
EdA's user avatar
  • 103
0 votes
0 answers
39 views

force logged in user to stay in the dashboard

I want to force logged-in users to stay in the wp dashboard. If a user logs in and visits a frontend page while being logged in, he should instantly get redirected back to the dashboard. Is there any ...
Jeazyee's user avatar

1 2 3
4
5
47