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

learn more… | top users | synonyms

1
vote
3answers
4k views

How to remove 'create new post' entry for a custom post type?

I have a custom post type that is created using a form on the site. I want to disable new post creation from wordpress admin. Is there a way to do that ?
7
votes
1answer
6k views

Row actions for custom post types?

I'm working on a plugin, which converts a site into a feedback sort of portal. I made a new object page, 'Feedbacks', which displays all the feedbacks is a tabular format, and I'm using ...
0
votes
0answers
31 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
15 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
1answer
480 views

Multisite network admin – URL / redirect error

I followed this guide on how to set up a WordPress installation that is optimized for git deployment. Basically, WordPress is moved into a subfolder called wordpress, index.php and wp-config.php are ...
0
votes
0answers
45 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 ...
2
votes
3answers
631 views

Why does WordPress require a ftp server to be running on the webserver to transfer plugins?

I had asked a related question on Super User: A use case of a system "receiving" files over FTP would be, for example, the way WordPress plugins are installed via 1-click where WordPress ...
0
votes
1answer
21 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 ...
3
votes
1answer
62 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
1answer
31 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
1answer
50 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 ...
3
votes
8answers
7k views

Adding fields to the “Add New User” screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
0
votes
0answers
14 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
3answers
37 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 ...
0
votes
0answers
25 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
40 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
37 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 ...
1
vote
1answer
26 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
2answers
189 views

Always show same size tags for Tag Cloud in Wordpress Admin

I wanted to know if there was a way to modify the back-end of Wordpress to do 2 things: Make all tags' font the same size, so none are larger than the others Always show the most used tags when ...
0
votes
0answers
28 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 ...
0
votes
2answers
34 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
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
0answers
14 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
0answers
20 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
17 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
24 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 ...
0
votes
1answer
43 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
18k 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 ...
20
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
387 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
697 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
60 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
71 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
104 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
11 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
619 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
24 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
33 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
33 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
65 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
21 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
119 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
19 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
19 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
45 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
2k 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
39 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
63 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 ...