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

learn more… | top users | synonyms (1)

3
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() { ...
0
votes
2answers
46 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 ...
0
votes
1answer
304 views

How to remove specific tag from multiple posts?

I am trying to find a method to delete a certain tag, that is used in my theme to display differently "featured" and "dont-miss" posts, from multiple posts and I was not able to find a solution. Or ...
0
votes
2answers
649 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 ...
1
vote
1answer
74 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
66 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
106 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 ...
5
votes
2answers
155 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 ...
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.
0
votes
0answers
58 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
68 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 ...
1
vote
1answer
46 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.
0
votes
0answers
38 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
40 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
45 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
16 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
55 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 ...
1
vote
1answer
82 views

Filtering the post list in the admin area

How can I filter my custom post type like it's filtered by WordPress itself? By that I mean the links that allow you to show only published, private or trashed posts. I need it because I want to ...
0
votes
0answers
771 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 ...
2
votes
2answers
616 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
64 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
0answers
110 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
29 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
0
votes
0answers
32 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 ...
0
votes
2answers
259 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 ...
1
vote
1answer
117 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 ...
0
votes
0answers
52 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
68 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. ...
1
vote
2answers
114 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
72 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
56 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 ...
2
votes
1answer
1k views

How To Remove WordPress Version From The Admin Footer

Is there anyway to remove version number from the right side of WordPress admin footer? I know this code will add some text before the version number, but it will not remove it: function ...
0
votes
1answer
45 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 ...
1
vote
1answer
92 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?
0
votes
0answers
26 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
48 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 ...
1
vote
1answer
227 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
3answers
243 views

How to remove text “Log In” from login page

I am using Theme My Login and have noticed that, even though I am customising my own login-form.php template and simply including the appropriate form on a blank page with theme_my_login();, the text ...
2
votes
1answer
162 views

Display update notification messages like 'What's New'

I am about to push out a new update for my plugin. I've used a few functions only available to WordPress 3.8, which is fine because I want to support the latest version. How do I display a message to ...
0
votes
1answer
132 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
81 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
21 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
46 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" ...
1
vote
1answer
195 views

Calling a shortcode in the backend

I'm using TablePress to make some backend tables. What I want to do is show these tables in a different admin menu than the TablePress menu, because they'll be available to lower user groups. So I ...
0
votes
0answers
59 views

Unsure how to add simple checkboxes that write to a small table to admin

I've been doing a lot of reading on the add_meta_boxes...but there's so much information that I'm confused about when to use them. I have a little plugin that writes out some checkboxes and then when ...
0
votes
2answers
94 views

How do I set up the defualt page icon for admin menu?

What do i Change this to So its shows the default page icon?', plugins_url( 'myplugin/images/icon.png' ) add_menu_page( 'Info', 'Info', 'manage_options', 'LINK', '', plugins_url( ...
0
votes
0answers
28 views

How can I place the “Add New Post” contents on a custom page?

I created an alternative to the default WordPress Admin panel for my writers to use as I wanted more flexibility (in design) and a simpler interface. I've been successful thus far but I can't seem to ...
1
vote
3answers
122 views

Adding help information to custom post edit page

I have two custom post types created (using Types plugin) with a bunch of custom fields. I need to add a help information, instructions for admins that will show at the top of add new/edit CPT page ...
0
votes
3answers
43 views

How to detect when admin user is on the All Posts page?

Could anyone be kind enough to descrive how to I can detect (in my functions file) when admin an user is on the 'All Posts' page? I have tried get_post_type() but it returns nothing. Thanks.
0
votes
0answers
28 views

Create or Update Post Slug from Custom Fields

When i create or update a post, i want to create or update the slug (url) of my post from Custom Fields and not the title...! An idea ? Thank you !