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

learn more… | top users | synonyms

0
votes
0answers
9 views

Drag & Drop Anchor's Data Attribute Value into Post Text Editor in Admin

Can anyone tell me how I can drop the contents of an anchor's data attribute into the 'edit post' page's text editor, using jQuery, instead of dropping the link text itself? I need to be able to drop ...
0
votes
0answers
16 views

Overriding product search in Woocommerce admin

I need to alter the query used for the AJAX product search when adding or editing an order in Woocommerce admin. I want to add variation terms to the query. Using browser dev tools, I see the call ...
0
votes
0answers
7 views

Admin sometimes redirects to HTTPS

I have multiple Wordpress installations hosted at Hostinger. Sometimes, when I save a post or, as happened right now, just tried to access wp-admin, it redirects me to HTTPS version of the website. ...
0
votes
0answers
18 views

Excluding wp-admin from statistics [on hold]

My WordPress sites are working great, but my daily statistics are nearly meaningless because they include hits on "non-pages," mostly in the directory wp-admin. For example, here are the top five hits ...
0
votes
1answer
24 views

Get (eventual) permalink from post within Edit Post in Admin panel

I'm working on a plugin that needs to access grab the Permalink from within the Edit Post screen to send it to a link-shortener API. The catch is that I will need to grab the permalink before the post ...
0
votes
0answers
13 views

Redirect loop in WP Admin with SSL

we're running a membership site on the latest Wordpress 4.5.3 hosted on Bluehost. We need to move the website to SSL so made some changes in .htaccess, wp-config.php and added Wordpress HTTPS plugin ...
0
votes
0answers
19 views

Slow query in admin on custom post type

i get an slow query in my CPT listing. the query weight over 700M. I've ~2500 posts in this CPT and in a custom taxonomy ~1500 terms. This is normal operation? The slow query : SELECT t.*, tt.*, tr....
0
votes
1answer
40 views

Redirect Plugins.php to New Plugin Page

I have a multisite install and need to redirect the default plugin page to another admin page that will handle plugins. For example, if they request /wp-admin/plugins.php, then it should redirect them ...
1
vote
1answer
49 views

Wordpress admin is incredibly slow

I built a WordPress site for a client a couple of years ago and over the course of those years, they've accumulated 21,000+ articles, have 30,000-50,000 views per day, and have 300+ active writers, ...
-1
votes
1answer
30 views

wha does the following function remove from wordpress users admin area? [closed]

