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

learn more… | top users | synonyms (1)

2
votes
1answer
1k views

How to edit/delete single row items in a table on my own menu page

I have successfully created a wp-LINKS-list-table that displays the output of WP's core "Links" table in the WP Dashboard, and I have it displaying on a menu page I created. Step 1 accomplished! ...
0
votes
4answers
2k views

Change wording of admin menu item?

I'm using the plugin Jigoshop and I'd like to change the wording of the admin menu to something other than "Products": How can I do this? What files need editing?
0
votes
1answer
185 views

Wp-Admin FTPS Connection Error unlike Filezilla

My wordpress website is just moved FTP to FTPS protocol. When I tried to make a connection with FileZilla, the connection is successful. There is nothing wrong with my FTPS connection. Status: ...
0
votes
2answers
207 views

using the loop in custom meta is messing up 'add new' post type

When I use the following code in a (wpalchemy) custom meta box, everything works fine. That is until I pressed 'add new'. At this point, the title, slug, featured image, etc.. are being ...
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 ...
1
vote
0answers
98 views

How can I make the user names of commentors clickable links to the user's profile from the admin comment screen?

I've set up my wordpress blog to only allow logged in users to leave comments, but I need a way for the administrator to be able to go to a user's profile from the comment moderation screen. I don't ...
1
vote
1answer
134 views

Modifying the built-in behavior of ajax tag type-ahead functionality of WordPress

Currently, it takes 3 characters to be entered into the tags, before WordPress can start suggesting matching tags. Where do I make it so it instantly starts those suggestions? I've got a 100's of ...
0
votes
1answer
38 views

avoiding the display of certain categories to certain user roles at content entry time

How can I eliminate the "featured" category (and its sub tree ) in the admin panel when the user role is not editors or admins?
0
votes
2answers
79 views

creating a plug in that would tap into save/update action of posts [closed]

What's a good plug-in that taps into the update post or save post action that allows admins to enforce rules such as if a user selects a category with the ID 5 then he also has to select at least one ...
0
votes
2answers
171 views

htaccess and htpasswd

im trying to lock my admin panel from my users with adding htpsswrd file to wp-admin folder. but also i want my users can edit their profiles. so i create this file (htaccess) AuthName "Username and ...
0
votes
1answer
476 views

Blocking Administrative Access to Authors and Subcribers?

I would like to turn off admin panel for authors and subscribers. Is there any secure way to keep them away from admin panel?
0
votes
2answers
3k views

WordPress Admin very slow

Hi my wordpress admin is acting really slow, is there some diagnostic plugin I can use (like Debug queries on the front end) to see which plugin is slowing down the dashboard?
0
votes
2answers
78 views

How to cancel redirection to admin side

My friend asked me to activate a site that someone else did it. The problem is that when I try to run it, and I go to mysite.com I arrive to mysite.com/wp-login.php?redirect_to=/ Where and how can I ...
0
votes
1answer
843 views

Get categories names as an array to use it in theme settings

I am building a theme and for the Theme Settings Page I followed this tutorial: http://wp.tutsplus.com/tutorials/using-the-settings-api-part-1-create-a-theme-options-page/ What I want now is to have ...
5
votes
2answers
189 views

Prevent widgets removal

