Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
187 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 ...
1
vote
1answer
185 views

WordPress as a web app - always auto-save post and meta data

Is is possible to make WordPress auto-save revisiona more often and have the auto-save version always be the most recent version - Like the way google docs works. This would mean the update button is ...
17
votes
5answers
9k views

What are the standard admin CSS id/class tags?

Is there a list of WordPress CSS id/classes that i can use to build plugin option screens that look and feel more like a normal WordPress option page? i have found some through serendipity but it ...
0
votes
2answers
1k views

After upgrading WordPress, can't access admin interface

After performing a WordPress upgrade to 3.3.1, I can no longer access the administration interface. The website works fine, but when I click on Dashboard, I receive the following error: Fatal error: ...
0
votes
1answer
672 views

wordpress - add a custom admin section with fields for name, address, city,state, and photo upload

Am attempting to create a custom post type and have it contain very specific info. Name, address, city, state, zip and photo - as a post. Need to have the admin section show form fields named as ...
1
vote
2answers
127 views

Why am I timing out when using the Menu Editor?

I'm using a more or less fresh local install of WP 3.3.1. A few days ago I set up a couple menus (Appearance > Menus) without a hitch. Today I tried creating a new menu and add a page to it, but the ...
1
vote
1answer
132 views

Admin Plugin POST to another file within the plugin

This is a simplified version of what I need to do (i.e. I know there are other ways of doing things but I need a solution to this specific problem). I am using wordpress 3.3 from a fresh install. I ...
0
votes
2answers
214 views

Default scripts added to each admin page

Whilst jQuery is available on all admin pages, only selected jQuery UI libraries are added for certain pages (i.e. it is different for each admin page). I am trying to find out where the jQuery UI ...
1
vote
1answer
1k views

How to show custom (checkbox) field value in admin post list?

