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

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

Page only shows when user is logged in (even with visibility set to public)

I'm trying to troubleshoot an issue on a client's site. There is one specific page which appears as "not found" unless you log in and then visit the front end, in which case it appears normally. The ...
0
votes
1answer
228 views

Wordpress admin for a custom post, hide/collapse the main “title” and “description” boxes

Is there a way to hide the main "title" and "description" boxes for a custom post? I have a custom post with a large meta box. I won't be using the regular title and description so I would like to ...
2
votes
2answers
2k views

Wordpress admin stylesheet

Is there a way to override the styles in the admin in my theme? I don't want to touch the admin style sheet if I don't have to. I just want to make a column bigger in my admin, but also, to do it in ...
7
votes
1answer
1k views

How-to make the admin area mobile friendly [closed]

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 ...
0
votes
1answer
265 views

I need a “Choose from existing content” popin

I'd like to create a field that allows the admin to select from other existing post types. Specifically, I want to create an options box to choose which events display on the homepage. For now, I've ...
1
vote
1answer
308 views

Grabbing the first image attached to a post and use it with the admin columns

I'm currently using @kovshenin's tutorial here on adding a thumbnail (a featured image) to my post type admin columns. Would it perhaps be possible ( and how :) ) to retrieve the first image attached ...
0
votes
3answers
580 views

body_class hook for admin pages

The body_class hook seem only to work with non-admin pages. When I do add_filter('body_class', 'add_body_classes'); function add_body_classes($classes) { $classes[] = 'myclass'; ...
0
votes
1answer
130 views

Hiding the media-new.php File URL option via jQuery

As the title says I'm currently having some difficulties hiding the File URL option via jQuery. I've been trying this: // add_action( 'admin_footer-media.php', 'cor_remove_tr_file_url' ); ...
1
vote
1answer
505 views

How to restrict the editors from viewing/editing pages created by admin?

In the backend, how can I restrict the editors (user with editor role) from viewing/editing pages created by admin (and/or by administrator role)? I know that the editor role in WordPress have ...
6
votes
2answers
6k views

How do I load a CSS style into WordPress admin area only?

I'm trying to load a CSS file for my WordPress post area, but having no luck. I have read over the wp_enqueue_style function and came up with the code below, but it doesn't load up. Is there a tag or ...
1
vote
2answers
1k views

Custom taxonomy admin page

If you want a custom admin page for a taxonomy, you can set 'show_ui' => false when you register it to suppress the default admin page and then create a new admin page to replace it. However ...
2
votes
1answer
370 views

Is there a way to prevent author change when editor/administrator edits a post?

As an administrator when I change or edit a post of an author (for example add a category through quick edit) the author of the post changes. We do not want this to happen. Is there a way to prevent ...
1
vote
1answer
87 views

Change the look and feel of admin pages

I want to change the look and feel of the post edit page without making changes to any of the wordpress core file, which is basically a theme. For example, for any user with role of 'author', i want ...
2
votes
1answer
114 views

In administration, how do I display comments of a certain user?

From the users section, I can see a link to their posts, but not their comments. When I go to comments, there doesn't seem to be a straightforward way to filter only comments by a specific user. How ...
0
votes
2answers
159 views

Removing the advanced menu properties

As I'm often involved with people who don't know anything about WordPress, a CMS or even the internet :) I try to hide things irrelevant (for them) as much as possible. Normally this would involve ...
1
vote
1answer
1k views

Add a special filter link to All Posts in admin

I have a featured posts slider on my site's front page. It displays n posts (5 right now) from the category featured. If I have 5 posts in that category, and publish a 6th, the oldest of the 6 doesn't ...
5
votes
1answer
2k views

Settings API - easiest way of validating checkboxes?

I'm using Settings API and I can't get checkboxes to work, if they're set to "false" they're not even being $_POST and that's the point. Stephen Harris & Chip Bennett explained it, but I believe ...
0
votes
1answer
67 views

Is it possible to get rid of admin new updates notifications?

I am doing projects for clients and sometimes an update messes a lot. So, can we leave error messages and get rid of new updates notifications in wordpress admin side? Thanks!
2
votes
1answer
445 views

WP_Error handles errors, but how can I show success with a message?

My script accesses an api to populate posts. I can add any errors to the WP_Error class, but can I add success messages to a global variable?
1
vote
1answer
874 views

Can I remove the Rich Text box editor for a specific post?

