Tools for site administration located in the `wp-admin` directory of a WordPress site.

learn more… | top users | synonyms

2
votes
1answer
147 views

Using List Table Filters for ALL Custom Post Types

Is there a way to create sortable columns for admin tables across ALL post types? I am working on a project with 7 Custom Post Types, and wondering if there is a better approach than using multiple ...
2
votes
1answer
137 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
2
votes
1answer
114 views

Hide username from users list

I've hidden the username column from users administration with the following code: function modify_user_columns($column) { $column = array( "cb" => "<input type=\"checkbox\" />", ...
2
votes
1answer
164 views

How do I change the default admin color scheme in MP6

How do I set a different default admin color scheme for all users? For example, it's set to MP6 as default now, but I want to make it MP6 light by default. The users may or may not change it later! ...
2
votes
1answer
192 views

Custom admin column disappearing when using Quick Edit [duplicate]

I have added a featured image column to my posts in the WP admin. This all works fine except when using the Quick Edit feature. Upon update, the column disappears, or rather isn't returned by the ajax ...
2
votes
2answers
49 views

How to find out if an wp-admin action edited a file?

I want to create a small plugin to automatically purge the APC opcode cache after specific actions in the Wordpress admin interface. This is necessary if e.g. apc.stat is set to 0, as a change to a ...
2
votes
2answers
199 views

js Conflict in admin panel - I guess it's from the core WP installation

A client's site: causing serious js conflict or js loading disabilities, is under custody. Activating DEBUG, Deactivating all Plugins, and Activating Default theme "T13" found that, still the problem ...
2
votes
1answer
183 views

Ordering Post 2 Post admin meta box by meta from CPT

I've just started using Posts 2 Posts (brilliant plugin by the way) in combination with a custom post type called "Artist" and the WP Event Manager Plugin. My aim is to use P2P to link Artists to ...
2
votes
2answers
372 views

Bulk Delete Users Error uri too large

I am trying to delete thousands of users at once. After seeing that I can only display up to 999 user records at once using the "Screen Options" menu I thought that might be ok. But upon clicking ...
2
votes
1answer
406 views

Hide page visual editor if template is selected - redux

The answer given to a previous and identical question is unfortunately not working on my WP install. I'm using a version of the function recommended there. function nim_hide_editor() { $post_id ...
2
votes
1answer
918 views

Show Custom Comment Fields when editing in admin

I'm using the Custom Comment plugin to add custom fields to my comments. This plugin lets you define more fields for comment to let your visitors include their facebook, twitter and ... in their ...
2
votes
1answer
42 views

Can you ungroup Custom Fields?

I have been using a lot of Custom Fields to use Wordpress like a CMS, beyond simple posts and post meta. The admin area for adding new posts has little "widgetized" movable areas like the ...
2
votes
1answer
2k views

how to use thickbox in admin?

I would like to show my retrieved content form my classes method in thickbox. How could I do this? I have been adding the proper id to my desired hyperlink but all of the admin body is getting parsed ...
2
votes
1answer
1k views

Show message on wordpress admin dashboard

I have created a form. On success of the form, I am redirecting the user the their dashboard. Now, I want to be able to show a success message/notice on the dashboard. What is the convention to show ...
2
votes
1answer
548 views

How to redirect to action on custom page within admin section

Currently I'm developing(well at least trying to;) plugin which will handle custom gallery of images. I stumbled upon one problem though. I'll try to picture it. I've created custom menu page on ...
2
votes
4answers
5k views

How to display a static HTML page while setting up a WordPress site?

I just installed Wordpress. I have a non Wordpress splash page at [root folder]/index.html. I'd like to keep the splash page up while I work on skinning Wordpress. When I try to access index.php ...
2
votes
2answers
435 views

How To Create User Specific Admin User Pages?

The aim is for a proposed site to have customers be able to login and be able to view a private and customer specific ADMIN page NOT frontend page (although this would be much easier to achieve). ...
2
votes
3answers
793 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 ...
2
votes
1answer
244 views

How could I execute my plugin just in frontend (not in backend)

I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). ...
2
votes
2answers
236 views

Custom Theme Want To Remove One Category From All Displays

I created my own custom Wordpress theme for my website, everything is great. However, I have a strange need, I have one category which is kind of a 'placeholder' for content which is automated and ...
2
votes
3answers
7k views

How to change “wp-admin” to something else without search-replacing the core?

for example: foobar.com/wp/edit instead of foobar.com/wp/wp-admin How would I do that? I've tried using this in htaccess but it won't work: ##### ABOVE THIS POINT IS ALREADY INSERTED BY WORD PRESS ...
2
votes
1answer
427 views

How to inhibit dashboard and profile management access to normal users?

I am developing a site using Wordpress, phpbb3 and WP phpbb Bridge. Users have to manage their profile through phpbb3 and I would like to inhibit normal users access to page mysite.com/wp-admin/ . ...
2
votes
3answers
3k views

jquery UI in wordpress admin

Does anyone have experience with using the jQuery UI plugins in the Wordpress admin area? I´ve been trying to use the datepicker functionality in jQuery UI, but its conflicting with the built- in ...
2
votes
2answers
879 views

Displaying Post Title on Post Edit page?

I'm trying to include the post title in a custom post type edit screen. For example if the post is called Biography, I want the edit page title to be 'Edit Biography'. I'm using the below code: ...
2
votes
2answers
901 views

Adding Visibility Options

