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

learn more… | top users | synonyms (1)

0
votes
2answers
41 views

how to remove +new from wp admin area

I work on a project in which I want to remove +New link in WordPress admin bar. Actuly i want to replace 'new' to 'ADD Deal'. Is there any function in WP with this we can replace this text or how can ...
1
vote
2answers
191 views

Exclude add_filter from the admin

I've created a custom filtering facility for a front end search, which also includes a specific user group. To add the function to the search I have used ...
0
votes
2answers
302 views

Display Custom Field Value on Admin Page Column

What I want is to display the value of the custom field called 'page_template'. I use the code below but it displays nothing under Page Template column although I have already defined a value for the ...
5
votes
3answers
128 views

Is there a more efficient admin search function/plugin?

Writers on our large Wordpress installation love to use the the content searching functionality. As convenient as this functionality is, the complexity of its queries slows down our database ...
1
vote
1answer
63 views

Edit default comments page in WP Admin

I need to make major changes on the way the comments are rendered in backend, from the following file: wp-admin/includes/class-wp-comments-list-table.php I know editing the WP Core files directly is ...
0
votes
2answers
55 views

Add Labels to Admin Menu ( How To )

I have a custom post type menu called "Notes". It has two basic sub menus: add new and show all. But I want to add more items under these post type but the default array just gave me these. How can I ...
1
vote
1answer
7k views

Change WP-Login or WP-Admin

Can I change the name of the wp-login or wp-admin file so that I can go to a different filename in order to login. I am trying to prevent hackers from finding my login and wp-login has become a very ...
1
vote
1answer
58 views

How to add menu to Dashboard that can be viewed by all users

I am able to add Menu to the Dashboard using the below code, it can be viewed by an administrator. That menu doesn't appear when logged in as an Author or a Subscriber. How to make sure every user can ...
0
votes
0answers
29 views

Group Pages based on Parent in Admin Area

EDIT: I've managed to solve this with the help of Reddit. For those interested I used Admin Column View My website has about 50 pages separated under 5 parent pages. In the backend it is a mess of ...
0
votes
0answers
18 views

How to add a box underneath the Post Box in Wordpress admin? [duplicate]

I'm wondering how to add a new box underneath the Post Box (Publish Box) in the admin section of WordPress? Am hoping to add a few custom field text inputs there.
1
vote
1answer
58 views

Where does WordPress store a list of Super Admins?

I had to switch around my Super Admins. I did it through the MySQL tables directly. I now have 1 official Super Admin for my network (which is what I want & need) but WordPress shows that I have ...
0
votes
0answers
44 views

How to validate datepickers before publish

I have two datepickers in my post: 1. start_date and 2.end_date Basically, I need to check if end_date is greater than start_date before I can proceed to publish. From a previous solution here, I ...
1
vote
1answer
40 views

how to redirect to url.com/wp-admin if url.com/admin is typed in?

How would I create a wordpress function that will redirect a user to myurl.com/wp-admin if they type in myurl.com/admin? I would like to have this as a wordpress function.
2
votes
1answer
127 views

How to add a help tab to all admin pages - including plugin pages

I have working code which adds a help tab to all screens in the admin which already have help options or a help screen - however, screens which don't have contextual help - such as the plugin I ...
0
votes
0answers
39 views

Why does logging in to my wp-admin redirect to my homepage?

Whenever I login to my dashboard I will have to manually go to the dashboard because my websites goes to the homepage first. Is there a reason for this? How do I redirect to the dashboard whenever I ...
0
votes
1answer
52 views

Dropdown list of available posts for post editing

I have posts of two different categories that I can't easily relate. categories are: instructors and class categories (like aerobic, weights etc.) I would like to tie instructors to class posts NOT ...
0
votes
1answer
34 views

Remove specific administrator's capability

I've created two administrator users X and Y. And now I need to remove capability of 'edit_plugins' from user Y. I've searched and found, http://goo.gl/LttuvX $user = new WP_User( 'Y' ); ...
0
votes
0answers
13 views

How to make taxonomy both hierarchical and not

I need my taxonomy to be a checklist, so I set hierarchical => false. However, I also need a search functionality similar to when hierarchical is set to true. Is there a way to "combine" both? Or ...
0
votes
0answers
48 views

How do I fix the URL used in the Wordpress admin menu for customize.php

I recently moved a Wordpress-based website to a new domain and updated all references to the old domain in the database, but the "customize.php" link in the Wordpress admin menu still references the ...
0
votes
0answers
351 views

Appearance->Editor not visible

I'm noticing that the editor is not visible from past few weeks. It's working fine on my other WordPress sites but in one site it's not visible. I tried changing theme and deactivating plugins but ...
4
votes
4answers
2k views

Including CSS and JS on Admin Screen of Custom Theme Options

I am creating a custom theme with a theme options page. I would like to style the options page and do not want to include inline styles. Is there any way to include an external stylesheet from say ...
1
vote
2answers
339 views

Check if user is logged in else login page

I like to secure a certain page for admins. How do I check if a user is logged (and is admin)? Of their not logged in, I want to show the login module.
0
votes
1answer
42 views

How to change the markup created by menu item only on chosen items?

How to add a checkbox to the menu item in WordPress backend that says "Make this a Mega Menu Container"? In my mind it should look something like this (Photoshop draft): And when the box is checked ...
0
votes
0answers
84 views

Invalid post type admin