A few months ago I asked a similar question: Is it possible to remove the main rich Text box editor? and got the following answer: function remove_pages_editor(){ remove_post_type_support( ...
1
vote
2answers
757 views

How to show custom field's value under post/page title in wp-admin

I'm trying to add the value of a custom field under the post/page title in wp-admin list of posts/pages (much like excerpt mode in posts list) without hooking into the columns process since other ...
0
votes
1answer
138 views

Where should I hook into admin?

Where should I hook into the admin backend to check and see if the user is "active" as defined by the Membership Plugin. Or in other words, where can I hook into the WP admin header to check an ...
0
votes
2answers
752 views

Keep Logged in Users out of Admin Panel

So I'm creating user registration. Just simply <?php wp_register(); ?> but then it gives them a link to the admin panel, which in my situation they really don't need. How do I remove the "Site ...
5
votes
2answers
147 views

Can a users profile be put under the dashboard menu

I was reading an article today and it covered some very valid points on user experience with WordPress. One of its points was that the profile should go under the Dashboard menu. I like this idea but ...
4
votes
1answer
3k views

restrict_manage_posts not working in 3.3.1

I have noticed my custom taxonomy filters no longer work in the 3.3.1 admin as per these methods: Adding a Taxonomy Filter to Admin List for a Custom Post Type? I also discovered that to filter a ...
1
vote
1answer
484 views

Add More Fields to Users Pages (Admin Panel)

So I'm trying to create some custom fields for users. I need to give users access to a 30 day trial of some software and I want to keep track of that in the users page of administration panel. If the ...
1
vote
1answer
569 views

How to sort categories by id in wordpress admin

I would like to know if it is possible in Wordpress admin to show categories in post-new.php and edit-tags.php?taxonomy=category sorted by id NOT by category name.
4
votes
1answer
865 views

Thickbox hacking - removing fields

Default (big and ugly) Thickbox I don't like how this Thickbox's page looks at all, I almost never use all these settings fields so decided to get rid off them, at least on pages where I'm uploading ...
0
votes
3answers
102 views

Copying Wordpress site, HOW about the DB connection?

I am USING the wordpress Import/Export and have done exporting the XML file from my wordpress site. And now i am moving my site from a local server to a host, after copying the files i noticed that on ...
1
vote
2answers
958 views

Is this the right way to execute some PHP in my plugin after a button click on an options page?

I have an options page for my plugin. I want the user to be able to click a button to execute a member function of my plugin's class. I found this page: ...
1
vote
3answers
176 views

Remove the whole menu in the admin

How can i remove the whole menu in the admin? I have this code: function remove_menu_items() { global $menu; end( $menu ); while ( prev($menu) ) { $value = explode( ' ', $menu[ ...
1
vote
1answer
597 views

Restore original WP admin bar after BuddyPress install [closed]

I want to re-enable the original WP admin bar after installing BuddyPress! define( 'BP_DISABLE_ADMIN_BAR', true ); completely disables the admin bar - don't want that. This question tells us to ...
0
votes
1answer
144 views

Ajax request sends url rather than data

I have a very weird error running on my plugin. I am currently developing a plugin that will allow the user to create routes and specific dates for the route. The dates are more or less tickets that ...
1
vote
4answers
1k views

Using require_once() within admin

In my theme directory I have the following structure: /includes/functions-custom.php /includes/avatax/AvaTax.php /includes/classes/gmaps.class.php I'm making a call from the functions-custom.php to ...
4
votes
2answers
595 views

Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area

I'm working on my admin area theme and I wanted to make some modifications on the way the thickbox and tinyMCE looks. I could make most of the changes through adding custom stylesheets and JS to my ...
0
votes
2answers
270 views

Admin: Custom Query Returning Permissions Error

Our current WordPress install has a few custom tables we've placed into the WP database that hold misc. information. We've created custom option pages for the WP admin panel for our WP admin users to ...
0
votes
3answers
150 views

Exclude stylesheet from admin

I have been using the following function to enqueue some CSS to my theme. However, they are used in the admin area as well: wp_enqueue_style(...) I don't want them to be used in the admin area. ...
0
votes
4answers
5k views

How can I restore admin capabilities?

So yeah, I'm a genius. I managed delete all my admin capabilities (thank you very much Membership plugin). I could restore them, ...if I had admin access, lol. Anywhoo, how can I give all my ...
4
votes
1answer
1k views

How to remove administrator role in settings -> general -> New User Default Role?

I don't want to accidentally select Administrator role. So is there a way to remove it from Settings -> General -> New User Default Role ?
1
vote
3answers
2k views

How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)

I'm researching this problem for days without any success... What I want is very simple: to see my custom taxonomy terms sorted by ID on the admin page. I can't believe that something this simple ...
0
votes
2answers
114 views

Post editor is 89953px tall. How to fix?

Using a self-hosted install updated to 3.3.1, when I go to the edit post screen, the editor is set to a height of 89953px. When I view source, I see the following lines in the markup for the post ...
1
vote
2answers
58 views

Which plugin will let me decide what users have access to on their side bar in wp-admin?

I want to customize the editor role so that they only have access to 'pages, posts, comments, profiles'.
5
votes
3answers
426 views

Prevent Wordpress from abbreviating-long-slugs…-in-the-admin

On post edit pages, when a slug exceeds a certain number of characters, Wordpress abridges it with an ellipsis (...). For example, if my slug is i-want-to-be-able-to-see-this-slug, it appears on the ...
0
votes
1answer
689 views

How can I add buttons to a custom column in the taxonomy table?

I am working on an issue-based publishing system for a friend of mine. So far I have created a custom taxonomy called "Issue"; added several custom fields to the custom taxonomy (like "Issue number", ...
1
vote
2answers
1k views

How to add super admin to all sites

Is there a way to add super admins to ALL sites without having to add them to each site individually? My group of super admins needs access to all sites.
5
votes
2answers
161 views

What is the best way to customise admin files so they survive future upgrades?

I have a site with some custom post types, one of which doesn't have a title. When viewed in the admin section, the posts are listed like so Which is less than ideal, for obvious reasons. I have ...
2
votes
2answers
983 views

Daily notices of failed login attempts for non-existent admin user

I run a multi-user site and for the past week or two I have been getting daily notices that someone is getting locked out due to failed login attempts for user "admin" via the Limit Login Attempts ...
0
votes
2answers
3k views

How can I add a menu item to the admin area?

I've used almost all of the Wordpress example code but it still doesn't work. I've put the php file under wp-content/plugins/menuitem/ .The code is simple <?php add_action('admin_menu', ...
0
votes
2answers
147 views

Adding and removing columns from the admin pages panel

I would like to remove "Comments" and "Author" columns from the list of pages, and add a couple of my own "Permalink" etc. Is this possible? Is there an appropriate hook I could use?
1
vote
1answer
189 views

Remove Admin sidebar link

I have a taxonomy link in my admin sidebar i'd like removed from view. Only in the sidebar though, i will still be using the function in the post view, so if that creates problems a simple simple ...