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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Where can I see the typography of load_styles.php?

I am creating the wordpress plugin admin page. Here, I want to how can i use the elements' class defined in load_styles.php. After all, I want to see the image of sample element that has the class ...
1
vote
1answer
681 views

Collapse subcategories in post edit screen

Is there a plugin to collapse/expand subcategories in the post edit screen? In other words, I'm looking for analog of CMS Tree Page View plugin, but for categories.
0
votes
1answer
26 views

Create users via PHP

I'd like to update my users list with some user from a csv file generated by another database (witch i can access too) i'd like to create dynamically a user (with username, password and so on) and ...
5
votes
2answers
241 views

Remove update nags for non-admins

I'm trying to remove or hide the update nags for non-admin users. As an admin, I see: The popular answer I've seen to handle this says to use: function hide_update_nag() { if ( !...
0
votes
0answers
6 views

Sort comments in backend by meta

I have a meta value named, that I add to all of my comments for a specific post type. This subject is auto populated with a value that tells me the current situation of the post, when the comment was ...
2
votes
2answers
5k views

Is there a way to lock certain pages from being edited by anyone other then the admin?

I have built a WordPress site and theme and have several pages that I do not want editors to edit. However, there are other pages that I want them to have access to to edit. Is there a plugin or code ...
0
votes
1answer
417 views

How make a custom search on backend in Wordpress without plugin?

I have a post type called usr_jardin with a custom field called sim_nuip. I would like to get the search to work for the title of the post and also by custom field . I try this but does not work me. ...
0
votes
0answers
17 views

Wordpress calls my plugin while trying to update Wordpress Core

I am developing my plugin right now, and I have faced with one issue. I tried to update my Wordpress core to the latest version but it shows me an error in my plugin. I think I doing something wrong. ...
0
votes
1answer
50 views

Show global Message in User Profiles with admin only Input field in Wordpress Backend

I try to display a piece of text (without plugin) for example "Quote of the day: Some text" on all user profile pages (.../wp-admin/profile.php). This Text should managable/editable from the Profile ...
0
votes
1answer
562 views

Layout Plugin Admin Pages: Use BootStrap?

When you make your plugin admin pages, ie 'My Plugin Settings' page and etc. do you use bootstrap in them? What is the convention for this and what do most in the industry use to lay out their ...
1
vote
1answer
500 views

Plugin: AJAX query external API to sync to tables

I'm planning to write a plugin that hooks into an external API and syncs to a couple of database tables some information. I want to do this in a best practice way if there is one. I want the user to ...
0
votes
1answer
423 views

Ajax call through admin-ajax.php returns 404 error

I am trying to do a pretty basic AJAX request at the moment, just to test functionality, routing my calls through admin-ajax.php. However, every time I try to fire the AJAX request, I get a 404 error ...
13
votes
7answers
18k views

Admin Ajax is returning 0

I am relatively new to jQuery and AJAX in particular. I have a small issue with the return value always being 0, though I think this is actually the success message and it's not returning anything. I ...
1
vote
2answers
862 views

Disable collapse of admin meta boxes

I have been attempting to disable the ability to collapse admin meta boxes. By the looks of it WordPress creates this functionality in postbox.js /wp-admin/js/ but I have been unable to find a hook or ...
0
votes
1answer
52 views

Redirect public site to another one but allow administrators to access the old site

I have two WordPress sites and I'm closing one of those sites and want all traffic redirected to the second website. If possible I would like to have the first to be viewed only by administrators ...
56
votes
7answers
34k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
8
votes
3answers
3k views

Edit “thank you for creating with Wordpress” in version 3.3.1

Is there a way to edit the text "thank you for creating with Wordpress" in version 3.3.1 at the bottom of the CMS? If so what file do I need to edit?
0
votes
1answer
724 views

initial sort order for a sortable custom column in admin

I have created a number of 'views' column in the admin area of my posts. There are several tutorials for this and I did in fact use a number of these to arrive at my end result. It works as expected ...
2
votes
2answers
3k views

Add tabbed menu to admin page

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?
17
votes
5answers
12k views

Add a Separator to the Admin Menu?

Does anyone know how to add an admin menu separator? I found this but it did not help. Any ideas?
0
votes
0answers
13 views

Button Action on WordPress Users Admin Page

I want when I select the role and click button filter. button filter action like when I click menu above ( example: subscriber ) and the page display subcriber only. My Code function ...
1
vote
1answer
64 views

Including comments meta box on a plugin page

I want to include the 'Comments' meta box (the one usually seen on the post creation page) on my plugin's admin page. Is there a way to do that? I am aware of how you can use add_meta_box() to add a ...
8
votes
3answers
8k views

How to set back-end language per user?

I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
0
votes
1answer
638 views

Issue displaying multiple TinyMCE editors with WPAlchemy

I have a custom post type with a WPAlchemy admin meta box class including multiple textareas with TinyMCE editors(for adding content to the custom post template). I've gotten the editors to display ...
3
votes
1answer
1k views

WordPress last login foreach user

Trying to get the last login of each user and display it into the admin panel. Currently I can display the first user within the admin loop, however I can't pull out the remaining users. I think I ...
1
vote
1answer
587 views

Ordering posts by custom taxonomy in admin area

EDIT @kaiser - this question is slightly different to the answer you posted in that I am talking about sorting by clicking the column title rather than adding a dropdown to filter by taxonomy term (...
7
votes
1answer
7k views

Add custom column to Users admin panel

There is default 5 columns named Username Name Email Role Posts in USERS. Now I want to add one more column with his contact number. How can I achieve this??
0
votes
1answer
1k views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
1
vote
0answers
21 views

Unable to Access WP Admin or Login buttons after Migration

After migrating from IIS server over to CentOS, I am having a hard time logging into my admin. When I did manage to login it said the User had no permission to login into WP Admin so it was the ...
0
votes
1answer
26 views

Hide Admin posts & pages in Dashboard

Is it possible somehow to hide Admin's pages & posts from dashboard so that other users will only view/list non-admin publications?
-1
votes
1answer
18 views

deploying a standard build of wordpress in WHM/cPanel

An admin question: I would like to know if there is a way to deploy a standard build of Wordpress in a WHM/cPanel environment? Standard features I'd personally like to include are a set of common ...
2
votes
1answer
938 views

Admin Area Custom Type Search By Meta Fields Without Title & Content

I have a custom post type that uses several meta fields. In the admin area I would like to be able to search by those meta fields. I have implemented this currently in my functions.php with this code: ...
1
vote
2answers
606 views

Admin pages have no content

Not the usual white screen of whatever horror, my site is shown normally until you go to the admin dashboard. While the dashboard (or the admin menu if you will) is visible and responds accordingly, ...
0
votes
0answers
11 views

How can I reduce and update the list of available custom fields in the Name list on the page in admin?

So on the admin page for a certain wordpress page, I want the custom fields list updated, because I don't need some (most of them actually) of the existing values for custom fields. So I want some ...
0
votes
0answers
17 views

Turn shortcode into HTML view right after the user types it in the admin editor

WordPress automatically embeds from many providers. Let's say I type an URL from YouTube in the admin editor, it instantly shows the video at "Visual" tab, the iframe embed, but the URL remains ...
3
votes
3answers
2k views

How to Load Scripts and CSS for Admins Only When Editing or Adding Posts

I have a plugin that will allow administrators to perform certain actions when adding or editing a post. I use a stylesheet and a javascript for this plugin that I want to include only when a post is ...
0
votes
0answers
25 views

Woocommerce admin product list extended search

I need to search in product custom fields on admin product listings. The code I am using: Problem that this search only on custom field and now can't find by title or description... what can you ...
2
votes
1answer
1k views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
9
votes
5answers
7k views

How to remove entire admin menu?

I need to customize the admin panel for my user. So how do I remove the entire admin menu? Not remove the menu item, I mean entirely remove the left vertical menu bar, include the design of the menu (...
1
vote
3answers
1k views

Can't access Admin section of Wordpress using MAMP

I have been developing a Wordpress site locally using MAMP, and I have run into an issue twice now where when I leave at night and come back, I can't access the admin page. I have debugging on, and ...
4
votes
3answers
153 views

How to change Wordpress default strings?

I want to change some (20-30) of the defaults strings on Wordpress back-end (not to translate). I know there is gettext filter but I think could lead to performance issues if we have a lot of strings....
8
votes
2answers
12k 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' => ...
1
vote
1answer
26 views

Add menu page on multisite

I'm trying add menu page in multisite (settings will be global for all blogs). Current code created in plugin and activated in network function wpdocs_register_my_custom_menu_page() { ...
0
votes
1answer
31 views

Pagination Error on Admin (You do not have sufficient permissions)

Hi everybody and tks in advance for your help! I have a plugin and I was trying to do some pagination for a custom query. Everything seems to work fine, but when I click on page 2 (or whatever not ...
0
votes
2answers
32 views

Admin page and admin menu. Permissions plugin

I was googlin really hard but couldn't find any answers. What i'm trying to do is write a simple permission admin page plugin. So far what i did a page with every role where i can check a certain ...
0
votes
0answers
20 views

Why are all posts older than a certain date missing from filtered Post lists in wp-admin?

I'm experiencing a strange issue where all posts older than a certain (seemingly arbitrary) date do not show up in the Posts manager, but only when looking at a filtered view (by post format, category,...
1
vote
1answer
19 views

Categorizing Page Templates

I'm wondering if it's in any way possible to categorize page templates and display them in the dropdown by category. In other words, having page templates defined as being for parent pages that show ...
1
vote
1answer
485 views

How do I add an admin notice within javascript in the admin interface for posts?

I want to use javascript to add a notice to the top of the wordpress page just like they do when auto-saving the page. But in looking at the DOM, I don't see any special div that I could find to add ...
1
vote
1answer
53 views

Remove duplicate product link from WooCommerce Page Row Actions

I'm desperately trying to remove the duplicate link from the WooCommerce Admin Product listing (page_row_actions). //Remove duplicate button from product list function my_duplicate_post_link($...
0
votes
3answers
39 views

How to Move the Comments Bubble to the Right Side of the Toolbar

In the admin section, the commments bubble is on the left side of the toolbar. I know how to remove the bubble. What I can't figure out is how to move it to the right hand side of the toolbar (next ...