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

learn more… | top users | synonyms

2
votes
2answers
678 views

Creating a Post form outside of the Admin

I am merging Wordpress into a existing system and require our users to be able to make posts to a multi-site WP install. I have a database table that will link our own member to specific blog IDs and ...
2
votes
2answers
553 views

How to control contextual help section by code?

I had added some content to contextual help section for plugin options page. Now I'd like that page defaulted/toggled to contextual help section open on specific condition in my PHP code. My only ...
2
votes
1answer
597 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 ...
2
votes
2answers
729 views

How can I make a Live Demo of my Premium Plugin? Are there security risks?

I'm glad to have the opportunity to ask my first question here. The scenario is this: My team and I released a Premium Plugin last week. We have since received a number of requests for a Live Demo. ...
2
votes
4answers
2k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
2
votes
1answer
4k views

adding custom stylesheet to wp-admin

im having troubles getting my custom stylesheet work on WP-ADMIN area. plugins_url('style.css', __FILE__) ); do i have to create folder in my plugins named css or do i just copy my .css to the ...
2
votes
1answer
66 views

How can I remove the new stats message?

I've recently (latest update) been welcomed to my stats page with this annoying message: Can anyone tell me how to remove that offensive red "did you know" message? Edit: Looks like adding: ...
2
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 ...
2
votes
2answers
455 views

How to make certain page templates visible to admin only

Making a site for a client, I have some pages that the client won't be able to edit or delete. These pages rely on specific page templates. However, I don't want these templates to be available for ...
2
votes
1answer
167 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 ...
2
votes
2answers
644 views

Hide a theme on list of themes in wp-admin without editing core files

I'm running a multisite network with 200+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain theme does not appear in the list? I ...
2
votes
2answers
681 views

Add a page that appears in the backend admin that lists files to download? WP 3.3

I am currently using WP 3.3.1. Basically I just want a page for users who login via wp-login.php and see the backend admin panel to be able to see a page that shows a list of files they can download. ...
2
votes
1answer
574 views

Get Stylesheet To Showup in WP Admin Panel Editor

So I have a css file that is called blue.css and a universal one called style.css I have a few css colors inside a /css folder. How do I get all those css files to show up in my Admin panel editor?
2
votes
2answers
2k views

WordPress User Roles, Custom Post Types, and Admin views

My friend mentioned that there is a simple way to modify what users see in the admin sidebar based on their user role. I have a large number of custom post types, one for each user, and I need to ...
2
votes
1answer
2k views

Hook the Keydown Event in the TinyMCE Post Editor