function remove_stuff($action){ if(!is_super_admin() && !current_user_can('edit_theme_options')){ unset($actions['inline hide-if-no-js']); return $action; }else{ return $actions; ...
5
votes
2answers
50 views

Checklist of selected categories

On my blog I have a large number of categories >500, so I need to have some kind of checklist which categories are already selected to continue selecting. For example, if we have cat1, cat2, cat3......
0
votes
0answers
19 views

Issue with search form admin panel after PHP migration

I have website hosted on OVH, and currently I am using PHP v. 5.3. Since OVH will stop supporting it soon I have to migrate to 5.4, 5.5, 5.6 or 7. I've tried 5.6 and 7 but what happens is that ...
0
votes
0answers
25 views

wp-admin/post.php access denied

When I publish or update posts with media (eg: image ) it results to following message. Access Denied You don't have permission to access "http://example.com/wp-admin/post.php" on this server....
0
votes
1answer
32 views

Screen Options & Help Buttons not working when including Bootstrap Css

The wordpress 'Help' and 'Screen Options' Buttons in the wordpress Admin Panels are not working when including bootstrap and specifically the bootstrap-css files. It is caused because bootstraps css ...
0
votes
0answers
28 views

Just switched to HTTPS and need to remove mixed content from /wp-admin area

So here's the error inside the console: JQMIGRATE: Migrate is installed, version 1.4.0 load-scripts.php:9:542 Loading mixed (insecure) display content "http://example.com/wp-includes/js/thickbox/...
0
votes
0answers
15 views

Categories box not showing on post edit pages

for some reason I don't get the Categories meta box on my standard 'post' edit pages in the wp admin. It shows up on my custom post types, and they show up in the 'Quick Edit' view on the Posts list ...
1
vote
0answers
18 views

Unable to Access WP Admin or Login buttons after Migration

After migrating from IIS server over to CentOS, I am having a hard time logging into my admin. When I did manage to login it said the User had no permission to login into WP Admin so it was the ...
0
votes
1answer
17 views

Custom comment action

I have updated my Wordpress version from 4.3.1 to 4.5.2 and apparently it broke a custom function I've made in the past. What it does: Display a anchor below comments, next to Approve/Answer/Edit/...
2
votes
0answers
32 views

How can I restrict a user to a specific item in the Wordpress Admin? [closed]

Let us assume I want to restrict someone only to accessing the comments section of the WP-Admin interface. I don't think that this functionality is covered by the default group permissions. How ...
1
vote
0answers
44 views

Using ReactJS in the WordPress admin for plugin development

I have some WordPress plugin projects planned which would benefit greatly from using ReactJS in the WordPress admin. I'm pretty sure I can get ReactJS working in the admin but the sticking point is ...
0
votes
0answers
20 views

Set custom image size for Media Settings via ajax in wp-admin

I want to the user upload image custom size, but I want to possibility to change size via ajax, without go to media settings, I have two types images sizes. 700px for posts 1500px for header When ...
0
votes
0answers
20 views

registration_errors fail to prevent add a new user while required extra field using user_register

backend "Add a new user" where I used user_register to add extra field teampleader_id, I want it as required field while adding a new user, I tried to use registration_error, but registration_error ...
4
votes
1answer
57 views

Unable to login to my wordpress site. reauth=1 redirection loop

There was a similar post to this, however the solution did not work for me. I am having some difficulty logging into my WordPress site. When I attempt to visit example.com/wp-admin, I see the login ...
0
votes
1answer
17 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
0
votes
1answer
25 views

Creating another wordpress site as sub-domain of a wordpress site

Main domain: www.abc.com new wordpress: xyz.abc.com I have manage to work everything on the front-end part. both use the same database but different tables classified with their own prefixes. ...
-3
votes
1answer
23 views

Unable to access my plugins [closed]

What does this mean when I try to access my plugins in the admin? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/xyz/public_html/abc/tuv/wp-...
1
vote
1answer
37 views

Filter out comments with certain meta key/s in the admin backend

Not long ago I learned how to add and filter comments on posts/pages with certain meta key/value and it works fine now. Now what I want is to do two things on the backend (/wp-admin): Filter the /wp-...
0
votes
0answers
12 views

Managing advertising code snippets

I'm looking for a solution to manage a mix of advertising code snippets. Lets say you have three advertising contracts. adService1, adService2, adService3 each of them will have some code in the ...
3
votes
0answers
33 views

How to debug “You do not have sufficient permissions to access this page”?

The error You do not have sufficient permissions to access this page when trying to access wp-admin can result from many causes. How can I debug effectively what is causing the problem? Is there any ...
0
votes
0answers
32 views

Color picker for posts and pages

I want to add color picker to wordpress posts and pages at admin menu. I have this code for color picker: add_action( 'admin_enqueue_scripts', 'add_color_picker' ); function add_color_picker( $hook )...
0
votes
0answers
18 views

Custom fields for media library images

I want to create custom fields for wordpress admin media images. Can you suggest some plugin or easy way to do that? than i want to get that fields at image.php
0
votes
0answers
11 views

How to search based on meta keys

I am trying to search custom post type based on meta keys but have no success so far I only have one post in this custom post type but no success. Here is the code. $args = [ 'post_type' => '...
2
votes
0answers
19 views

Render Selected Categories in Admin Edit Post Screen differently

Selected Categories for a post in the admin screen are rendered by: // Put checked cats on top $output .= call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); ...
0
votes
1answer
23 views

Disable Auto-Expanding Menu in Wordpress Admin Menus

Right now, when I click on a menu item in the wordpress admin menu, the section that that page belongs to is automatically expanded. For instance, if I click on a link in the Settings section then ...
2
votes
1answer
68 views

How to Add a Third Level Sub Menu to the Wordpress Admin Menu

Is there a function, action or filter that I can use to add a third level dropdown menu to the wordpress admin menu. For instance, right now in the sidebar menu their is a menu for posts and under ...
0
votes
0answers
13 views

Reordering fields on the Add New Post admin ui

Would anyone have a suggestion for re-ordering the fields on the Admin Ui page for Add New Post? For example, I would like the Excerpt field to fall beneath the Title field, above the Editor for the ...
2
votes
0answers
14 views

wp-admin remove the subfolder URL

I have a problem with WP. I have a website with this URL: http://sub.domain.com/subfolder My Website works fine, but when I connect on wp-admin, the subfolder URL disappeared (http://sub.domain.com/wp-...
2
votes
0answers
48 views

How to allow users login to WP from external domain and make REST requests

Basically what i want to do is: Use Wordpress as a login system and data storage for web-application on another domain. Make users able to register and perform REST calls from the application. Let ...
0
votes
0answers
25 views

Worpdress admin ajax always returns 0

I have a wordpress setup on two folder : main folder / preprod folder on site prod i have wordpress install for production, and on preprod another installation for dev, preprod folder is a ...
0
votes
1answer
20 views

Change users.php WP_User_Query

A client has requested to have two kinds of custom user roles, and have those users displayed in an Admin Menu Page of its own. So far, I've achieved that using WP_List_Table with success. Now, the ...
0
votes
1answer
41 views

Is there alternative to WP_List_Table?

I need to create html tables in a admin pages. It should be responsive. After a research I find the WP_List_Table. But in codex page, This class's access is marked as private. That means it is ...
0
votes
2answers
30 views

How to Use Resposive Tables in WordPress ADMIN Pages?

I have created a custom ADMIN page using add_menu_page. There is a HTML table in that page. I need to make it responsive. Is there way to do it?
0
votes
0answers
10 views

Show Sub categories based on categories on admin category taxonomy pages

Newbie to wordpress.Need to show the sub categories in table when category selected.Managed to display categories as dropdown shown below but stuck how to show the sub categories based on category ...
0
votes
0answers
17 views

Automatically require PHP files causing error in wp-admin

I have been using this function to automatically require in PHP files. function req_php_files($filepath) { $Directory = new RecursiveDirectoryIterator($filepath); $Iterator = new ...
0
votes
0answers
22 views

Query returning 1 post per page but saying it has 71 pages with almost 1500 results in total

Something is definitely not right here and I honestly cannot understand what it it. After I put this code on one of my custom made plugins, although it makes the search correctly (the result ...
0
votes
1answer
36 views

Users are redirected to homepage instead of wp-admin

After migrating my wordpress site users who are not Admins are redirected to the site's homepage after login. On the old site they were redirected on wp-admin. The Administrator is redirected to ...
1
vote
0answers
16 views

Add 'Last Modified' and Attachments (Yes/No) to WordPress Users Column

I was wondering if someone can put me on the right path in regards to adding additional columns that show the last modified date and if a user profile has attachments. Ideally I'd also like to be able ...
0
votes
0answers
56 views

Blank screen on wp-admin

I know this question has been asked tons of times but it was all outdated; I tried every single thing and it still doesn't work. Here is what I tried so far: Renaming the folder Renaming plugins ...