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

learn more… | top users | synonyms

1
vote
1answer
23 views

Adding menu_order to CPT admin page

I have a custom post type (cpt_roundtable), and am trying to add a column to the admin page showing the menu_order for each entry. This is in my functions.php file. function ...
2
votes
1answer
28 views

Can you change the main heading of a page in the WordPress admin (without output buffering or JavaScript)?

I'd like to change the heading text on an edit page—this bit: I'm currently targeting it with jQuery (.wrap h2:first-of-type) and rewriting it that way, but it's not totally elegant - there's a bit ...
2
votes
1answer
140 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
3answers
2k views

How to disable or hide “collapse menu”

Is there a code in functions.php that I can add to disable or hide "collapse menu" button? The one that is on the left side of the admin menu in the dashboard. I'd need it for both admin, authors, ...
0
votes
2answers
294 views

Super slow admin panel

My admin panel in wordpress is super slow. I disabled all the plugins, I changed the theme to "Twenty Eleven" and I updated Wordpress. Still, the admin panel is very slow. I have 2008 posts and 6 ...
0
votes
0answers
9 views

sharing wp-include - wp-admin on same installation

This is not a security or privacy issue.. I have multiple wp installations (usually a couple for project), so in the next installation I'll be setting up I'm thinking of cutting down some space ...
5
votes
6answers
7k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
0
votes
0answers
24 views

Multisite network admin – URL / redirect error

I followed this guide on how to set up a WordPress installation that is optimized for git deployment. Basically, WordPress is moved into a subfolder called wordpress, index.php and wp-config.php are ...
4
votes
2answers
122 views

Share same domain for wp-admin but for different website

I have site like http://www.foo.com http://www.bar.com And I've a wildcard SSL cert *.example.com, instead of buying two SSL certs for the above two domains, can I re-use my existing wildcard SSL ...
9
votes
4answers
5k views

Create mobile site with same content just different theme

I have a wordpress site and want to create a different theme for mobile. I'd like to create a subdomain such as m.domain.com which will use a mobile optimized theme much different than the desktop ...
0
votes
1answer
327 views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
0
votes
0answers
9 views

How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”

I have a custom post type for a plugin I'm creating and the label for the "add an item" type of button (at the top of the list page) needs a partner-button that says "import" and one that says ...
0
votes
1answer
16 views

Custom Post Type Pagination Problem in Admin Section