I have a custom post type for products and a custom meta checkbox field for 'Sold'. How can I show the Sold status in a column on the Products edit list and make it sortable (so it would sort all the ...
1
vote
1answer
1k views

How can I remove the “updates” menu in the Wordpress Admin panel?

How can I remove the "updates" menu in the Wordpress Admin panel?
2
votes
4answers
7k views

Cannot access admin panel

I have been working on my site through MAMP and with a localhost. I have not uploaded my site online yet. I have worked in it for weeks accessing through the MAMP start page and then typing ...
0
votes
1answer
84 views

How should I change the username of or delete the admin user?

I would like to either delete or change the username of the original administrator account created during the install of a WP 3.2 site. This is not possible via the admin interface (There is a message ...
2
votes
2answers
2k views

How to remove categories filter from wordpress admin?

I removed the categories column from "All posts" page by applying this code. add_filter("manage_edit-post_columns", "my_post_edit_columns"); function my_post_edit_columns($columns){ ...
1
vote
1answer
155 views

How do you set up a WordPress blog with multiple authors to allow something like StackExchange's “community wiki” feature?

I'm thinking about having a blog with multiple authors. In the WordPress Roles documentation, authors can publish posts but only edit their own and not posts by other authors, which is what I'm ...
2
votes
2answers
2k views

How can I activate Collapse Menu in WordPress?

Inside the WordPress admin dashboard there is a button for making the left side menu collapse (to show just icons and not the icons + text on left side). How can I add jQuery so that it gets ...
0
votes
1answer
103 views

Gathering all Custom Post Type posts in to array/object the proper way

It's Friday, it's late, I've probably done this before in the work I've done before, but I'm drawing a blank. What is the best way to stay within the Wordpress framework and collect a list of your ...
5
votes
3answers
351 views

How to make a theme with more than one CSS file?

I've made my first theme and now I want to create different "profiles". These profiles are just independent CSS files that user can try. The point is, how to make these files to allow users to choose ...
2
votes
1answer
561 views

Using tabs in admin widgets [closed]

Update: I should point out that I tested the method below on Plugin/theme options page and it worked perfectly. In-fact I was also able to include the jQuery cookie Plugin to preserve the current tab ...
2
votes
2answers
472 views

Widgets not expanding on wordpress 3.3 widget dashbord

I updated to WordPress 3.3 (manual update) and cleaned browser cache. Widgets dashbord stop working when tring to expand dynamic sidebars for custom theme when it works for previous wordpress 3.2 ...
1
vote
4answers
6k views

Create a dropdown with Custom Post Types as option in admin

I need to create a dropdown menu with "posts from a custom post type" as option. This dropdown will be placed as custom meta box. For example, I want all posts with the custom type "Video" as option ...
6
votes
2answers
4k views

3.3: How do you hide the new dashboard welcome panel?

I have tried various versions of this here: unset($wp_meta_boxes['dashboard']['normal']['high']['dashboard_wp_welcome_panel']); ...
0
votes
1answer
428 views

paginate_links on custom query in admin - 'sufficient permissions' error

I have created a page in my admin with this custom query: $rows = $wpdb->get_results("SELECT * FROM ej_feedback ORDER BY createdtime ASC"); I have made it successfully paginate as required in ...
0
votes
1answer
106 views

Dashboard RSS Widget Overhaul

I want to give add an order digit on to the dashboard feed like in the image below: http://i.stack.imgur.com/kK0GJ.png I edited default-widgets.php - function wp_widget_rss_output () but it's still ...
4
votes
2answers
725 views

How can I log a user out of Wordpress before the page loads?

I would am using the code below so that on my wordpress site if ?logout is appended to the end of the URL the user will be logged out. This works well - if the user visits a page such as ...
2
votes
1answer
56 views

How can I show more than 15 themes at a time in the admin menu?

I have a lot of themes in my test wordpress site. I get a little frustrated that I can't show more than 15 at a time. In pages and posts you can click "screen options" to choose the number, but it ...
0
votes
2answers
56 views

Admin moderates ALL comments (including post author)

I have comments enabled on my custom post type page, which works well but I need the admin to moderate all comments before they are published. At the moment the post author whose level is ...
1
vote
2answers
2k views

Add “Post Options” for new wordpress post

How i can add "Post Options" section under wysiwyg editor? Like this
0
votes
3answers
152 views

Simplify the admin end

I'm thinking about using WordPress as a content management system for a school. The frontend of WordPress itself would never be seen by the students, but the admin interface would be used by teachers ...
1
vote
1answer
172 views

Hard-coding custom menu elements for menu manager

I realize that one can add custom links through the menu manager but is there a way to manually create such components through the functions.php file? More specifically, one example here relates to a ...
1
vote
1answer
344 views

Adding all sub-pages to the menu manager

Is there some simple way which would allow one to add a page to a menu (through the menu manager interface) and be able to define if the inclusion of this item should automatically add all subpages up ...
0
votes
1answer
251 views

How do I correctly transfer my site from one domain to another?

I developed our wordpress site on a subdomain, so I did not disrupt our homepage while I got everything up and running with Wordpress (It was originally running under Orchard, and I needed tochange ...
0
votes
2answers
166 views

How to add captcha to publish widget

I want to add a captcha challenge to the "publish post" widget in "add new post" to prevent spam posts. This is because my site is open to registrations and posting. Could someone please suggest how ...
0
votes
1answer
127 views

Linking to Post Types from wp-admin

Morning all, I'm having a bit of trouble finding a function I can use to link to a post type from the admin area. I'm actually using something as simple as: <a ...
1
vote
1answer
2k views

Add Admin User via SQL

I gave my client the admin account to his wordpress install and I forgot to add an administrator user for myself. Now, I can no longer access the admin panel because they have changed their password. ...
0
votes
2answers
481 views

“Automatically add new top-level pages” Default

I'm looking for a way to set the default "Automatically add new top-level pages" to be checked when creating a new menu. I haven't been able to find anything on this - any help you could give me? ...
6
votes
3answers
2k views

Set Default Listing “View” in Admin

I'm looking for a way to set the default "View" options under post types in the admin area. For example, by default Posts will default to a "list" view instead of "excerpt" - I'd like to change this ...
6
votes
2answers
6k views

Load a script just to custom post type in admin

I have created a custom post type "portfolio" with something like this : $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => ...
0
votes
1answer
484 views

using admin functions on frontend

I'm updating my plugin to rely on internal functions of WordPress. I'm about to use wp_generate_attachment_metadata, but this function seems to be only available in the admin section. Is there an ...
2
votes
4answers
410 views

Conditional check for front-end which includes ajax

I need a conditional which exits if the context is not a front-end view including AJAX requests. I have this at the moment: if (is_admin() && !DOING_AJAX) return; The DOING_AJAX bit ...
1
vote
3answers
871 views

How to prevent parent admin page from appearring as a child admin page

I am using this code: add_menu_page($page_title, $menu_title, $this->capability, $menu_slug, $function); Which is adding top level admin page. When I add: add_submenu_page( $menu_slug, 'sub ...
0
votes
1answer
588 views

Adding a jQuery modal dialog to the admin area

I am writing a plugin for a customer and I need to use lightbox/thickbox/fancybox/etc in my admin piece. No matter what jquery plugin I use, and I'm using wp_enqueue_style and wp_enqueue_script, ...
5
votes
3answers
4k views

WordPress admin screen very slow / timing out when editing or adding a new page/custom post

I'm new to the site but appreciate any help you can give. I have a WordPress set-up which (rightly or wrongly) has hundreds of pages and thousands of another custom post type which is also based on a ...
0
votes
1answer
194 views

Exclude admin from the top commenters list [duplicate]

Possible Duplicate: Top Commenters: exclude admin While back I found this hack here to display top commenters. It works fine. But I would like to exclude the admin from the commenters list. ...
0
votes
1answer
243 views

wp_schedule_event only when admin is visited

On the documentation page it says "The action will trigger when someone visits your WordPress site, if the scheduled time has passed." Is it possible to make this action trigger only when the admin ...
0
votes
1answer
361 views

front end editing using iFrames, best approach?

I was going to give users back end access to edit entries but don't like the idea of them having access to the back end. I currently am using/developing with Adminize and Role Scooper and have set up ...
2
votes
1answer
497 views

How to prevent custom fields from being cleared during a bulk edit?

In my function for saving custom field values I add a few checks to prevent the values from being cleared during an autosave or a quick edit. add_action('save_post', 'save_my_post'); function ...
0
votes
1answer
69 views

Troubleshooting white screen when editing specific posts

I've run into a bit of a perplexing challenge. I'm working on a WordPress installation where certain posts, without a yet apparent rhyme or reason, throw a white screen when you attempt to edit them ...
0
votes
1answer
112 views

WordPress plugins not showing after switching servers

So I recently moved my site to a new server, and now some of my plugins will show only if you are logged in as admin, but will not show to the regular user. However, some plugins still show and work ...
0
votes
2answers
2k views

Embed Wordpress Admin in an iframe

I am trying to embed the admin "new post" wordpress page into an iframe: `<iframe height="500px" frameborder="0" width="740px" src="my_wordpress_domain/wp-admin/post-new.php"/>` For some ...
3
votes
1answer
1k views

Custom column for changing post status via ajax

I'm currently trying to implent a new custom column at the page manage screen that will let me change the status (published/pending) of the different pages via an easy toggle link. From what I've ...