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
186 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 ...
7
votes
3answers
2k views

Editor Styles and Typekit

My website uses typekit to grab custom fonts, which works on the frontend. I'd like to put this in my editor styles in the backend. However, I don't know how I would do this. Typekit uses a js embed ...
0
votes
2answers
2k views

Get post ID in post/page edit area

How can i get "post id" in post edit area for add_filter in functions.php? I want to change file name automatically during upload. so i need to obtain post id. the code is as follows: add_filter( ...
3
votes
2answers
95 views

How to develop a community feature in the dashboard for multiauthor site

I run a Wordpress site that has more than 300 authors. Is it possible to create some type of community in the backend (dashboard)? Ideally, a space where the authors can discuss with each other in a ...
1
vote
0answers
275 views

Categories in admin interface: can they be collapsible?

I have many hierarchical categories, some of which have the same names. Can I add collapsible categories functionality in the category selection widget in the admin interface? I refer to the ...
0
votes
1answer
1k views

Enqueue jQuery UI Tabs In Admin Area

Does anyone know how to enqueue the script "Jquery UI Tabs" in admin area? I want to use it inside my theme options page. Already read the related wordpress documentation but with no results... I have ...
0
votes
1answer
420 views

add_cap for editor but no admin role

I want my editors to have the possibility, to add other users. I added: $edit_editor->add_cap('create_users'); $edit_editor->add_cap('delete_users'); ...
3
votes
3answers
466 views

Making the thumbnails in the backend Media section bigger

So I uploaded a lot of similar looking photos, and uploaded a duplicate or two. I go into the backend to the Media panel, but alas, each row has a small thumbnail, making it time consuming to figure ...
0
votes
1answer
440 views

Custom Jquery in admin breaks media-upload script

I have this part of code which loads custom version of jquery wp_deregister_script('jquery'); wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, ''); ...
0
votes
1answer
2k views

Sort wp_nav_menu() by menu order

I have made a custom menu handler for the back end, sorting the via a drag drop based on CMS Page Order. The problem now is that it seems that it's not possible to sort wp_nav_menu in any other way ...
2
votes
1answer
442 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 ...
0
votes
1answer
48 views

WYSIWYG editor not in a post editor?

It is possible to use the WYSIWYG editor in theme settings (not in a post editor)?
1
vote
1answer
206 views

Remove rows in the manage post/page view

I'm looking for a way to remove the rows with the title, date and other stuff that's shown on the manage posts/pages screen (highlighted with red in the image below). I know that I could easily hide ...
0
votes
2answers
1k views

/wp-admin/install.php redirecting to 123-reg