I've searched for plugins but while some do halfway accomplish the task they are normally very complicated. I'd like to add option to the visibility menu when creating a page (and post, but page is ...
2
votes
1answer
5k views

Custom Metabox with Taxonomy Dropdown - Saving Issue

My goal was simple --- to create a custom post type with a custom metabox with a simple drop down list of taxonomy terms instead of utilizing the tags or checkboxes. The reason was to ensure that the ...
2
votes
0answers
40 views

How to remove admin.php?page= from admin using .htaccess?

I've been looking for this everywhere, and can't find it - so I apologize if it is a duplicate question. I can't believe it hasn't been asked before... So please direct me if it has :) I'm looking ...
2
votes
1answer
60 views

WP-Admin edit.php & post.php slowdown after import of 10k users

Situation: Clean wordpress install No plugins VPS server 5.2ghz / 4gb RAM (Default Directadmin) Import of 10k users Problem: WP-Admin edit.php and post.php take >4sec to load. A custom post ...
2
votes
2answers
637 views

wp_list_table search box does not show

I'm using wordpress 3.8 and a custom class derived from WP_List_Table. Why is there no search form? My code in plugin class: function __construct() { ...
2
votes
1answer
144 views

Cancel post save

I need to abort the post saving process when the post content contains a specific string and then display a message to the user. I found a method to display the message but didn't find a way to ...
2
votes
1answer
132 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
2
votes
0answers
1k views

Create any admin page with tab menu on that

I am very new to WordPress and here I want to create one admin page with tabs as shown in image How can I create such page with these tabs?
2
votes
1answer
172 views

Why does the My Site dropdown show only a single domain?

I ran a Network Update today from Network -> Update Network, and since then all the sites, and all the links to sites within my Admin area reference the same domain. The domain it uses is relative to ...
2
votes
1answer
179 views

Wordpress address URL keeps dropping the www

My Wordpress Address (URL) in general settings keeps losing the www from the URL - I type in http://www.domain.com and it saves and works fine. Next time I go in the address has changed to ...
2
votes
1answer
141 views

Redirect members to custom page upon logging in through WP admin

When a members logs in through WP admin, I would like to redirect them instantly to a custom URL. What will I need to change to make this possible? Respond with step-by-step details would be ideal.
2
votes
2answers
246 views

I cannot log into my wordpress site with my wp-login.php [closed]

I can login into wordpress.com - but I cannot login to to my hosting wordpress site: http://www.hunterbaby.com.au/wp-login.php When I try to reset password it only recognises my wordpress username - ...
2
votes
2answers
847 views

Im getting a 404 message when i try to access wpadmin

I cant access wp-admin at all after changing wp-config folder permission for hardening my security. The content for the site load find, i cant access wp-admin at all, all i get is 404 message. ...
2
votes
1answer
724 views

difference between add_object_page and add_menu_page

According to Codex, the add_object_page "essentially does the exact same thing as add_menu_page() in case you're wondering". So.... what is the difference between those two functions?
2
votes
2answers
3k views

Custom height/width for thickbox in WP Backend

I use thickbox in the WP backend for preview or other content. On own pages in the backend works my script very fine and a can use custom width and height for the thickbox. below my code: ...
1
vote
2answers
8k views

My wordpress site gets redirected automatically to the old site any known solution for this?

I had recently moved my wp site from a domain to other, but when I type in the new domain's address it gets redirected to the old domain/some_page. Is this any common problem? Is there any known ...
1
vote
1answer
837 views

What is the best method to close off the backend?

The goal: Completely remove the ability to access the WordPress backend on the production domain. Ex. return a 404 for http://example.com/wp-admin Purpose: I don't want any possibility of WordPress' ...
1
vote
2answers
3k views

How to remove 'create new post' entry for a custom post type?

I have a custom post type that is created using a form on the site. I want to disable new post creation from wordpress admin. Is there a way to do that ?
1
vote
3answers
2k views

Removing admin bar from wordpress dashboard

I'm using wordpress multiste 3.3.1 I'm not gonna update it in the future. So I disabled all upgrade functions. I want to remove the wordpress admin bar from both frontend as well as dashboard. I can ...
1
vote
4answers
517 views

URLs of plugin resources?

I am trying to add in a script and css file for my plugin into the admin header. Is there a function similar to get_bloginfo('url') that I could use to reference the files correctly without having to ...
1
vote
1answer
588 views

Enqueue Javascript Correctly for 3.5

I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
1
vote
1answer
133 views

Stop loading “collaborators” users on add new post or page?

So our website has about 20k "collaborators" type of users and we'd like to stop loading all of them on the select box on the "add new post" or "add new page" PAGE. Maybe load only authors and above ...
1
vote
4answers
2k views

Completely disabling widgets

How do I completely remove widget support from a theme/plugin ? Like removing the appearance -> widgets page, and prevent WP from loading widget classes and all widget-related stuff.
1
vote
4answers
192 views

how do you create an admin interface in plugin for your theme

I'm creating a theme that would need some settings on the client side. So I need a admin interface where they can set some values. (like, source of image, title, or numbers) so in my theme, I can ...
1
vote
1answer
2k views

Remove/Add widgets from/to the Available Widgets pool

Is it possible to remove/add widgets from/to the Available Widgets pool (either by plugin or editing core files)? There are 3 widget files located at: /wp-includes/widgets.php /wp-admin/widgets.php ...
1
vote
2answers
300 views

Conditionally load CSS/JS/PHP in wp-admin if using a mobile device

I'm looking for a way to conditionally load different scripts if the user is accessing the admin area from a mobile device. In my case I'm looking to restrict the user to just be able to make new ...