Users with the ability to perform administrative tasks for a site or a network of sites.

learn more… | top users | synonyms (1)

4
votes
3answers
2k views

How to fix admin stylesheet muck-up? [closed]

I have no idea what's going on here.. running the latest version, just logged in and I find my admin area looking like this: To me it looks like it's missing some/many styles and in load-styles.php ...
3
votes
5answers
10k views

How to customize wordpress login/register pages?

My question is how do I customize the default WordPress login and register page without editing WP's core files. I'm thinking more along the lines of a functions.php code. Can anyone help me out by ...
3
votes
3answers
1k views

Modifying admin sidebar contents to show pending posts indicator

Hey, I've been trying to get a pending count to appear on the admin sidebar, for pending posts, like the little bubble that appears for pending comments: Offtopic: Am I the only one that thinks ...
3
votes
3answers
876 views

jQuery UI in Admin (Best Practice?)

Maybe someone has prior experience with this, but when I include the jQuery UI 1.8.9 file within my admin_head I break the functionality of the dashboard (i.e. popup for adding featured image, drag ...
3
votes
1answer
4k views

Creating my own Admin Forms in a WordPress CMS?

I just decided to try using WordPress for a CMS (not a blog). The site will have some product information that I want the client to be able to update. Instead of creating an entire admin side just ...
3
votes
1answer
1k 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 ...
3
votes
1answer
330 views

Add “Last Edited by” column to custom post type list table

Currently I use the "Admin Columns Pro" plugin for Wordpress to modify some of the columns in the backend. The plugin contains functionality to display the post (or in my case, product) author as a ...
3
votes
2answers
437 views

WordPress Admin back-end - advanced options page?

Am I losing my mind? I seem to recall that somewhere in the Admin back-end there was a page that basically listed out all the fields within wp_options. Does this ring a bell to anyone else? I thought ...
3
votes
1answer
1k views

Is it OK to move admin menu items?

I have a site with eight custom post types. Each is registered with 'menu_position' => 5 (below the Post menu). A side effect of having more than four CPTs is that the Media menu now appears in the ...
3
votes
3answers
1k views

Set Featured Image programmatically (in admin) with JavaScript?

I'm trying to set the post thumbnail (featured image) with javascript from an existing image in the media gallery. I would consider a php-based option too I suppose (one that would require clicking ...
3
votes
2answers
413 views

Disable the post save process completely

I need a way to disable the save process completely using an action/filter. Something that works (for e.g.:) in the query, posts_clauses or wp_insert_post/save_post/update_post hooks. So far I only ...
3
votes
2answers
2k views

use add_settings_field properly?

I'm using add_settings_field to add some more details to a settings menu, but not sure how I save the settings, or call them back in my theme. Here is the code thus far ...
3
votes
1answer
212 views

Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles

I need to redirect logged-in and non-admin users, from page with id 172, to the home of the website. Note that users that are not logged in can actually see the page. add_action('admin_init', 'xyz'); ...
3
votes
3answers
644 views

Make fonts.com font work in TinyMCE (iframe referrer issue)

I'm using custom (commercial) fonts in my project. Everything works well in the frontend. I noticed however that, when trying to add this font to the TinyMCE iframe, I get a 403 for the webfonts. The ...
3
votes
1answer
749 views

How can I change the admin search posts fields?

I have a custom post type that includes many custom fields. I would like to add them as a search target to admin search. Currently the admin search searches only the content and the title, I would ...
3
votes
2answers
837 views

Modify CSS via Theme Control Panel

Hi to all I'm trying to create an advanced control panel for my first Wordpress template but I'm not able to add a function that I will need. The function that I'm trying to add is the possibility to ...
3
votes
1answer
2k views

Can I set a default dashboard layout for all users?

I'm creating a multi-author blog, and have recently added the "Dashboard Notepads" plugin. This allows me to add 1 to 3 dashboard widgets which I can write custom notes in, like news or notices. Is ...
3
votes
6answers
3k views

Admin Ajax is returning 0

I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though I think this is actually the success message and it's not returning anything. I ...
3
votes
2answers
1k views

How to obtain the user ID of the current profile being edited in WP-Admin?

Is there a way of obtaining the user ID of the profile being edited in wp-admin? I know it's in the URL if you are editing a user, EX: ./wp-admin/user-edit.php?user_id=427. Could always ...
3
votes
2answers
2k views

How to Load Scripts and CSS for Admins Only When Editing or Adding Posts

I have a plugin that will allow administrators to perform certain actions when adding or editing a post. I use a stylesheet and a javascript for this plugin that I want to include only when a post is ...
3
votes
2answers
2k views

How do I remove a require_once admin panel from the parent theme from the child theme functions.php?

In the parent theme, the following is at the bottom of the functions.php file. require_once(TEMPLATEPATH . '/admin/admin-menu.php'); In the child theme's function.php, this code will include the ...
3
votes
2answers
3k views

Is There a WordPress Hook to Filter the Edit Posts View?

I want to be able to customize the WordPress edit posts screen to filter based on a custom field (or whatever). Unfortunately I'm not sure what filter or hook to use here, and instead of opening the ...
3
votes
1answer
781 views

How do I create my own admin button and theme settings page?

I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my ...
3
votes
1answer
387 views

Integrate post tags in Post Edit page with qTranslate

Summary In the tags widget in the Post Edit page, I need to know a way to filter through: the tags suggestions the tag terms update when saving or updating the post At least that is what I think ...
3
votes
3answers
359 views

Making the thumbnails in the backend Media section bigger

So I uploaded a lot of similar looking photos, and uploaded a duplicate or two. I go into the backend to the Media panel, but alas, each row has a small thumbnail, making it time consuming to figure ...
3
votes
1answer
1k views

WP List Table custom quick edit box - post meta data missing and columns change on submit

I have extended class WP_List_Table to create a custom sortable table of posts along with a quick edit box with custom meta boxes. The meta boxes populate and save but when I click submit the field ...
3
votes
1answer
1k views

Custom post type admin search

Is it possible to search in custom post type meta fields? I have posts, with many custom meta fields. Wordpress by default search only in title and in content. How can I change it? If you didn't ...
3
votes
2answers
288 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
3
votes
1answer
216 views

Custom taxonomy only showing top level terms in admin?

I have a hierarchical custom taxonomy that I add terms to programatically using the following code in a loop: -- SNIP -- $args = array( 'description'=> '', 'slug' => ...
3
votes
1answer
217 views

Possible to create placeholder images in Wordpress editor that are clickable (should bring up uploader)?

Working on a project where I would like to have buttons within the actual visual editor area where the user can click on the placeholder image and it brings up the upload dialog. I've seen that ...
3
votes
3answers
8k views

How does admin-ajax.php work?

we are having some issues with an external developer. i am not a wp person so i turn to the masses to help out. we want to limit access to the wp-admin site to internal access only (via vpn). simply ...
3
votes
1answer
628 views

Error with Custom Admin Screen in iframe Thickbox

I have a plugin that adds a new admin screen in an iframe. I created a PHP file in my plugin, and I put a link with a class of Thickbox to that. Everything works just fine, but it produces a PHP error ...
3
votes
1answer
1k views

How to add filter in “Comments” at the admin panel?

I found so many information and most of the tutorials only talk about adding filter in post/custom post only. I want to do something similar to this tutorial in 'Comments' area in admin panel. Add ...
3
votes
1answer
2k views

Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?

I've created a custom post type for my "Testimonials", I don't need a title(s), how can I write a function that Adds the "Edit | Quick Edit | Trash | View" links to "date" if title isn't shown in the ...
3
votes
1answer
68 views

why don't I get error messages in admin when developing?

I am curious as to why my screen goes completely blank when an error is present in my code. This only happens to me when it is an admin function. No warnings, no syntax error messages, nothing. Just ...
3
votes
1answer
1k views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
3
votes
1answer
293 views

Customize the upload screen

I would need to simplify the "upload new image" interface for our Authors : basically, hide a few fields that will only confuse my wordpress "authors" (like the "Description" and "Alt" text inputs). ...
3
votes
4answers
3k views

Wordpress Admins or Roles per Page

I would like to define an admin that has Administrator rights to everything - thats of course possible, its the default functionality. then i would also like to create an admin (or role) that can only ...
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 ...
3
votes
2answers
612 views

WordPress prompt checklist before publish?

Does anyone have a suggested plugin that does the following: when a user hits publish on a post for the first time, it should have a popup, notice, or alert that asks the following: Do you have a ...
3
votes
1answer
344 views

Make Theme automatically choose default nav menu

I have been developing a WordPress theme. I want to be able to, once activated, look to see if there is already a menu created in the backend. If it exists then choose it and use as the primary menu, ...
3
votes
1answer
2k views

Uploading Images to Multi-Site Causes Failure to HTTP Error

Just to fill you in on my situation. Running WordPress multi-site version: 3.5.2 clean install. Zero 3rd party plugins. All of my plugins have been disabled for debugging. Using WordPress MU ...
3
votes
2answers
144 views

Move admin menu at the end

I installed a plugin for my users in WPMU and I want to make it appear at the end of the admin menu .... I tried this but the menu never appears at the end: function custom_menu_order($menu_ord) { ...
3
votes
1answer
154 views

How to get search results in the backend admin on a custom post type?

I have a custom post type books and have many meta boxes for it...etc But in the backend, I am not able to search anything. For example I try to search the custom post type id in the search field, ...
3
votes
1answer
629 views

How to add admin bar and admin menu or submenu notification bubbles?

What would you recommend to use as far as manipulating the admin bar goes? I was thinking to just add a new admin bar node, and with CSS set a background image for the icon. Then in the node, just ...
3
votes
3answers
347 views

How do I save data from submitted form from widget

I'm looking over internet for some simple solution of email subscription widget but no luck. Or they are too complicated and paid, or they are relaying on some external email functions. I'm not a ...
3
votes
2answers
89 views

How to develop a community feature in the dashboard for multiauthor site

I run a Wordpress site that has more than 300 authors. Is it possible to create some type of community in the backend (dashboard)? Ideally, a space where the authors can discuss with each other in a ...
3
votes
1answer
330 views

Installing wp3.2.1 on IIS; getting empty sessions

i have to install wordpress 3.2.1 on IIS 5.0 (yeah, i know...) here. Brand new default wordpress installation, no plugins ore previous versions installed. So, i downloaded the 3.2.1.zip and the ...
2
votes
2answers
7k views

Use latest jQuery in WordPress (admin interface)

I want to use the latest jQuery (and jQuery UI) versions on my admin interface (editing a specific post type that I created). I tried this: // jQuery 1.x wp_register_script('jquery1x', ...
2
votes
2answers
7k views

How to remove screen options and help links in the admin area?

I would like to remove screen options and help links in my admin area. How to remove that thing?. This is what i want to be removed. Thanks.