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

learn more… | top users | synonyms (1)

1
vote
2answers
81 views

Make the Status, Visibility, or Date fields opened by default in the Publish box

By default, the Status, Visibility, and Date fields in the Publish metabox are closed, and you have to click Edit to show them. Is there a way to make these fields visible by default? The hidden ...
3
votes
1answer
230 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' => ...
1
vote
2answers
63 views

How to publish page that can't be detected by search engines?

I like to publish drafts in my 'Uncategorized' category. This category is not linked anywhere on my site. It's great for allowing contributors to an article to read the draft before it is made ...
1
vote
0answers
82 views

Continuous Login Sessions For Super Admins Across Multi-Site Network of Sites

I've looked around on WPSE, and WordPress.org and Google. Can't seem to find much information on this topic. Is it possible to enable continuous login sessions across all WordPress Multi-Site linked ...
1
vote
2answers
88 views

Why are my styles being applied to the admin area?

All my enqueued styles are applied to the back-end as well. I have never encountered this behavior before. Here's my code: wp_register_style( 'main-styles', get_stylesheet_directory_uri() . ...
0
votes
1answer
157 views

How to add an admin function only to posts, not pages?

I'm having a problem with adding an excerpt counter to the excerpt field. It may be a conflict with another plugin, but basically it screws with other jquery if the excerpt field doesn't exist (e.g.: ...
1
vote
0answers
186 views

Admin search post meta

I have currently built a property database using WordPress and am purely using the back-end for the whole job. I am listing all the properties and used a plugin called "Easy Filter" to add custom ...
0
votes
1answer
206 views

Adding a 'style=' bit to image_send_to_editor output

The best thing I liked about the new v3.5 media manager was being able to insert images to a post hosted by an external site like photobucket using "Insert from URL". I normally format my image ...
5
votes
5answers
2k views

Add separator to admin submenu

I would like to add a separator to the admin submenu section, NOT in the top level section. I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
0
votes
1answer
198 views

Is there a hook between clicking on “Add new” and the edit screen of a new post?

At the moment i use 3 custom post types to create "exhibitions", "guided tours" and "regular events". My idea is to combine these events to one custom post type "event" and by creating of this custom ...
3
votes
1answer
250 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 ...
2
votes
1answer
328 views

Gallery Settings Change available Columns

Is there a filter hook which changes the number of available columns in gallery settings screen. I'm talking about the : <label class="setting"> <span><?php _e('Columns'); ...
2
votes
2answers
581 views

Reorder dashboard widgets

I recently tried to reorder the dashboard widgets by writing a plugin. I accomplished this: with the following code: <?php /* * Plugin Name: Custom Dashboard * Description: Custom dashboard ...
2
votes
3answers
1k views

How do I only load a plugin js on it's settings pages?

I have a plugin that is conflicting with some default wordpress functions. In the post and page creating/edit areas. I only need my functions on my settings pages. I have the js file loading in admin, ...
0
votes
2answers
424 views

Plugin getting Cannot modify header information errors

I am trying to build my first plugin but am receiving the following error: Warning: Cannot modify header information - headers already sent by (output started at ...
2
votes
1answer
54 views

Text snippets shared across posts

I'd like to add a "fast facts" section to a wordpress site - an area in the sidebar where snippets of text are rotated. Where is the best place to store things like this? Widgets don't really allow ...
0
votes
1answer
54 views

loop and in admin header problem

I have a WP_Query loop running in a function that's attached to the 'admin_enqueue_scripts' hook add_action( 'admin_enqueue_scripts', 'rs_get_scripts'); function rs_get_scripts() { //enqueue js ...
0
votes
1answer
377 views

How to show a custom notification to a specific user?

I am new here, I found this spot interesting and very special. I've already found useful information through your discussions. My first question is about user management. As Admin, I would need to ...
1
vote
1answer
114 views

Fixed layout for admin section

I would like to customize the layout of the admin section of WordPress. The thing is, whatever the layout I create, I'm very dependent of the default "fluid" layout of the admin. By fluid, I mean: ...
1
vote
1answer
761 views

Image popup in a lightbox / overlay from the backend 3.5 admin area (plugin)

Is there a built in way within the backend admin area to have an image show in a popup/lightbox? I built a plugin with help images and want them to show when clicked in a popup overlay / lightbox.
0
votes
1answer
90 views

Calculate and save an average in a meta

I'm asking for your help to develop a system average. I have a website video games and I created a function that automatically calculates the average for each review. It works very well. The problem ...
1
vote
1answer
3k views

Changing wp login url without .htaccess

How to change wordpress login url without using .htaccess, should be a manual process, so example.com/login will not redirect to example.com/wp-login.php so example.com/login will be the login page?
2
votes
2answers
88 views

Is there an action that is called when a post is restored from the trash?

I'm looking at the wordpress list of actions and trying to find an action that is called when a post is restored from the trash but cannot find one. Does anyone know if it exists?
1
vote
2answers
892 views

Restrict dashboard access for specific user roles to specific actions

I have a script that enables a logged in user (role Author) to delete their own posts using get_delete_post_link(). However, I also want to be able to restrict the author's access to the dashboard. ...
0
votes
1answer
250 views

Require custom post type if is_admin() - template doesn't show up?

In my functions.php I require PHP files which register custom post types, if I'm logged in as an admin. if (is_admin()) require_once(TEMPLATEPATH . '/custom-post-types/cpt.php'); This works ...
0
votes
1answer
82 views

TinyMCE buttons broken

For some reason my TinyMCE buttons are completely misaligned and have the wrong background-position (See image below): I have attempted to download a fresh install of Wordpress 3.5 and replaced my ...
0
votes
2answers
603 views

Wordpress administration Over SSL - To Force SSL Logins and SSL Admin Access

I have a plan to enable SSL to admin login of my wordpress site, Is it a best practice? What will be the behavior of plugins? What are the pros and cons of my decision?
0
votes
1answer
84 views

How to include stylesheet in custom admin using parent_slug

Using this code from codex: function my_enqueue($hook) { if( 'edit.php' != $hook ) return; wp_enqueue_script( 'my_custom_script', plugins_url('/myscript.js', __FILE__) ); } add_action( ...
3
votes
3answers
9k 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 ...
0
votes
2answers
2k views

Downloading entire site locally with httrack [closed]

I had a bit of a scare with a malformed database last night which got me to getting onto making sure I have so many redundant backups of my site that I am covered in the event of the server dying, my ...
4
votes
1answer
1k views

Filter custom post types in admin not working

Hello I'm wondering if anyone can help me figure this out. Essentially when I click on my custom post type 'Portfolio' in admin, I see a list of 'Services' next to posts, but when I click on one to ...
0
votes
1answer
194 views

Only Admin can Edit, Delete or Update

I want to know if there is any way in WordPress that only Admin can update/edit or delete published posts/listings. User who have submitted the post/listing can't even edit/update or delete it. ...
2
votes
1answer
125 views

What does $_registered_pages do?

I would like to know what $_registered_pages does and where am I supposed to use it. Thanks. p.s was unable to find any documentation on it online.
0
votes
1answer
427 views

Function to add custom HTML into head in custom post-type list page

How can I add custom HTML/PHP file into head where custom post-type list showing like this ? Any Wordpress function can do this ? or I can only do by JS(jQuery) to append my custom content ?
0
votes
1answer
109 views

Jquery on custom-field backend

I need some help because I want to use some jquery (and css probably) on some custom fields on post edit screen. What I need exactly is to make , and . magically apear when user types a number: ...
1
vote
0answers
89 views

How to add a filter based on custom field to admin user list [duplicate]

I have added a column to the user list using two wordpress hooks: manage_users_columns and manage_users_custom_column. That's working fine. Now I would like to filter the user list based on a custom ...
1
vote
2answers
4k views

Filter by custom Field for Custom post type Admin Listing

I have a custom post type "Article" which has a custom field "issue" that is the id number of a "issue" post type that i am selecting using a simple select box. I want to add a drop down of issues ...
0
votes
1answer
361 views

Usage of custom post types in a custom admin menu

This question is a little hard to explain but i will try to be as clear as i can: I have a custom theme that i am presently working on, within this theme i have added a top level menu in wp-admin ...
0
votes
1answer
89 views

How to add an admin alert for missing plugins

I'm trying to add an admin alert that reminds the user to install a certain plugin in case it is missing. I have found a way to generally add an alert box: function addAlert() { ?> <script ...
2
votes
1answer
252 views

Show admin help message across custom post type parent and child posts

In my custom plugin, I am using the following code to display an info / help box. This is working great for the main admin edit screen that lists the custom posts, but how can I extend this to show ...
0
votes
2answers
30 views

How to create functions that affect only a specific user

I am customizing the WP admin area and want the functions I am using to only affect a specific user. Any Ideas on how to write this?
0
votes
1answer
1k views

Where in WP can I check history or log of updates of plugins etc?

I need to find out what happend at certaint time when some of my admins make some plugin updates etc. So i need to check in admin the log of changes, updates etc. Where can I find that in WP admin?
1
vote
1answer
113 views

using rewrites to secure login page

I'm trying to be sneaky with iis to secure a wordpress login page (not my choice to run a windows server, but that's the reality of things). It's worked so far, only the login page itself loads itself ...
1
vote
1answer
720 views

wp-admin post.php JavaScript Links Not Working

I just recently noticed in my backend admin panel none of the dynamic JavaScript links will open or work at all. This includes the 'Edit' links next to Status, Visibility, and Scheduled. Also the slug ...
0
votes
1answer
95 views

Prevent users from changing post status

The scenario is this: An agent enters the post data (custom post), but can only do a pending for review or change the visibility of the post. He cannot change the post status manually. I have ...
0
votes
1answer
411 views

Re-ordering Admin Submenu Sections

I was looking at the method below to reorder the Admin Menu Sections: http://wordpress.stackexchange.com/a/1220/1044 ...and was wondering if it's possible to reorder the submenu sections using ...
2
votes
1answer
1k views

Add Wordpress MU Network Admin via Database

I am working on getting a copy of a WordPress MU network up and running on my local machine for development purposes (using WordPress 3.2.1 at the moment). I need access to the network administration ...
3
votes
1answer
173 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, ...
0
votes
1answer
178 views

function to return comma separated list of meta values

I'm customizing the admin edit.php screen and I have a column that displays a meta key $gear. But it only lists the first value instead of returning a list of all the values. Here's the bit that ...
0
votes
2answers
284 views

Redirect from the dashboard to edit.php if wp_is_mobile() is true

Looking for a way to redirect the user from the dashboard straight to edit.php if wp_is_mobile() is true. This is what I've tried: function redirect_if_mobile() { $screen = ...