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

learn more… | top users | synonyms

0
votes
0answers
7 views

wp-admin folder gets deleted regularly

Recently, I migrated WordPress site to Amazon AWS. I am getting this weird problem where wp-amdin folder gets deleted regularly like in once a week. I recover this folder using my backup and the site ...
0
votes
1answer
13 views

Add data to post edit page, when post is published

I need to customize the "post edit page", for a custom post_type, but to keep things simple let's say it's on the post_type post for now. When the post status is published, I need to run a PHP script ...
0
votes
0answers
14 views

Hide pages in CMS Tree Page View hack

Hi I am trying to hide some pages in wordpress dashboard from CMS Tree Page View. Can someone pls help and tell me how do i achieve this. I am trying to add filter in function.php but it doesnt work. ...
0
votes
1answer
16 views

How to add conent (text) to Add New pages form of admin in WordPress

I am new to WordPress. I have created a Shortcode. Now I want to add description of Shortcode to Pages->Add New Page so the user can easily use the Shortcode which I have created. I want that text ...
0
votes
1answer
21 views

Media upload default title from file name

I'm on a roll today with the questions. Is this easy? Again, I can't seem to find the right filter (nor previous question with a suitable answer). So if you download an image say, from GettyImages, ...
0
votes
0answers
20 views

Fixing admin menu offset

I've encountered a little problem during my plugin development. I've added a search box on all pages and it's working flawless but the only thing that annoys me is that it's causing the menu to ...
0
votes
1answer
30 views

Cannot access my wp-admin after installing Gzip compression [on hold]

I have installed a WP Plugin called Gzip Compression to increased the speedpage and had an awful surprised: have no access to the website at all, giving me an error of invalid form of compression, and ...
0
votes
0answers
29 views

Add a box below admin toolbar via plugin

First of all thanks for your time and for your help. I'm looking to add a custom box below the admin toolbar on all pages via plugin(the blue one from the screenshot). In future i would like to add ...
0
votes
1answer
9 views

The Commercial tab is missing from the Plugins page when trying to update Types 1.7

I have Types installed and registered on my live server, but also want to get it installed on my development server (which of course has a different URL so will have to be registered separately). ...
0
votes
0answers
22 views

Solution for extremely slow pages or custom post in WP-admin

Somehow WordPress likes to load all the pages and custom post in the admin area. When you have a site with more than 500 pages things get slower and slower. After 5000 pages things start to timeout ...
0
votes
1answer
19 views

Is it save to require plugin.php early to be able to use get_plugin_data() earlier?

I'd like to avoid hard coding my plugin's version at multiple places. To realize this the function get_plugin_data() comes in handy. But here the fun comes to an unpleasant stop. Checking for a plugin ...
0
votes
1answer
28 views

Can't connect to WP-Admin, blank error message

I have to work on a website, but I cannot connect to the WordPress Administration... I did a forget password and resetted the password multiple times so I know that I have the right username/password ...
0
votes
0answers
10 views

Allow Editor to Select Content From a Post Category Dropdown List (Advanced Custom Fields)

I'm sure something like this has been done before, but I cannot find the right search terms to find it. Right above my footer on pages, I want to output a single post's content from a given category, ...
0
votes
0answers
20 views

Split posts into separate screen on custom post type admin screen

I have a custom post type called 'event' that has a meta_key of event_status with a value of either 'upcoming' or 'past' depending on the event date. I am trying to split all past events into their ...
0
votes
0answers
28 views

Problem assigning Custom User Roles to Custom Post Type

I'm having issues assigning custom capabilities for custom post types to custom roles in the WordPress admin. The markup works for one post type but not others. Let me explain a little... I've ...
0
votes
1answer
30 views

WordPress Get Header and Footer using in Admin Area

I was wanting a way to get the site header and footer and use it in the admin area. Idea #1 An answer to another related question states to use an iframe instead I think we can use an ajax call get ...
0
votes
0answers
64 views

WP AJAX is not working, always returns 0

