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
7 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
41 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
545 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
497 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
418 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
860 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
33k 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
720 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
637 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
582 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
18 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
934 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
16 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
22 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
23 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
19 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
482 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
50 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 ...
0
votes
1answer
20 views

How to get submenu of admin menu?

I user global $menu in one of my plugins to get the list of menu items. But i would like to get the list of of items from a submenu for example from Posts i would like to get Add new, All, Edit ...
5
votes
1answer
98 views

Multiple custom post types under one admin menu

I'm not sure where to start with this one. I want to have 4 custom post types (Gigs, Venues, Holidays and Potentials) listed under a main heading of Events Manager, but don't want Events Manager to ...
0
votes
1answer
23 views

Disable Auto-Expanding Menu in Wordpress Admin Menus

Right now, when I click on a menu item in the wordpress admin menu, the section that that page belongs to is automatically expanded. For instance, if I click on a link in the Settings section then ...
2
votes
1answer
66 views

How to Add a Third Level Sub Menu to the Wordpress Admin Menu

Is there a function, action or filter that I can use to add a third level dropdown menu to the wordpress admin menu. For instance, right now in the sidebar menu their is a menu for posts and under ...
1
vote
1answer
184 views

Remove admin AND editor from the “change role to” menu in user listing

I have a snippet in my functions.php that removes the admin role from the "change role to" drop down menu in the users listing screen, so that editors who can list users and manage roles won't be ...
4
votes
1answer
3k views

if admin is logged in

We know, that is_admin() doenst check if user is ADMIN, but it checks only DASHBOARD places... I use this function to detect if administrator is logged in wordpress: function iss_admiiiiiin(){ ...
0
votes
1answer
858 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 ...