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 ...
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?
23
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 ...
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 ...
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?
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 ...
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 ...
2
votes
3answers
9k views
How to redirect/rewrite all /wp-login requests
Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin?
I have added this entry to my .htaccess file:
RewriteRule ^admin /wp-login.php [L]
...
3
votes
2answers
543 views
do_shortcode() within Admin Page
I'm using a few plugins that have shortcodes ... however, instead of creating a public page for the content, I've created some new pages within the admin using add_menu_page and I need to know how to ...
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 ...
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 ...
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 ...
3
votes
1answer
419 views
Highlight custom widgets in the admin area?
I have created some custom widgets for my client to use, but I want to make them stand out amidst the fifteen or so standard widgets in the admin area. How can I do this?
I have solved this problem ...
5
votes
1answer
731 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 ...
3
votes
1answer
9k views
Changing the 'wp-admin' URL to whatever I want
Is there a plugin that allows me to change the url of domain.com/wp-admin to domain.com/whatever-iwant ? Curious if there is an easy solution to this by now.
2
votes
1answer
135 views
Only allow new subpages to be created
I'm looking for a way to only allow users to create new subpages once there are nine pages that are parents/root pages. Once there are nine parent pages when trying to create a new parent the users ...
1
vote
1answer
836 views
Hide a page in the admin end without a plugin?
I'm creating a series of pages with iFrames embedded in them, but it seems the only way to do this within Wordpress (i.e. using the templating system) is to create pages in the admin end and then ...
0
votes
1answer
226 views
Filters 'request' and 'parse_query' not firing in sites.php nor link-manager.php
I'm trying to make sortable columns in Sites and Links listings admin pages.
/wp-admin/network/sites.php and /wp-admin/link-manager.php
The problem is the following filters are not firing up in ...
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 ...
10
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', ...
3
votes
1answer
3k views
How to make ajax call in wordpress in right way?
I am trying to using jquery ui tabs with ajax calls to run a function. Here is the code i am using:
function ajax_load_user_feed(){
if(isset($_GET['type'])) $type = $_GET['type'];
...
8
votes
4answers
617 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 ...
1
vote
1answer
700 views
Custom column for changing post status via ajax
I'm currently trying to implent a new custom column at the page manage screen that will let me change the status (published/pending) of the different pages via an easy toggle link.
From what I've ...
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 ...
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 ...
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 ...
3
votes
3answers
834 views
Removing fields from the Media Uploader/Gallery
I've been searching high and low for an answer.
I simply want to remove the Alternate Text, Caption, Description and Link URL-fields from the uploader and gallery view.
I seem that every thing else ...
1
vote
1answer
396 views
Enqueue Javascript Correctly for 3.5
I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
4
votes
1answer
707 views
Filtering the Admin Comments List to Show Only Comments from the Current User?
In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments.
I'd like the users to see only his/her own comments and the comments that are left 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 ...
2
votes
2answers
4k views
How to activate “custom fields” section in WP3
This is probably a stupid question, but I am setting up a finnish Wordpress installation. The "custom fields" section in the "write post" section is gone; I gather it is hidden by default.
That is a ...
1
vote
3answers
644 views
Require a Custom Taxonomy to be checked
I have a custom taxonomy, "position", with multiple terms for a custom post type, "employee" in the admin. I want to validate the form to require a position to be selected when you save/update a post.
...
2
votes
1answer
154 views
Site Title and Tagline in Theme Options Page
I'm using the Options Framework Theme to put together an options page. The user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the ...
2
votes
2answers
638 views
Add column to pages table
Hey all i am trying to find the section within the edit.php page where it populates the table with all my current pages. What i want to do is add another colum to the table in order to launch a side ...
2
votes
1answer
486 views
Load Balanced WP with single server admin access
I am trying to complete my load-balanced installation of WP and I have come into an issue. I would like to sync the uploads folder between the two installs but I do not know how to limit wp-admin ...
1
vote
1answer
77 views
Hide page visual editor if template is selected - redux
The answer given to a previous and identical question is unfortunately not working on my WP install.
I'm using a version of the function recommended there.
function nim_hide_editor() {
$post_id ...
1
vote
2answers
159 views
Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
I'm looking for a way to conditionally load different scripts if the user is accessing the admin area from a mobile device.
In my case I'm looking to restrict the user to just be able to make new ...
1
vote
1answer
294 views
Associating custom submenu item with post type of top level menu item
I'm working on a plugin that sets admin menu submenu pages on all different post types.
I need to be able to associate these new submenu pages with the corresponding post type of the top level menu ...
1
vote
3answers
851 views
How do I filter the excerpt metabox description in admin?
I want to change the default "Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts." help text below the Excerpt input area to ...
0
votes
2answers
354 views
How to prevent parent admin page from appearring as a child admin page
I am using this code:
add_menu_page($page_title, $menu_title, $this->capability, $menu_slug, $function);
Which is adding top level admin page. When I add:
add_submenu_page( $menu_slug, 'sub ...
0
votes
2answers
752 views
How to list ALL Pages in the dashboard?
I'm wanting to find a way to have all pages listed without paging and to do so in a method that isn't going to be over-written when I update WordPress, i.e. in the form of a hook.
The page is in the ...
0
votes
5answers
1k views
Plugin Development: Wordpress processes twice on post update. How to skip process on the first?
When you create a plugin and set up a process function, Wordpress will run the plugin process function twice upon clicking the update button. I believe the first process is for the versioning ...
0
votes
1answer
273 views
How to restrict user to see his comments only and admin can see everyone comments?
i was trying to achieve this how can i restrict user to see his comments only along with admin replies and admin can see everyone comments?
Any suggestion with code would be helpful as i am new to ...
0
votes
1answer
3k views
Where is default wp_head() implemented?
I'm trying to customize a theme, and I see that the header.php calls "wp_head()". I can't seem to find an implementation of this in the theme, so I presume there is a default implementation that ...
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 ...
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 ...
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 ...
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 ...
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?
4
votes
3answers
1k views
Limit widget to certain sidebar?
I have multiple "sidebars", but not all of them are the same size. Not all widgets fit in all sidebars (for example, I have a "footer sidebar" where the client can place custom widgets, but they are ...