I've checked any threads here regarding this and did a debug test which worked, I'd like to understand why my own code doesn't work as it presents the same functionality explained in every possible ...
0
votes
3answers
32 views

Create new user from phpMyAdmin

I'm trying to copy site that I have created in free web hosting server to my windows pc that runs WP on WAMP. I copied all files, but took wp-config.php from sample site I run on my PC and have done ...
-1
votes
0answers
8 views

No transacted pages while creating menu with Plylang

I'm using Polylang plugin to support my multilanguage site. But why I can't add translation pages to newly created menus. I see only main language pages in selection and if I choose them I have main ...
1
vote
1answer
21 views

Creating Admin Plugin - Content of a page is displayed at global scope as well

I've started creating a WP plugin which should work only in Admin Area. I've managed to create top-level menu with required sub-menu items, but when I try to print content of my page, it prints it ...
0
votes
0answers
20 views

Post preview in iframe without saving the post

I aim to make a live preview inside an iframe of the current edit post. The preview should render the post content only. Thats why I guess an iframe is actually a good idea. The frontend includes ...
1
vote
1answer
27 views

Clicking On View Post In Draft Opens New Tab

Since 4.0, when you save a post as a Draft the View Post link opens the saved post in a new tab. (target ="_blank") Is there a way to revert back to the previous behaviour (which was to open the ...
0
votes
0answers
22 views

Sort custom fields in admin by last field added

I'm trying to sort custom fields in admin post by last added fields but it sorted by words and number example my add is 3 , 6 , 4 , 7 , 5 , 1 when admin post save my custom sorted by number be ...
0
votes
1answer
21 views

Set user admin language preference by lang parameter

A site I'm working on allows users to login and submit content for a directory listing. The site uses WPML to serve translations, but the WPML language switcher does not affect the admin interface. ...
0
votes
0answers
13 views

Editing part of a link that is recurring on website

I have a site: Coolthingsaddict.com the site has hundreds of affiliate links to the Amazon affiliate program. Within each of these links, there's an element with my Amazon affiliate ID. I need to ...
0
votes
2answers
28 views

Post thumbnail is not shown in wp-admin

I am currently working on a theme for a client and now just got into a problem: When I want to set an image (also existing/already uploaded images don't work) the editor just not accept it and don't ...
0
votes
0answers
17 views

Is it possible to outsource wp-admin to another server?

This question might be very crazy and stupid, but I wonder if there is any chance that I could host the whole wordpress backend on another server, in order to minimize server load. For this, I guess, ...
0
votes
0answers
14 views

Lost password link not working

Has anybody come across this error message before when clicking the forgot password link on the wp-admin page? object(WP_User)#5816 (7) { ["data"]=> object(stdClass)#5815 (0) { } ["ID"]=> ...
0
votes
0answers
21 views

Added fields in quick edit screen need to update at the moment

I have added the meta fields in quick edit screen in wordpress admin section. When Isave the quick edit screen, it will be saved but not shown at cuurent time but when I reload the page it will show ...
3
votes
1answer
41 views

Prevent sorting and dragging of specific postbox metabox

I'm attempting to limit the jQuery sortable functionality on certain postboxes/metaboxes when editing a post/page. So far I've enqueued my custom .js file in admin. wp_enqueue_script function ...
1
vote
0answers
54 views

Admin wp_ajax hook returning 0

I've done some research but I can't seem to find the correct answer so I'm hoping someone can give me a hand. I'm attempting to use the wp_ajax hook in the admin section. The functionality should be ...
0
votes
1answer
10 views

Page template for a site from network

Is there a way to dispay in the Wordpress admin distinct templates based on which blog you are ? Let's say that for the blog travel I have the page template page-travel.php. How can I hide it on all ...
0
votes
2answers
12 views

How can I control which plugins run in the dashboard?

I do not wish to activate/deactivate plugins. But for plugins that have no menu pages/submenu pages, that mostly do things on the frontend, I wish to disable while viewing the dashboard/admin pages. ...
0
votes
0answers
21 views

Error when open wp-admin

I know this question is asked many times here. But none of the answers solved my problem. When I try to log-in to my site through wordpress-admin, like this, mysite.com/wp-admin it gives me the error ...
0
votes
0answers
23 views

Subsite admin in redirect loop, resources on frontend are all 404 and .htaccess changes back

I have a Multisite with three sites. The main site isn't affected by any of this, but the subsites are both broken. 1) When accessing wp-admin on one of the subsites, I get a redirect loop. 2) When ...
0
votes
1answer
25 views

Dashboard Widget CSS

I want to add a class name to my custom dashboard widget but I've found no way to do this searching the codex. Right now the only class name on my widget is postbox (which is added in ...
0
votes
0answers
15 views

Replace Parent Page dropdown with number input

I have about 30 000 pages with hierarchy. I see, that my wp-admin performance is very bad because 95% of time PHP is building a tree for parent page parent select field of page attributes. My pages ...
0
votes
1answer
49 views

Widget stuck at particular point when dragging to bottom

This is weird, but when I try to drag a widget to the bottom of sidebar it stuck in the middle, if I hold the dragging and drag it back to top it works but I can't drag it bellow that particular ...
0
votes
0answers
54 views

Add options to Wordpress backend

I hardcoded a page to use for a Wordpress-Site I'm managing but then my boss decided that said page needs to be editable from the backend for our customers. Long story short: How do I add editablity ...
0
votes
1answer
14 views

Screen Options drop-down does not show

The screen options drop-down menu on the Appearance → Widgets admin page doesn't do anything when I click it. This happened since I enabled accessibility mode from that drop-down menu. How can I ...
0
votes
1answer
17 views

Can't toggle between Visual and Text or Screen Options

Any reason why the ability to toggle between Visual and Text stops working? In fact, all tabs stop working from time to time. This doesn't happen site wide, only a couple pages. It seems to happen on ...
0
votes
2answers
36 views

Where are screen options when in admin on mobile?

I'm working in the WordPress admin area on my smartphone. Where are the screen options? I need to "Show advanced menu properties".
0
votes
0answers
27 views

Why does nonce verification fail intermittently?

I have a strange re-occurring issue that has me stumped. Briefly, when writers are saving posts in the admin the nonce check fails intermittently and shows the message “Are you sure?”. It’s been ...
0
votes
0answers
12 views

How do I add an arbitrary link to the WordPress Admin Menu?

I am looking to add an arbitrary link to the WordPress Admin Menu. Example: | Dashboard | | Posts | | Media | | Custom Arbitrary Link | The functionality of this acts just like a normal button ...
0
votes
3answers
28 views

Moved from WP.Domain to Primary Domain, Can't Login

The original non-wordpress site existed on http://example.com. While building the new site on wordpress, it was built on the wp subdomain: http://wp.example.com. We just moved the original ...
0
votes
2answers
205 views

wp-login.php — redirect logged in users to custom URL

When a user login, we can easily change the redirect URL (see this, this, or this), but if the user goes to /wp-login.php, they will be redirected to the dashboard if they are already logged in. My ...
0
votes
1answer
423 views

How to stop - Database Update Required - from happening again?

So I have had the issue several times now where whenever I update WordPress it gives me the "DataBase update required" and then will not login in to the site. This happens every time I upgrade to the ...
0
votes
0answers
16 views

How to add some Instruction text to wp-admin custom Post Type Page

I have made a Custom Post Type named Education. I have added some custom fields to it. I want to show some Instruction to admin to how he can add content or in which case what fields to fill. Is there ...
0
votes
0answers
59 views

I can't login using wp-admin

I have posted my problem on the wordpress support forum but no one has gotten back to me, I really need to figure out what's wrong. I tried copying my site to a uk domain that I had and I am sure I ...
0
votes
1answer
103 views

Block access to wp-admin

I'm attempting to use a .htaccess file to block access to the wp-admin folder. I've read through the Brute Force Attacks doc (https://codex.wordpress.org/Brute_Force_Attacks) and I've added the block ...