I would like to hook the keydown event in the TinyMCE Editor on the edit post admin page. I managed to hook the HTML content editor using the following code: jQuery('#content').keydown(function(){ ...
2
votes
2answers
978 views

Easiest way to make post private by default

I don't know how to make a plugin so I can't do what's suggested here How can I make it so the Add New Post page has Visibility set to Private by default? so what's alternative ?
2
votes
3answers
244 views

Rename W3 Total Cache admin menu

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is name of the W3 Total Cache Admin menu from ...
2
votes
1answer
968 views

wp-admin slow in multisite

Running Wordpress 3.1.2 (newly updated, installed as 3.0 about a year ago) with subdomain multisite & using the Sunrise domain mapping plugin. The frontend is fast, the backend (wp-admin) is very ...
2
votes
1answer
333 views

Adding “Interesting Tags” & “Ignored Tags” like StackOverflow.com in a WordPress Blog?

How to give "Interesting Tags" "Ignored Tags" selection option like stackoverflow.com in a WordPress blog? If a blog is about lots of topics and I want to give option to user to choose option like ...
2
votes
1answer
98 views

What is an “Options Framework” for Wordpress

I am exploring a couple options frameworks for wordpress like the Redux Framework. As a non-developer interested in maintaining my own Wordpress based web app, when would an options framework like ...
2
votes
2answers
749 views

Custom login redirects to wp-admin on wrong password

My custom login form redirects to the wp-admin login when an user doesn't manage to guesses his/her credentials right. How can I manage to redirect the user to the current form instead? And of course ...
2
votes
1answer
66 views

How to set Active plugins as the default screen?

In my testing environment, I've got one hundred plugins. I'm more interested in seeing first the Active plugins than the complete list (All). How can I change the default screen for the Plugins menu ...
2
votes
2answers
248 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
2
votes
1answer
482 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
4answers
5k views

How to display a static HTML page while setting up a WordPress site?

I just installed Wordpress. I have a non Wordpress splash page at [root folder]/index.html. I'd like to keep the splash page up while I work on skinning Wordpress. When I try to access index.php ...
2
votes
1answer
94 views

Redirect users away from Admin breaks ajax

Tried to make a simple redirect for some users I don't want to access the wp-admin/, so I did this code: function no_admin_access() { if ( !current_user_can( 'delete_posts' ) ) { ...
2
votes
1answer
227 views

remove_action with profile_personal_options

I'd like to remove the action profile_personal_options (more specifically the color scheme and visual editor checkbox) which shows up in wp-admin/user-edit.php. I believe it's as simple as running it ...
2
votes
1answer
393 views

Custom text-only header

I am developing a WordPress theme and would like to make use of a custom header on a the homepage (I'm using a custom page template). I would like this header to not include an image, but rather an ...
2
votes
1answer
231 views

Getting the different post statuses + count like in edit.php, in a custom submenu page

I'm trying to create a submenu page for reordering posts/pages. Right now I'm trying to include the list that display the different post statuses, for example: All (5) | Published (4) | Draft (1) I ...
2
votes
1answer
668 views

Add mass action to wp-admin/users.php

I'm heavelly modified my Wordpress, it's amazing what you can do with wordpress hooks, actions.. But i'm not able to find how can i add mass action for users. Let's say i select 5 users and i want to ...
2
votes
1answer
180 views

In the Wordpress admin, how can I find out which page (themes.php, widgets.php, etc.) I'm on?

In the Wordpress admin, how can I programmatically find out which page (themes.php, widgets.php, etc.) I'm on?
2
votes
4answers
714 views

Creating WordPress Admin Themes

Is there any way to create our own admin theme rather than the default one. or do we have to override the default style sheets to get the desired look??
2
votes
2answers
967 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
3answers
1k views

Use tag interface for hierarchical taxonomy?

Custom taxonomies are great. I registered a bunch of new taxonomies and wrote an importer to import our hierarchical taxonomy into WordPress a la XML. The problem is one taxonomy has about 1,100 terms ...
2
votes
2answers
755 views

display list of posts/pages in admin edit post/page

Basically, I thinking how i could get a mini wp-admin/edit.php view inside the wp-admin/post.php page. does this even make sense to anyone?
2
votes
1answer
758 views

show/hide toggle for subpages in wordpress admin area

We have a wordpress site using many subpages to each page - I'm looking to create a show/hide accordion toggle within the backend to show and hide subpages allowing us to keep the page listings clear. ...
2
votes
3answers
346 views

WP Database Error (Windows Server 2008 & SQL Server)

I have a WP site up and running for my wife and she attempted to install a text widget that linked to her Twitter account (she says HTML was taken from Twitter.com). I am not sure exactly what she ...
2
votes
3answers
1k 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 ...
2
votes
1answer
41 views

Using List Table Filters for ALL Custom Post Types

Is there a way to create sortable columns for admin tables across ALL post types? I am working on a project with 7 Custom Post Types, and wondering if there is a better approach than using multiple ...
2
votes
1answer
48 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
2
votes
1answer
64 views

Hide username from users list

I've hidden the username column from users administration with the following code: function modify_user_columns($column) { $column = array( "cb" => "<input type=\"checkbox\" />", ...
2
votes
1answer
144 views

How do I change the default admin color scheme in MP6

How do I set a different default admin color scheme for all users? For example, it's set to MP6 as default now, but I want to make it MP6 light by default. The users may or may not change it later! ...
2
votes
1answer
144 views

Custom admin column disappearing when using Quick Edit [duplicate]

I have added a featured image column to my posts in the WP admin. This all works fine except when using the Quick Edit feature. Upon update, the column disappears, or rather isn't returned by the ajax ...
2
votes
2answers
49 views

How to find out if an wp-admin action edited a file?

I want to create a small plugin to automatically purge the APC opcode cache after specific actions in the Wordpress admin interface. This is necessary if e.g. apc.stat is set to 0, as a change to a ...
2
votes
2answers
162 views

js Conflict in admin panel - I guess it's from the core WP installation

A client's site: causing serious js conflict or js loading disabilities, is under custody. Activating DEBUG, Deactivating all Plugins, and Activating Default theme "T13" found that, still the problem ...
2
votes
1answer
154 views

Ordering Post 2 Post admin meta box by meta from CPT

I've just started using Posts 2 Posts (brilliant plugin by the way) in combination with a custom post type called "Artist" and the WP Event Manager Plugin. My aim is to use P2P to link Artists to ...
2
votes
2answers
288 views

Bulk Delete Users Error uri too large

I am trying to delete thousands of users at once. After seeing that I can only display up to 999 user records at once using the "Screen Options" menu I thought that might be ok. But upon clicking ...
2
votes
1answer
493 views

Admin menu as submenu from another plugin

I would like to add my new developed plugin's admin menu to an existing plugin as sub menu. Would be possible to do this? In my first plugin I initilize the menus as follows: function add_pages() { ...
2
votes
1answer
356 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 ...
2
votes
1answer
777 views

Show Custom Comment Fields when editing in admin

I'm using the Custom Comment plugin to add custom fields to my comments. This plugin lets you define more fields for comment to let your visitors include their facebook, twitter and ... in their ...