I have several custom post types, here is the creation of two of them: Projects add_action( 'init', 'register_cpt_project' ); function register_cpt_project() { $labels = array( 'name' => ...
0
votes
0answers
12 views

Customizing label/title output of admin nav_menu selecter

On the left side of the menu editor, where you can add Page, Posts, Links, or Categories to a menu, how would I append a string to the title that shows up next to the checkbox? I've tried using ...
0
votes
3answers
69 views

Custom Post Type Name Causing Problem

Please ignore my poor English. I have custom post type (order). and its working like charm, But default post type (pages) list are not displaying in wp-admin side. You can see More information in ...
0
votes
0answers
6 views

Search box for hierarchical taxonomies in admin interface

When hierarchical taxonomies (like categories) have lots of terms it gets difficult selecting them in the admin interface. A UI solution would be a search-box (like non-hierarchical taxonomies / tags ...
4
votes
2answers
170 views

Create WP tutorial for users with admin pointer using next button for navigation

I aim to create a tutorial on my users for the admin area. To achieve this, I'm using the admin pointers available in WP core. My goal: I am almost there. What I got so far... Enqueue wp-pointer ...
2
votes
2answers
526 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() { ...
0
votes
1answer
33 views

Get access to Wordpress when logged out

I have a WP site with bbPress installed and bbPress Like Button (a like button plugin). I was trying to import a phpBB forum to bbPress. I'm having problems doing this and in the process must have ...
7
votes
2answers
13k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
2
votes
2answers
673 views

Hide a theme on list of themes in wp-admin without editing core files

I'm running a multisite network with 200+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain theme does not appear in the list? I ...
0
votes
0answers
36 views

How to redirect wp-admin to subdomain?

I am using Varnish with W3TotalCache plugin to cache and I don't want the WordPress administration files in WordPress Dashboard to "use" Varnish! I want to redirect example.com/wp-admin to ...
0
votes
3answers
124 views

Prevent from deleting any user role but subscriber

In the administration of my blog, I would like to prevent anyone (admin included) from deleting any user unless it is a simple subscriber. Basicaly, in the "users" section of the administration, I ...
0
votes
2answers
338 views

wp_dequeue_script not working for my plugin. I want to remove the themes JS from the dashboard

There is a theme my client is using. It enqueues many scripts in the admin area of wordpress. I'd like to dequeue these so that my plugin works properly. Commenting out this code wp_enqueue_script( ...
0
votes
1answer
241 views

Removing the TinyMCE editor for a given page template

I was looking for a way to remove the TinyMCE Editor for a specific page template in a theme (in my case it's page-home.php). I found the following code, which works, however, I was wondering if this ...
0
votes
0answers
24 views

/wp-admin/network inaccessible after changing domain name

So I changed the main domain name of my Wordpress Multi site installation, and now there's an odd quirk in WP Admin. Any link that points to the Network section of WP Admin doesn't include any domain ...
0
votes
1answer
334 views

Sort All Posts by Category Name in the Admin Panel?

I'm working on a pretty complicated site where everything is managed by category type including automatic spinner image submission, etc.. Unfortunately, its doggone difficult to manage things when the ...
0
votes
5answers
8k views

wp-admin is redirecting to back to home page (localhost)

I have WordPress installed on my localhost. All worked perfectly till today. But today when I enter http://localhost/wp-admin in the url to access the admin panel, it redirects back to the home page. ...
1
vote
2answers
285 views

Elegantly using JavaScript on widget admin forms

I'm working on a project involving a lot of widgets, and I'm thinking it'd be really great to have a "More options" section built using jQuery UI Accordion that expands when clicked. So, I've ...
3
votes
1answer
869 views

How do you create a custom edit.php / edit pages page

I need to create 3 custom edit.php pages which only display pages with a certain parent and the Post New button links to a new page with the corresponding parent. The closest answer I can is do not ...
0
votes
1answer
327 views

Replacing select2 in admin backend for all selects

I originally posted this question as a javascript question here, but think maybe it would be better asked here. I tried adding select2 to all wordpress admin screens. However, since many selects are ...
0
votes
3answers
259 views

WP Cron doesn't save <iframe> or <object> in post body

I am using wp_cron to auto grab posts from a remote website and save them in my wp db. NOTICE! I am executing my code from my plugin, not from my template functions.php or somewhere else. I have my ...
0
votes
1answer
354 views

Unable to locate WordPress Root directory

I'm trying to upgrade WordPress version of a blog and it fails. I input FTP info (host, user, pass and type) then I get the message: Unable to locate WordPress Root directory. Installation ...
0
votes
2answers
252 views

Customize a WP_Posts_List_Table class

How can I customize output of tables of records in wp-admin/edit.php? What options are available for editing display_tablenav('top') and display_tablenav('bottom') before outputting in class ...
0
votes
2answers
29 views

How to change home page only in WordPress

I am a newbie in WordPress theme development. I have a WordPress site on online. I create a new home page for my wp site and I want to use it my wp site instead of old home page. And I want that the ...
0
votes
0answers
15 views

Getting user meta value in default user list in wp-admin (MU)

is there any way I can get value from a specified user meta in the default user list in WPMU? I am talking about the wp-admin/network/users.php list. It lists Username, Name, E-mail, Registration date ...
4
votes
1answer
115 views

Securing wp-admin folder - Purpose? Importance?

I am trying to understand how to secure a WordPress site. One security task I do not understand is...How important is it to protect the "wp-admin folder"? For example, I would consider limit login ...
0
votes
1answer
511 views

Add a button to users.php

I am working on a plugin that adds meta data for each user to the users.php table that is displayed by adding columns. I have that done but I would like to also add a button that will delete the meta ...
0
votes
0answers
42 views

Change wp-admin and wp-login.php url in wordpress multisite

I have setup wordpress multisite and now I want to change the login URL /wp-admin and /wp-login.php to /login. Similarly for the sub-directories http://test.com/site1/login. I tried few plugins but ...
1
vote
1answer
3k views

Restrict admin access to certain pages for certain users

As the title says, I'd like to restrict back-end access to certain pages for certain users. While doing a site with 45-50 pages, I realised it would be a much better user experience if the Page menu ...
0
votes
1answer
38 views

Resize Admin Featured Image Thumbnail in CPT Edit Screen

I have a custom post type for a slider and I'm using the Featured Image thumbnail uploader to set the image. I've relocated the Featured Image meta box to be underneath the title section in the ...
0
votes
1answer
36 views

Admin first hook that outputs HTML?

I think load-(page) is the first hook in the admin screen that deals with outputting HTML, but I'm not totally sure. Basically I'm looking for the equivalent to template_rediect or get_header, which ...
1
vote
1answer
2k views

wp-admin url doesn't allow to login and redirects to same page

I am using wordpress 3.6, the latest version. In this version when i access login page for admin url like www.example.com/wp-admin and i enter user name and password, wordpress redirects me to the ...
0
votes
0answers
15 views

Custom Admin Message from external source to multiple users

I am administrator for several wordpress sites. Each site has an editor and I would like to find a way to be able to write a single message in an external centralised place, and have that message ...
0
votes
1answer
1k views

adding the category to the admin column for a custom post type?

I have built a custom post type called article and the information given on the admin summary screen is sparse. I was able to add the featured image post thumbnail image using the ...
2
votes
1answer
68 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
4answers
3k views

How to remove admin menu pages inserted by plugins?

I've got the following code, which cleans up a lot of stuff that is not going to be used within the admin area: add_action( 'admin_menu', 'my_remove_menu_pages' ); function my_remove_menu_pages() { ...
6
votes
3answers
5k views

Add “external” link to admin menu in the backend

Trying to add a link to my admin menu (dashboard/backend) that leads to the frontend of wordpress, so I basically want a link in the menu that takes me to the blog. I've found a couple of ways to ...
0
votes
2answers
56 views

WP Theme Development, Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
19 views

Posts Admin Pagination Items Count

Does anyone know what the wordpress post admin item count is based off of? I'm seeing a mismatch between this number and what my Draft + Published posts total is. Please see screenshot attached. ...