Tools for site administration located in the `wp-admin` directory of a WordPress site.
47
votes
11answers
23k views
Adding a Taxonomy Filter to Admin List for a Custom Post Type?
I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings.
Here is what ...
27
votes
3answers
31k views
How can I add an image upload field directly to a custom write panel?
I've added a new page under "Pages" in the wordpress admin, and added several custom fields. I'd also like to be able to add an upload image field to the page editor - is there some way to do this via ...
24
votes
10answers
11k views
Can I rename the wp-admin folder?
Is it possible to rename the wp-admin folder?
I know I could just rename it, but unless it's supported by the code lots of things would break.
If I use a custom folder name, it will make it slightly ...
23
votes
6answers
8k views
Organizing Code in your WordPress Theme's functions.php File?
The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up.
More specifically, if I have a bunch of custom functions which only ...
16
votes
4answers
8k 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 ...
14
votes
3answers
13k views
Changing Admin Menu Labels
I have spent the last day using the functions.php file to fully customize WordPress for my client sites. I am amazed at how much I have been able to accomplish and how much easier it will make things ...
13
votes
1answer
255 views
Is it possible to reuse wp.media.editor Modal for dialogs other than media
To expand: I'd like to utilize the same Modal code/appearance ( as used in wp.media.Modal, wp.media.FocusManager ) to open a modal of my own custom dialog, not the Media Editor. In the past, I've ...
11
votes
7answers
9k views
Changing the Order of Admin Menu Sections?
I am getting a bit frustrated over here after having spent a few hours trying to accomplish this fairly simple task without any luck.
Essentially I have 5 custom post types which I created and all I ...
11
votes
4answers
3k views
How do I enqueue styles/scripts on certain /wp-admin pages?
I have two simple functions that load stuff using wp_enqueue_style() and wp_enqueue_script(), something like these:
function admin_custom_css()
{ wp_enqueue_style( 'stylesheet_name', ...
11
votes
5answers
4k views
Loading External Scripts in Admin but ONLY for a Specific Post Type?
So I continue to run into this issue and I just looking for the best and simplest solution to solve this problem.
I have come to make use of custom post types in many different projects and have ...
10
votes
3answers
741 views
changing wp-admin/widgets.php
We want to design the widgets page in the admin panel a little differently, mainly in order to help the site administrator understand where each widget will appear in the site:
For that, we need ...
10
votes
3answers
3k views
What are the standard admin CSS id/class tags?
Is there a list of WordPress CSS id/classes that i can use to build plugin option screens that look and feel more like a normal WordPress option page? i have found some through serendipity but it ...
10
votes
1answer
344 views
Plugin API for easy admin list table generation, handling & exporting of MySQL tables?
I'm aware of the WP_List_Table class (which has helped tremendously as it stands).
However, I'm hunting for something even more capable - some form of API whereby you could simply 'register' a MySQL ...
9
votes
5answers
2k views
How can we make managing lots of pages in WordPress Admin better?
WordPress obviously comes from a blogging background but can be used to serve sites with a lot of Pages. However, where it falls short for me is not in regard to performance but in the Admin area's ...
9
votes
7answers
11k views
Front-end Register Form
I'm looking for an easy way to place the user registration form on the front-end of a WordPress site. I've already used wp_login_form() to place the login form on the front end, but now I need to do ...
8
votes
4answers
623 views
What's the easiest way to stop WP from ever logging me out
After a certain amount of time WP logs out all users and forces them to log back in again. For development environments on my local machine this is obnoxious and absolutely unnecessary.
Is there an ...
8
votes
1answer
1k views
Taxonomy dropdown metabox in the back-end
I've created custom taxonomy called Brands and made it hierarchical so I can add Car brands and models there and keep their relations, like this:
Ford
Mustang
Mondeo
Focus
Problem is, this list ...
8
votes
3answers
3k views
Create mobile site with same content just different theme
I have a wordpress site and want to create a different theme for mobile. I'd like to create a subdomain such as m.domain.com which will use a mobile optimized theme much different than the desktop ...
7
votes
5answers
3k views
Is there ANY way to remove comments function and section totally?
I don't want any comment querys to run. I don't wont anything about comments to be shown in wordpress admin area.
Is this possible in any way?
EDIT: Remove all links to the comments from admin bar, ...
7
votes
5answers
2k views
Change the text on the Publish button
Is there a way to change the text of the publish button on a custom post type to say some different? For example, Save instead of Publish. And also remove the draft button?
7
votes
6answers
1k views
Disable dragging of meta boxes?
Anyone know how to disable this functionality so the meta boxes can't be repositioned?
7
votes
2answers
3k views
How do i best handle custom plugin page actions?
I'm constantly running into the same annoyance, so i thought i'd see if there's any ideas or experience out there...
I've created a plugin that uses it's own admin page. It has to. Now that i sorted ...
7
votes
1answer
1k views
Toggle admin metabox based upon chosen page template
I'd like to have a custom field interface show up only when a certain template is assigned to a particular WordPress page.
Any ideas?
7
votes
3answers
260 views
How to order by post meta name in wp admin?
I am trying to order by post meta name which I added for post. Post meta is "_merchant_id" an I know how to sort by merchan_id but I don't know how to sort by merchant name.
I am sorting by merchant ...
6
votes
2answers
208 views
Securing Admin Accounts - Username Discovery
We've had Limit Login Attempts installed for some weeks now, and the number of brute force attempts occurring on wp-admin/wp-login is pretty amazing. At first the attempts were all with the username ...
6
votes
3answers
1k views
Making Custom Fields Standard in the Admin UI
I've added a few different custom_post_types to my Wordpress 3 installation. They are all a bit different from eachother, and should store unique information in custom_fields. But while one may store ...
6
votes
1answer
2k 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 ...
6
votes
1answer
68 views
API to trigger prompt on leaving page
I have a proprietary plugin that creates a metabox on the edit-post page. When the data managed by the plugin is edited and the user navigates away then we would like the user to be prompted as ...
6
votes
2answers
1k views
How to add a custom metabox to the Menu Management admin screen?
Although I am very thankful to the wordpress core team that they have finally integrated native menu management capabilities I get frustrated with some key elements which I would like to change.
I ...
6
votes
2answers
2k views
Sort admin menu items
On a related note to "Changing the Order of Admin Menu Sections?", I'm looking for a way to alphabetically sort the entries in each sub-section of WordPress's admin area.
Currently, whenever a new ...
6
votes
2answers
305 views
How set defaults on wpLink()
With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button:
Take a look at wplink.js Line 278.
...
5
votes
6answers
2k views
How can I improve the line break handling in the WYSIWYG editor?
I always find myself in HTML mode in the editor to try and get simple things like breaks between paragraphs to show up right (using <p></p>). Is that normal? Is there a better editor out there ...
5
votes
4answers
556 views
How can I enable Google Analytics on a file download link?
I'm using Wordpress to present some software for download. The download links are provided via Custom Link entries in a side menu. I would like to enable Google Analytics tracking for these file ...
5
votes
6answers
6k views
How to restrict dashboard access to Admins only?
How would we restrict access to the WP admin area to all users except admins?
The users on our site have their own profile pages which do all the functions they need.
So admin should be off limits to ...
5
votes
2answers
448 views
How to filter by post-format in admin?
I need to filter my posts by Post-Formats in admin ?
How can I do that ?
For now, Wordpress allows to filter by Categories and Dates.
5
votes
5answers
976 views
Form Submitting Error with get_template_part()
I have come across an interesting problem regarding the get_template_part() .
I have created a theme options page (named sitewideSettings.php)
normally I would include this in functions.php like so:
...
5
votes
1answer
2k views
Change page title in admin area
Is there someway to change the title in wp-admin? Been looking all over google but no one seem to mention it.
I simply want to get rid of "— WordPress" and possibly change the "‹" into ...
5
votes
1answer
472 views
Remove “Time to upgrade” message from dashboard
So far I've been using the following code to remove the dashboard update message ("WordPress 3.5 is available! Please update now."):
remove_action('wp_version_check', 'wp_version_check');
...
5
votes
1answer
741 views
Uploading Images in the Link Manager
In /wordpress/wp-admin/link-add.php there is the possibility to add an image to a link, but it belongs to the category "Advanced" and is really a little too advanced for an average user, which needs ...
5
votes
3answers
2k views
Add “external” link to admin menu in the backend
Trying to add a link to my admin menu (dashboard/backend) that leads to the frontend of wordpress, so I basically want a link in the menu that takes me to the blog.
I've found a couple of ways to ...
5
votes
1answer
80 views
Reordering themes in admin panel
I've been searching for a hook to change the order in which themes are displayed in the admin panel (i.e. wp-admin/themes.php) but so far haven't been successful.
Is there an existing hook to do ...
5
votes
3answers
827 views
sortable custom column in media library
trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page.
function wpse_hook_isv_columns() {
...
5
votes
1answer
442 views
How-to make the admin area mobile friendly
Currently the admin-UI is a no-go for mobile browsers. Therefore I'm searching for a plugin that makes the back-end/admin-UI accessible and a little more friendly for mobile devices.
Features, the ...
4
votes
4answers
2k views
How to search all user meta from users.php in the admin
The search form at the top of the users listing in the Admin area (wp-admin/users.php) is limited and does not search all of the user meta fields, such as bio, instant messenger handles, etc. I've not ...
4
votes
2answers
1k 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 ...
4
votes
5answers
3k views
How to eliminate weird 404 errors in wp-admin?
I run a WordPress site with about 70 active plugins.
Every so often, I'll get a random error page ("Not Found", though I haven't checked the headers to see if it's a 404) on a /wp-admin/ page that ...
4
votes
4answers
358 views
Why are admin scripts not printed
I am trying to enqueue/print scripts in the admin area. But they dont seem to appear.
add_action('admin_init', function() {
add_meta_box('portfolio-meta', 'Details', 'portfolio_metabox_details', ...
4
votes
5answers
6k views
How to increase the file size limit for media uploads?
How can I change the Maximum upload file size? I would like to be able to upload 10Mb at a time.
4
votes
5answers
4k views
Disable image attachment links
Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
4
votes
2answers
7k 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 ...