This is my first time installing wordpress via FTP, and the first time to an existing host and domain (I normally use EvoHosting, since it's automatic) I've gotten to the stage where I'm heading to ...
2
votes
1answer
169 views

Adding markup to column text in “Edit Pages” admin page

I was wondering if there is a way to hook into the column titles in the "All Posts" admin page to modify them. For instance, I would like to change "Post" to "<strong>Headline</strong>". ...
2
votes
1answer
2k views

JS / JQuery form validation in backend admin menus

I'm building a plugin to manage course information and am struggling to put form validation on the new meta boxes I've added. Has anyone a good way of putting JS / JQuery validation on the admin ...
0
votes
1answer
222 views

Randomly Display One Image From a 10-Image For Loop

I have a Wordpress function that loops thru 10 input fields & saves the data from those input fields. The data entered is either an absolute or relative link to an image. The loop looks like this. ...
1
vote
1answer
42 views

How to select a page within admin?

How does one apply an action to one particular page within admin? I've added a bunch of wysiwyg editors to one page ("Home") and now I don't need the main editor. But the function below - of course - ...
1
vote
2answers
4k views

How to put placeholder text in the main post input area?

I'm making a course plugin for a university in England. I'm looking to put some default placeholder text in the main post content area, on the admin side. Its the rich text editor I want it to go ...
0
votes
1answer
209 views

Change pagination in editing posts [duplicate]

Possible Duplicate: display all posts in wordpress admin How do I increase the pagination limit in the edit posts admin section (edit.php)? Thank you.
0
votes
1answer
43 views

Wordpress blog code format

I am new to wordpress and I just created a new blog(free version). Now It seems that code fromat doesn't work. All lines are aligned to the left. Please look at the image below. Thanks.
-1
votes
1answer
185 views

Content is displayed under admin bar [closed]

After updating to 3.4, my admin bar is not pushing down the content in the admin area. In this picture I have scrolled right up to the top of the page: greedy admin bar The problem is that notices ...
7
votes
6answers
2k views

What are the best practices for updating?

Don't want to do anything to take down my blog. Here are some upgrade-related questions: How often should Wordpress be updated? What is the best way to do it? How to know if there is a problem with ...
4
votes
1answer
2k views

How can we customize the logo and some text on the welcome screen?

I have found discussions and solutions on hiding or removing the lately introduced Welcome screen. But we DO find the screen, as a whole, very useful and an excellent addition. So, what we are ...
5
votes
1answer
1k views

Filter post listing by meta value which is a date

This question is almost what Im trying to achieve. Create a filter for posts based on a custom field. My custom field is a date and I would like to create a date filter (monthly) based on this custom ...
0
votes
2answers
37 views

Where can I store common cross-site text (e.g. headings, titles etc.)

I am developing a site that I want to hand over to a client once complete. The core page 'content' is manageable, but there are elements of content (common headings, titles etc.) that are shared ...
0
votes
1answer
238 views

How to check if post/page or taxonomy post is published by admin

Example :- 10 users and 2 admin in a site. If the post is published by admins than <?php ?????() { ?> <!-- do this --> <?php } else { ?> <!-- do this if posted by ...
2
votes
1answer
1k views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
1
vote
1answer
1k views

Add social icons in a theme through custom admin menu

Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel? I googled it and found nothing that could help me, any help on that topic ...
1
vote
1answer
757 views

Adding another “Add Post” button to admin

I would like another "Add post" button in the admin except I am going to call it "Add voucher". It will run specific plugins that add post will not. However that is irrelivant, all I need to know it ...
1
vote
1answer
285 views

Clicking Add New button for custom taxonomy only moves element

When trying to click the "Add New Equipment Type" button for my custom taxonomy, it simply moves the DOM element up into the list of entries and fails to add the actual term. Here is my taxonomy ...
1
vote
1answer
490 views

wp_dropdown_pages() in theme admin page

Scratching my head on this one. I have a theme option page, where I need the user to select a page to show at X location. I am using wp_dropdown_pages() to list my pages, and they show. But, I can't ...
1
vote
1answer
133 views

Add attachment for all images in post

I want to move someone else's WordPress blog to a new server. I only have access to the exported XML file of the blog. When importing the XML with the Wordpress Importer plugin, everything went fine ...
1
vote
1answer
162 views

How to Remove the “Restore” Link in Quick Edit?

I want to know is there any hook to remove the Restore link in the edit page - trash page? /wp-admin/edit.php?post_status=trash I know I can hide it with a css/jquery trick, but I prefer to use a ...
2
votes
1answer
335 views

With WP 3.4 customizer, while using postMessage & working within your JS for one option, can you retrieve current value for another option?

I'm currently working with this awesome article by Otto: http://ottopress.com/2012/how-to-leverage-the-theme-customizer-in-your-own-themes/ For my question, I have two separately registered settings, ...
1
vote
1answer
868 views

How to add HTML / Form to an Admin Bar Menu

I'd like to add a custom form to the admin bar in Wordpress. is there a way to accomplish this? So far all of the documentation seems to only allow the addition of simple text links.
0
votes
2answers
345 views

[Multisite]How can I update custom blog option?

I wanted to update custom blog option created thru Settings Api using the function update_blog_option. I created this code. $country_base = get_blog_option($blog_id, 'mytheme_options');//retrieve ...
2
votes
3answers
2k views

Sends out email to admin

Are there any plugin or code that sends out a email to me (admin) when a author or writer publish a post?
2
votes
1answer
89 views

Multiple users editting widgets

I have just completed a website using WordPress as a CMS, the site has 6 people administering the content and in the couple of days before launch all 6 were updating the content. We found that if ...
0
votes
2answers
96 views

how to call jQuery in admin as well as in homepage

I have this jquery code inside my wordpress admin page that checks if the input value is empty. $j(function(){ $j('form').submit(function(){ var link = $j('#input').val(); if(link == ''){ ...
1
vote
1answer
2k views

How to get the site administrator/s by blog id

I wanted to display the site administrator/s not super administrator by blog id. Which outputs the site admin id and avatar. How to accomplish this?
1
vote
2answers
345 views

Selectbox in admin panel function linking to CSS

I want to link the selectbox to my CSS. Like if I click an item on the list, the background of my header will change - the header's color is in the CSS. The selectbox isn't in the html but it's in ...
3
votes
2answers
1k views

is_admin() returns true when using admin-ajax.php from front end script

Had a situation today where I was using admin-ajax.php from a front end script. As I understand it this the wp way to make ajax calls (registering my function with the wp_ajax_nopriv_myfunction hook) ...
4
votes
1answer
979 views

Restrict Admin Capabilities in MultiSite

update_core update_plugins update_themes install_plugins install_themes delete_themes edit_plugins edit_themes Hi, I want to restrict those capabilities to user_id = ...
0
votes
2answers
490 views

Proper way to create an administration page without adding it to the menu

From what I've seen around the code, you can do this by hooking a function on admin_init, do you stuff and then die(). Is there a better way that follows "WP best practices" I'm missing here? The ...
0
votes
1answer
72 views

retain querystring values when savincustom options in admin

Quick question, I have a custom options page which posts to options.php, however I have a few sections to my options page where i change the post url like so: <form ...
1
vote
1answer
136 views

which action to hook to in order to perform post-publish action

I have some functionality I've written in order to post the title and link for the post to twitter whenever a post is published. I'm wondering which wp function to hook this to? save_post has no real ...
1
vote
2answers
3k views

How do I fix this error: Warning: invalid argument supplied for foreach()?

I recently moved a wordpress install from my local instance to a dev server. For the move, I installed a clean version of wordpress 3.4, moved exact duplicates of the file structre, and used the ...
0
votes
2answers
350 views

Disable (or limit) queries when certain content (or data) is not needed (or showed)

Currently I am making a custom design for a site. The problem I'm seeing in Wordpress is about almost all data pulled out from the database. While in certain pages - like front-page.php - it only ...
0
votes
2answers
113 views

Hide admin toolbar based on a query string

As far as I know the showing and hiding of the admin toolbar on the front-end is a global setting, which applies to any page containing wp_footer(). I want to have more specific control over the ...