I've added some custom post types, but for some reason I keep getting this message: 'Invalid post type' whenever i try to search a post in the backend or when I try to do a bulk action. Hope someone ...
0
votes
1answer
27 views

How to change the default url for 'Posts' link?

I would like to change the default url edit.php to edit.php?category_name=photos when I click on "Articles". Thanks
2
votes
3answers
168 views

Get current active wp color scheme

Is there a way to return the current active color scheme? This is how to register a new admin color scheme <?php register_admin_color_schemes(); ?> is there something like ...
0
votes
2answers
163 views

WordPress 3.8 get current admin color scheme

I'm trying to get the stylesheet of the currently active admin color scheme to style a plugin to fit into the color context. As mentioned in this post I had a look at the implementation of ...
0
votes
0answers
29 views

Change the order of sidebars in admin

Say I use a child theme and my parent theme already registered four dynamic sidebars. Now I am registering a fifth dynamic sidebar in the functions.php of my child theme. In the backend that last ...
10
votes
1answer
741 views

WP 3.8 Default Admin Colour For All Users

I am surprised with the new colour scheme for 3.8 and although the classic 3.7 theme has gone, I would like to set the new "Light" colour scheme as the default for all users, but at the same time, ...
0
votes
3answers
198 views

Multiple custom post types on same admin page

Here's my situation.... I'm creating a plugin that will allow families to register on the site I'm working on. Each family will have 1 or more children that they need to add to their registration. My ...
4
votes
6answers
6k views

Custom order of terms for custom taxonomy in admin and website

I have a custom taxonomy registered for my custom post type. I need to make it possible for a user to specify the order in which the taxonomy terms should appear (something like menu order for pages). ...
1
vote
1answer
81 views

Filter or action hook to insert content on admin pages before </body> tag

I am developing an administrator plugin and want to be able to write some HTML content just before the last body tag . This content will initially be hidden then displayed with javascript when a user ...
1
vote
1answer
107 views

using rewrites to secure login page

I'm trying to be sneaky with iis to secure a wordpress login page (not my choice to run a windows server, but that's the reality of things). It's worked so far, only the login page itself loads itself ...
1
vote
2answers
95 views

Disable inline_edit() on edit.php

In the class WP_Posts_List_Table there is a function named inline_edit() and it is responsible for rendering the entire quick edit table that is used (but initially hidden) on wp-admin/edit.php. I ...
0
votes
0answers
48 views

Adding line to multidimensional array option

I'm building a shipping plugin with a settings page where the user can add boxes with the attributes : Name, Length, Width, Height So far, I have managed to greate an option boxdata[l,w,h] and I have ...
0
votes
0answers
49 views

disable admin-bar search field for specific roles

I would like to disable the admin bar search field when certain users, belonging to specific roles are logged in. I would like to keep the search field available for the role 'admin', but not others. ...
0
votes
0answers
57 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
0
votes
1answer
44 views

Overview with latest edited posts and pages

I'm looking for an overview of all the latest user activities. But I don't want to see comments on this page, just the edits or creations of new posts or pages. Unfortunately I can't find such a ...
6
votes
2answers
363 views

sort child pages on admin

I have a hierarchical CPT with the following structure: - parent item 1 - child item 1 - child item 2 - child item 3 - child item 4 - child item 5 - parent item 2 - child item 1 ...
3
votes
1answer
995 views

Uploading Images to Multi-Site Causes Failure to HTTP Error

Just to fill you in on my situation. Running WordPress multi-site version: 3.5.2 clean install. Zero 3rd party plugins. All of my plugins have been disabled for debugging. Using WordPress MU ...
5
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']); ...
2
votes
3answers
7k views

How does admin-ajax.php work?

we are having some issues with an external developer. i am not a wp person so i turn to the masses to help out. we want to limit access to the wp-admin site to internal access only (via vpn). simply ...
1
vote
1answer
80 views

Replacing the List table of a Post Type

Is there a way to replace the WP_List_Table object of a post type to display said post type differently on the Admin edit.php page?
1
vote
1answer
192 views

Dashicons and Pseudo :before

I am generating a custom post type that uses the dashicons and allows users to select one to associate with the post. The idea being the user can select an icon from a drop down list and it is ...
0
votes
0answers
25 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
1
vote
1answer
38 views

Adding an admin menu page showing the link twice - how to solve this?

I'm newbie and I'm trying to create a plugin to add a menu to left menu in admin section. i have create the page but it is working fine. but i find the left menu being displayed twice. how can I ...
0
votes
1answer
96 views

How to remove menu from WP-Admin menu

I would like to hide option of template from the menu side in wp-admin. I tried this code but its not work , its no hide the option:- //hide in admin menu add_action( 'admin_menu', ...
0
votes
1answer
68 views

Add menu item to edit specific page

I have pages setup and want a top level menu item to direct to editing a specific page. I'm reading through add_menu_page and it doesn't list how to get to specific pages or posts edit page. ie ...
0
votes
0answers
20 views

How to sort post_meta in edit.php?

I have Custom Type cpt1 and Custom Fields cf1, when you use hook manage_cpt1-bien_sortable_columns, wordpress don't sort the post_meta ?
0
votes
1answer
41 views

Scripts are not called until I login from wordpress backend

I am enqueuing custom scripts for slider in header.php but it is not working until I login from backend. I am working on localhost. The code is <head> <meta http-equiv="Content-Type" ...