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

learn more… | top users | synonyms

0
votes
1answer
44 views

Wordpress site stopped working after simply opening header.php in the wp-admin editor

I opened header.php inside the wp-admin editor and suddenly the actual site is filled with diamond shaped question marks. Admin area still works. The weird thing is that I didn't even perform any ...
11
votes
2answers
19k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
21
votes
5answers
17k views

Adding Fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?

The question is "How do I add one or more fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?" This question was asked on the wp-hackers list August 1st 2010 and I ...
1
vote
0answers
408 views

White screen of death for wp-admin and error for wp-login.php after entering credentials

I am getting the white screen for wp-admin and "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress" when i try to login through wp-login.php Earlier ...
1
vote
1answer
734 views

Blank page for wp-admin after i uploaded the website from my localhost to the live server

I recently moved the site from localhost to the live server. And when I try to access the wp-admin page I keep getting the blank page and no errors are shown although WP_DEBUG is true. And when I open ...
0
votes
0answers
68 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 ...
1
vote
0answers
88 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
0answers
111 views

get_comments() returns empty array if called through AJAX

I'm facing a quite strange issue with a simple get_comments() implementation in admin panel. Code is this (post ID is truly 1234) get_comments('post_id=1234&status=approve'); It returns proper ...
0
votes
1answer
17 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
13 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
1answer
641 views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
0
votes
0answers
27 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
41 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
54 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
1answer
67 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
23 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 ...
2
votes
1answer
142 views

Change the Return URL from the Customizer

I want to change the return URL after someone cancels or closes out of their changes when using the Apperance -> Customize option within Wordpress. In the wp-admin/customize.php file here is the code ...
0
votes
1answer
24 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
21 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
53 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".
3
votes
1answer
3k views

wp-admin - save options without refreshing?

I have my own plugin options page, but when users hit "Save" button the whole page refreshes. Is there a way of changing my script below to something that will for example popup yellow box saying ...
2
votes
1answer
43 views

Can you ungroup Custom Fields?

I have been using a lot of Custom Fields to make Wordpress like a CMS, beyond simple posts and post meta. The admin area for adding new posts has little "widgetized" movable areas like the ...
0
votes
0answers
40 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 ...
1
vote
0answers
64 views

Category control subcategories

After hours of googling and no result I am turing to you. I have a Wordpress site where me and my colleagues publish information to the rest of the company. There are several screens put up on ...
0
votes
2answers
555 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
0answers
15 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
43 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
0answers
26 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
75 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
133 views

Cannot log in to the admin, no error message [closed]

After a WP autoupdate, I cannot log in to the admin. I have not changed my site URL. I have tried renaming my theme so WP uses the default theme. I've tried renaming the plugins folder so WP doesn't ...
0
votes
1answer
104 views

Can't log into WP Admin, can't access dashboard

My site isn't working - I can't log into the WP Admin and nor can I access the dashboard. Every time I try to access /wp-admin/, I just get the "too many redirects" error and I've tried every solution ...
1
vote
2answers
331 views

user_has_cap filter allows edit but will not allow save

Problem I'm working on a website where we need to be able to put a username in the custom field of a custom post type, and allow the user specified to make changes to that post and only that post. I ...
-1
votes
1answer
81 views

theme injecting css into wp-admin

Some of the CSS from my theme is being used in wp-admin. For instance "Add New Page" on /wp-admin/post-new.php?post_type=page is coloured blue, which comes from my theme, as stated by Chrome code ...
0
votes
0answers
15 views

Wp mwnu not works at all

I've try to make wordpress theme but have a big problem with navbar. when i try to make nav list after save my menu all the titles will disappear and all the links will gone! PLUS when I make dropdown ...
0
votes
1answer
73 views

Custome column sort by date not title

I've created a custom column. Currently they are automatically sorting by title however i want them to sort by date. I've tried adding a "query_post" like: ...
1
vote
0answers
31 views

Edit single attachment on click (WP-admin)

I've created a custom media manager for a CPT I've created. I have everything functioning properly except an edit function. I want to have an edit button for each attachment that gets added to the ...
0
votes
2answers
1k views

How can I remove the “Add New” button in my custom post type?

I have many custom post types that need the Add [custom post type] feature but I have a custom post type of "About" and I do not need to "Add New" about to the about custom post type. So I want to ...
0
votes
0answers
93 views

Missing data in admin ajax calls on fresh install 4.2.1

I have a fresh install of wordpress (no plugins installed), and i noticed that $_REQUEST in admin-ajax.php doesn't have data fields. For example, $_REQUEST for adding new menu looks like this: Dump ...
0
votes
1answer
303 views

wp-admin throwing 500 errors after update to 4.2.1

Site owner updated her multisite yesterday via the dashboard. The site itself is still running, but the network and primary site dashboard both return a 500 error. However, the wp-admin for two ...
0
votes
0answers
39 views

Unable to acess wp_admin

I am really stumped by this I am unable to access wp_admin. I have searched through this forum and others and all suggestions that have been offered that could be causing this issue when I check my ...
0
votes
0answers
22 views

More efficient remove meta data from posts?

Looking for a better way to do this, bulk remove custom field from all pages with a taxonomy -> people -> term of names. Any thoughts ? This is attached to a single button on a custom admin panel not ...
0
votes
1answer
33 views

How to change the descriptive text on the menus admin page?

On the menus admin page, it says 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' I would like to modify this to ' ...
0
votes
1answer
53 views

Can't log into WordPress after domain change

I can not reach my dasboard when I try www.mydomain.com/wp-admin it redirect and becomes ...wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwp-admin%2F&reauth=1" this and I can not ...
6
votes
4answers
3k views

How to disable the “Post Lock/Edit Lock”?

I want to disable this just for one Post Type, as it doesn't really matters if there's another user editing it (the main content editing area is Ajaxified and non-admins can only see that). I ...
2
votes
1answer
530 views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
0
votes
1answer
180 views

How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”

I have a custom post type for a plugin I'm creating and the label for the "add an item" type of button (at the top of the list page) needs a partner-button that says "import" and one that says ...
0
votes
0answers
38 views

In edit post show categories as select instead of checkboxes

In wp-admin edit post categories(taxonomies) are listed as checkboxes. People can select multiple categories. That is exactly what I don't want! I want the categories to be listed as an ...
0
votes
0answers
25 views

Get previous post ID for wordpress blog in admin area

I use W3 total Cache for my wordpress blog. I want to automatically purge the cache of the previous post, when a new post is published (or when status of a scheduled post becomes published). Note: I ...
2
votes
1answer
78 views

How can I delete all inactive widgets?

I want to cleanup all inactive widgets. I tried following snippet as suggested by this answer Script to remove all inactive widgets?. $sidebars_widgets = get_option( 'sidebars_widgets' ); ...
4
votes
3answers
2k views

How to change the wording in wp-admin back-end?

I don't want to edit core files in order to change the page where a user enters new posts, so is there a way to do it within a theme, perhaps within functions.php ..? Specifically, I'm trying to ...