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

learn more… | top users | synonyms (1)

0
votes
1answer
128 views

Simply poll & Events Calendar plugins clashing

I'm using two plugins that seem to clash: http://wordpress.org/extend/plugins/simply-poll/ http://wordpress.org/extend/plugins/the-events-calendar/ When both activated only the poll plugin shows ...
0
votes
2answers
280 views

Want to know who is login Admin/User

want to know who is login in my wordpress website if admin login then go to dashboard and if user login then go to homepage Approach: I used this code <?php if ( is_user_logged_in() ) { ...
1
vote
2answers
389 views

Modify built-in post type properties

I have an unusual situation where I need to make the built-in post type 'page' non-hierarchical. I printed the post type object with var_dump(get_post_type_object('page')); die; and I got this: ...
4
votes
1answer
2k views

Hide other users' posts in admin panel

I intended to run a multi-author site, I don't want the posts from other authors to be shown in /wp-admin/edit.php page. I managed solve this problem by the codes from this thread. The code is like ...
2
votes
1answer
158 views

PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex

My php_error.log in my console (locally on OSX) is reporting 3 PHP Notices. The PHP Notices only appear when browsing each admin page in the back-end for a site (running multisite) that uses a child ...
2
votes
3answers
898 views

Change the Default Pages Menu View in wp-admin

I can't seem to figure out how to change the default view for "Pages" in the admin menu. The initial view is the "Pages" view (/wp-admin/edit.php?post_type=page) How could it change this to ...
0
votes
1answer
154 views

Is there a way to hook into the update-core page for custom messages?

We have some sites where we note a few things that need to be checked or done either before or immediately after a core, theme or plugin upgrade. While I keep a list of these things, sometimes users ...
0
votes
1answer
184 views

Parsing post->ID in included plugin file

running into something that has got me completely puzzled. I have a plugin with a main file that looks like this: // Global Variables $mouldings_prefix = 'mouldings_'; $mouldings_name = 'Mouldings'; ...
10
votes
2answers
2k views

Setting admin edit panels & metaboxes positions and visibility for ALL users and admins

My WP 3.3 setup involves several post types and customized edit panels with Advanced Custom Fields plugin (which creates many metaboxes) and other plugins such as SEO metabox panel, Scribu's ...
2
votes
2answers
3k views

Is there a way to lock certain pages from being edited by anyone other then the admin?

I have built a wordpress site and theme and have several pages that I do not want editors to edit. However, there are other pages that I want them to have access to edit. Is there a plugin or code ...
1
vote
1answer
36 views

Selecting a post in Dashboard

How to make in the admin's dashboard a <select> with the list of all posts of specified post type? I need this in order to save a post ID with set_option() call. How to do this?
4
votes
2answers
3k views

Modal window from within Wordpress admin

How can get a modal window to work from within the wordpress admin? I want to create a modal window that will work from a meta box within the wp-admin. Any ideas?
0
votes
1answer
290 views

Control Users listed in Users List on dashboard

I have a user role "author" with a modified capability to add users and give them the role of subscriber. I'm trying to edit the Users List on the dashboard to display only the subscribers created ...
1
vote
1answer
209 views

How can I show the contents of only a few users

I'm trying to show the contents only for certain registered users. All users have the role of "agent". To hide the contents of an unregistered user, I use this code: <?php if ( current_user_can( ...
10
votes
1answer
2k views

wp_verify_nonce vs check_admin_referer

What is the difference, which one should I use? I know that wp_verify_nonce checks the time limit, and check_admin_referer I think calls wp_verify_nonce as well as checking for an admin url segment, ...
0
votes
2answers
667 views

How to hide plugin options for editors via functions.php

I've read the entry Best Collection of Code for your functions.php file, it really help me a lot. I only got a question, is there a way to hide some plugins options (in their respective ...
5
votes
1answer
690 views

Add a new post status in the post progression

I run a site with about 30 authors and 3 editors. Authors submit posts for review, and editors schedule or publish them. It would be useful to have another post status of "Editing" between Pending ...
5
votes
2answers
1k views

Modify Admin Bar Link

Starting on line 474 of /wp-includes/admin-bar.php there is a function that is declared as the following: function wp_admin_bar_new_content_menu( $wp_admin_bar ) What it does it generates the + New ...
1
vote
2answers
3k views

Hide one admin from another admin

How can I hide one admin from another in the users list? I want to give admin permission to another person without giving him the ability to see/edit my details.
0
votes
1answer
555 views

admin_enqueue_scripts not rending JS file correctly

I'll keep this short and sweet, I want to load a JS file in the admin panel as part of my plugin, and through tons of research I have a few different options that have all ended with the same problem ...
1
vote
4answers
614 views

Remove Metabox from Menus screen

Been digging into WP files for a bit and think I just might be missing something. The end-goal is to remove the Theme Locations metabox from the Menus screen if someone doesn't have a certain ...
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 ...
1
vote
4answers
1k views

a plugin to share a post to social networks via admin? [closed]

I'm not looking for a share this post button for the front end. I've seen a couple of similar topics here but not exactly what I'm after. What I would like is a plugin which offers the options in ...
0
votes
2answers
1k views

I keep getting logged out in Firefox

For some reason, tonight when I have gone to work on my Wordpress installation I firstly found myself logged out, even though there was a few cookies left in Firefox relating to the website and when ...
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 ...
0
votes
1answer
84 views

Remove iPhone detection on login page

I have a wordpress site with a customized login page, the problem is when I go to that page on my iPhone, it detects it as an iPhone and adds the viewport meta tag, which normally would be great but ...
9
votes
4answers
1k views

Is it possible to create a Wordpress tour? V3.3.1

I've recently upgraded to version 3.3.1 and noticed a nice feature that would be great for our non-Wordpress savvy clients - creating a tour of how to use Wordpress. I've used the Yoast SEO plugin ...
4
votes
2answers
2k views

Edit “thank you for creating with Wordpress” in version 3.3.1

Is there a way to edit the text "thank you for creating with Wordpress" in version 3.3.1 at the bottom of the CMS? If so what file do I need to edit?
2
votes
3answers
5k views

Does wordpress create activity, update logs?

Does wordpress create any dated logs of activity? ie core updates, plugin download dates etc?
2
votes
1answer
145 views

ID's being stripped out of editor for Admin user in Multi-Site

I have a Multi-Site install running on the current version of WordPress (3.3.1). The problem I'm having is the ID's are being stripped out of my tags in the editor. When I am logged in as a "Super ...
4
votes
1answer
427 views

Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?

My website allows users to upload events via an upload process incorporated into a customised front end page. As an event uploader, I also want users to have access to the dashboard where they can ...
1
vote
1answer
1k views

Save author posts as in pending review - block users updating their posts

How can I let the users (author, editor, contributor etc) to edit their own posts but not to update them, just keep them as in "pending for review" so I can decide if it's ok to publish or not. By ...
1
vote
1answer
406 views

Admin Panel pagination link styles

Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
0
votes
1answer
806 views

remove menus for a specific role?

I saw this snippet to remove menus: function remove_menus () { global $menu; $restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), ...
0
votes
1answer
147 views

What would cause edit buttons for plugins to disappear?

in the plugins page, under each plugins' name usually there are buttons/links like "Deactivate | Edit | Settings". Recently on one of my sites the "Edit" (and "Settings") button has disappeared. I ...
8
votes
1answer
13k views

Add filter menu to admin list of posts (of custom type) to filter posts by custom field values

This answer is very close to what I am looking to do, but instead I would like to specify a specific custom field and display a select menu of its available values. Thanks!
1
vote
2answers
1k views

How to check if user is in back end?

In my application, i have one form. Now if user is in front end i want to display the title but if he is in back end i do not want to display it. I do not want to check it based on user role.
0
votes
1answer
624 views

Limiting Admin Backend Search to Title

Does anyone have any suggestions on how to limit the search in the WP admin area to just post titles? It's very frustrating to want to pull up a specific page, and get hundreds of results that have ...
3
votes
1answer
856 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 ...
1
vote
1answer
94 views

Client system for media review?

I'm looking for a plugin, or a system, for wordpress, that would allow a client to login and see the graphic designs, video, documents, etc... that i'm currently producing for them, and allow them to ...
1
vote
1answer
176 views

Instructions for a custom post type

Is there any way to put some instructions for a custom post type inside the post admin at the top of the add/edit page? I know you can put the instructions inside of a meta box, but at the top would ...
0
votes
2answers
1k 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
235 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
270 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
314 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
795 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
131 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
542 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 ...