I'm building a site with a lot of widgets. They have been highly customized. Several admins/editors will have to edit these widgets when the site is live. Right now I'm scared to see a widget (and ...
6
votes
1answer
1k views

Change admin language based on user (in single-site)

I'm trying to make a small plugin to install in some sites of a german client. I can make my way around WordPress in german, but would be easier if it was in english. There's a plugin that manages ...
1
vote
2answers
6k views

How to Change the Categories Order in the Admin Dashboard?

The order of categories on dashboard is alphabetical. Can I change it to custom order?
1
vote
1answer
96 views

Is there a way to remove or hide individual pages on the Edit Pages screen?

I want to create a handful of pages that I do not want the client to have access to through the edit pages admin screen. I do want the pages to have all the normal functionality of pages in other ...
4
votes
2answers
181 views

Allow admin login at /admin

I am interested in: how can we change the default login url /wp-admin to /login how can we add another url for login so that both /wp-admin and /login would work I tried to use a custom filter and ...
1
vote
2answers
3k views

How can I include JavaScript that use jQuery on admin side

I try this: add_action('admin_print_scripts', 'custom_admin_scripts' ); function custom_admin_scripts() { echo '<script type="text/javascript" src="' . get_bloginfo('stylesheet_directory') ...
1
vote
2answers
940 views

Permalinks Question: Adding a prefix ONLY in front of the posts

I want all my posts to have /ARTICLES/%post-name% structure. But as soon as I modify the custom structure to that, for a reason that beats me, wordpress adds the articles prefix across the board. ...
1
vote
3answers
179 views

Set of plugins to control the Admin UI

What plugin you would recommend that would give powerful Admin UI options such as change Add Posts menu item to Add Articles, remove Add Media option for certain user roles and not allowing certain ...
0
votes
1answer
379 views

Remove “minor-publishing” div from Publish admin metabox

I want to remove the #minor-publishing div from the Publish admin metabox. I came across How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button and ...
-1
votes
1answer
1k views

plugin to upload to youtube via wordpress [closed]

before you say it, i know that in most situations it's easier to do this the other way around (i.e. upload via yt site then embed) but i need a plugin to upload/manage yt videos via the wordpress ...
3
votes
1answer
486 views

How to change redirect after moving a page to trash?

How could I change the redirect location after a user trashes a page? Right now they go to all pages here:....wp-admin/edit.php?post_type=page I want them to go ...
6
votes
2answers
3k views

admin page redirect

Is it possible to redirect users to an admin page if they access another admin page? For example if they a user ever hits "all pages" /wp-admin/edit.php?post_type=page they would get redirected to ...
8
votes
3answers
6k views

How to remove entire admin menu?

I need to customize the admin panel for my user. So how do I remove the entire admin menu? Not remove the menu item, I mean entirely remove the left vertical menu bar, include the design of the menu ...
0
votes
3answers
456 views

Wrong url in sortable column headers & pagination in the admin, when behind a proxy

Recently I changed the url of my site from atlas.site.com to site.com, one thing I just came across in the admin area for posts, custom post types, pages, where there are more than one page of posts, ...
3
votes
2answers
558 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 ...
1
vote
1answer
101 views

page not updating with database

I have code which updates the database fine, but the page doesn't update correctly! I have to refresh the page a second time for it to update correctly. Here is the code below ...
2
votes
2answers
2k views

How Can I Centralize Content Usage and Approval in a WordPress Multi-Site installation

I am working with a non-profit client that runs several charities under one umbrella. A good metaphor would be to think of the United Way (but it's not the United Way). Can a WordPress multi-site ...
4
votes
1answer
461 views

front end logo upload like happytables

happytables has a cool feature where if you are logged in, on the home page && haven't uploaded a logo yet it will insert a drag + drop image box similar to image uploader on the backend. ...
2
votes
3answers
1k views

Add javascript when post is published

I am trying to add javascript when a post has been published so that it's more noticable for my user but I can't figure out what to use. I tryed with publish_post and save_post, but it doesn't work ...
0
votes
2answers
617 views

Prevent users in the backend from seeing WP/Plugin notifications and update annoucements?

Currently when logged into the backend, sometimes when a plugin has an update or Wordpress has an update a notification message appears at the top either telling the user to upgrade or if a plugin ...
1
vote
1answer
447 views

What is the optimal way to filter out subpages from admin?

I guess it's always possible to hide them with js, but is there a code snippet out there for query level child page filter? I only want top level pages to remain. EDIT: my coder came up with it, stay ...
1
vote
1answer
547 views

How to display only logged in user's post comments in comments area

I am making a custom Wordpress site where School students logged in and add their posts. I am giving them rights to use wp-admin panel with little customization and modification. QUESTION: "How can ...
1
vote
1answer
477 views

Limit the menu child levels under “admin > appearance > menus”

in my effort in making the WP backend as user friendly as possible, I'm looking for a way to limit the amount of child (or submenu items) of the menu(s) under "admin > appearance > menus". They idea ...
8
votes
1answer
5k views

How to determine whether we are in add New page/post/CPT or in edit page/post/CPT in wordpress admin?

This seems like simple thing but I need way to determine whether the current screen is for Add New or Edit ( a sort of wordpress admin conditional tag). Is there a built in function for this already, ...
0
votes
1answer
1k views

get_current_screen and the WP_Screen class

So I'm trying to figure out how to properly use the get_current_screen. For learning sake, I'm just popping an alert for a specific page. I've looked at ...
0
votes
3answers
2k views

Remove the Edit button in posts for permalinks on certain user roles? WP 3.3

I am using Wordpress 3.3.2 with the following plugin: - http://wordpress.org/extend/plugins/advanced-access-manager/ The plugin works perfectly but the author said there is currently no way to ...
2
votes
2answers
1k views

Is it possible to disable certain user roles from creating tags?

As a site admin, I'd like to have control over things. I'd like to prevent my contributors and authors ( who generate content for me ) from creating new tags. I don't want that tag taxonomy to turn ...
5
votes
1answer
596 views

Weird behaviour when adding terms/term_taxonomies programmatically

This certainly looks like a bug to me. I put together the following code for you to test it on a fresh install. Basically, the code will add two sub categories under the "uncategorized" to achieve ...
3
votes
2answers
1k views

Admin plugin, how can I output a different content-type?

I'm creating a plugin with an admin page that needs to: stream a file for download (set content-type & other headers) display HTML without the admin menu etc In both of these cases the 'pages' ...
0
votes
1answer
135 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
293 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
416 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: ...
5
votes
1answer
3k 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
165 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
929 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
162 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 ...