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

learn more… | top users | synonyms

0
votes
0answers
14 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
0answers
20 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
29 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
0answers
29 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 ...
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 ...
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 ...
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
22 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' => '...
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 ...
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
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
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 ...
0
votes
0answers
28 views

Is it possible to display QUICK EDIT as default for all posts in wp-admin/edit.php page?

When we visit wp-admin/edit.php it display the post link. If we need a edit a post we need to click QUICK EDIT Link or Edit Link. Is it possible to display QUICK EDIT as default for all posts in wp-...
0
votes
0answers
37 views

404 error when save changes any option in wp admin

As the title, i keep getting 404 error everytime i save an option in wp admin. It happens to update post/page too. I have tried deactive all plugins but it didn't help. Could anyone help me fix this ...
0
votes
0answers
20 views

Allow uppcase usernames in admin registration

Hi I am trying to add users to my site via the admin and they are in the form of 'Joe Xyz' so they shave a Capital and a Space however sometimes I am getting a error saying I cannot allow these saying:...
0
votes
0answers
92 views

Save plugin settings to a custom array and database table

First of all, please bear with my ignorance on the topic. I'm super new to WP Plugin development, and have been struggling with it for some time now. I'm developing a simple Wordpress plugin (well, ...
0
votes
0answers
61 views

Blank /wp-admin/ what else can I try to fix this?

On my website (which I expect i cannot post a link to) the /wp-admin/ page is coming up blank, and the /wp-login.php page is coming up with error: "ERROR: Cookies are blocked due to unexpected output."...
0
votes
0answers
47 views

Return 404 on chosen pages like /wp-admin/

let me start by saying i use the theme: x. i've jumped onboard in trying to restrict access to the wp-admin page for non-logged-in users and non admin users. first i tried with the code below: if (...
0
votes
0answers
16 views

Handling dozens of sidebars

We have the job to realize a page with custom sidebars. Sidebars can be created on the fly on post an page edit screens, to add a custom sidebar on each page. The client wants to use this to add ...
0
votes
0answers
17 views

Tidying up URL at login/homepage

I am creating a website where you essentially land on the wp-admin from the homepage. I want the website to simply have www.exampledomain.com but have the wp-admin as the homepage with nothing like ...
0
votes
0answers
30 views

How can i move something from user panel to frontend user edit

Hellow stackexchange, How can i move this : It's from a widget that put that there and i want to move it here: On Frontend user edit panel. I look into the widget code and i try something but ...
0
votes
0answers
67 views

500 internal server error on wp-admin only

I am getting a 500 internal server error when I try to log into www.mysite.com/wp-admin/ and www.mysite.com/wp-login.php. The actual site is up and running just fine so it cannot be a database ...
0
votes
0answers
17 views

Limit access to wp-admin but still be able to log in from different locations?

I have problems with some cms attacks, and I uploaded the following .htaccess to wp-admin # Block access to wp-admin. order deny,allow allow from x.x.x.x #studio ip deny from all Is there a way ...
0
votes
0answers
35 views

Is there a way to choose a parent before a child in a custom taxonomy?

I have a site with a custom taxonomy that is hierarchical. I want to be able to allow the users who have access to the backend post editor to choose a parent term first, then have only that parent's ...
0
votes
0answers
18 views

Getting 404s in wp-admin after logged in

I'm successfully able to login but the links point to 404s until I correct them manually. Here's the step by step scenario: Visited wp-admin/wp-login.php and login successfully say the dashboard ...
0
votes
0answers
10 views

Redesigning the add new post form

This is a learning exercise. I'm trying to redesign the form that is rendered when a user tries to add a new post via the administration panel. So far i've tried messing around in wp-admin/edit-form-...
0
votes
0answers
17 views

track logged in user link/clicks

I'm stumped here. I'm trying to track specific links on my site and report back time stamp of when a user clicked that link. These are for specific downloads and only registered users can access the ...
0
votes
0answers
82 views

“Trash”, “Draft” and count not showing for custom post type in admin panel

I have searched the internet and have also found some questions here with similar problems, but mine seems to be different. I have created a custom post type, and neither can I see the "Draft" and "...
0
votes
0answers
109 views

Create tabs in admin options page from custom post type loop

For a WordPress crm/password management plugin I am working on, I have created a custom post type called 'client'. I also have made a separate menu page for storing and showing the passwords of these ...
0
votes
0answers
40 views

Admin panel specific page only with admin_head for 4.1?

<?php /* Plugin Name: Header Problem Demo Plugin URI: http://wordpress.stackexchange.com/questions/215190 Description: Shows how old admin_head-{page} method no longer works Version: 1.0 Author: ...
0
votes
0answers
57 views

wordpress wp-admin showing white screen with no error

Suddenly my wordpress site wp-admin stop working. When I will try to access wp-admin it will display white screen. I have deactivated all plugin by rename plugin folder , also uploaded fresh wp-admin ...
0
votes
0answers
13 views

Different images in media while selecting different laguages

I have simple WordPress 4.3.2 site with Polylang plugin and Twenty Twelve theme. I found strange relation between images in Media and selected language. When I swich between languages while staying in ...
0
votes
0answers
20 views

Add column into post table

I need to add a flag in table post to generate a custom feed rss with external webapp. I would checked some posts with a flag (when I create a posts or when I edit them) and then I perform a query to ...
0
votes
0answers
58 views

How to add mp3 uploader as custom field in custom post type? [custom-post based plugin ]

i'm developing a plugin which is based on custom post type. i want to upload mp3 file with each new post which is my custom post. for that, i have to upload mp3 file and some meta info of mp3 file. ...
0
votes
0answers
23 views

WP-4.3-trash not deleting automatically after specified days

I am using wordpress ver-4.3.1. I want to delete the trash automatically after specified days. For this in my wp-config.php file I have applied code - define('EMPTY_TRASH_DAYS', 1); to empty the ...
0
votes
0answers
56 views

Can't Access wp-admin without trailing slash

i am facing strange issue, i can't access wp-admin without trailing slash. Here is what i am facing when i typed www.mysite.com/wp-admin/ works fine when i typed www.mysite.com/wp-login.php works ...
0
votes
0answers
17 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
0
votes
0answers
14 views

Unique user tables between three sites with same database

I have three websites that have their own prefixes, but are in the same database and have each member, and I have create a system that would allow to confine all its members in a mime table, so to ...
0
votes
0answers
22 views

WordPress removing query strings

I run custom scripts and plugins with GET parameters/query strings. Recently, when I try to access a page with query strings, something happens and the query string gets dropped. This, however only ...
0
votes
0answers
21 views

Edit is changing my custom's post type parent id

I'm having a custom post type (vehicle) and i attached a gallery (post) with image attachments in it. Through my custom frontend form, I set all the post and postmeta details right, as i want to, so ...
0
votes
0answers
47 views

Wordpress Admin custom error notice

I followed some advice around here in order to display custom error notices after clicking the update button in the admin area (here it is related to a custom post type, i don't know if it's relevant)....
0
votes
0answers
279 views

Woocommerce: trigger new order email without changing status

We are working on trying to process phone pledges for a non-profit where the payment is not received and will be invoiced. I have a custom checkbox field in the Woocommerce admin, when checked, I ...
0
votes
0answers
116 views

Let user delete comment on front end only

I have a edit comments page on my sites front end and have placed a delete comment link for users. The link works however it takes the user to the backend to confirm the comment deletion. I cant have ...
0
votes
0answers
50 views

Wordpress wp-admin redirect_to points to URL with folder name

I am having problem with wp-admin where the redirect_to variable holds my wp-admin URL with the folder name included in the URL. When I remove it, the redirect works good. The problem occurs when I ...