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

learn more… | top users | synonyms (1)

1
vote
1answer
26 views

What's the point of using Wordpress's built in admin-ajax.php?

I'm trying to understand why using admin-ajax.php is advantageous over doing something like this: add_action ('wp_loaded', 'my_ajax'); function my_ajax() { // Do Ajax, Check $_POST die(); } ...
0
votes
0answers
13 views

Why plugin's icon for the menu not found?

Why plugin's icon is not showing in plugin menu ? All code of plugin : add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'Site ...
0
votes
0answers
11 views

Add a Menu Link (to a Wordpress Page) in the Admin Menu/Sidebar

I am trying to add a link, in the Admin Sidebar, that links to one of the pages I've created in the PAGES section. For example, I've created an ABOUT page. So in the sidebar I would like a link to ...
0
votes
2answers
40 views

Wordpress Frontend Check If Current User Is Administrator

I am trying to check if current user that accessing a page if administrator using current_user_can(), but it is not working and returning this message instead: Fatal error: Call to undefined function ...
0
votes
0answers
19 views

Widget Areas Still Appearing in WP ADMIN When They Shouldn't

I had a bunch of "Widget Areas" registered for my theme. I removed a few and added a few. The ones which I removed, I deleted the code which is hooked on widgets_init for registering the sidebars. I ...
0
votes
1answer
22 views

I cannot login to administrator for my website. [on hold]

I moved my WordPress site to a new host and cannot login to administrator. I have tried (www.barbarahealypainter.com/wp-login.php) with out success.
0
votes
0answers
20 views

why only admin or visitor can see a custom page? [on hold]

i test all role , when i login and try to load a page , i get not found page ! my pages work correctly when sign out or login with admin role . what is the problem ?
0
votes
1answer
16 views

How to create input page in Wordpress admin panel?

I have never used wordpress before and I'm trying to learn it now, I hope in this forum we can discuss about wordpress more, so I can more understand about it. I have problem, that I want to create ...
0
votes
0answers
9 views

Nested Admin panel sub menus in single menus

i know how to add custom menu in the admin panel and how to add multiple sub menus in the custom menu. But i want to know can we add nested sub menus in the custom menu (WordPress admin panel)? Means ...
0
votes
2answers
66 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
8 views

Custom admin TinyMCE - order items

I would like to know, how can we order wordpress editor buttons? I want to add the "format/style" dropdown after the heading dropdown. Here is my code: function enable_style_dropdown($buttons) { ...
0
votes
0answers
10 views

Linking wordpress plugin page with another in the same directory

I am making a plugin page on wordpress admin, that I have connected it using the add_menu_page() command. This page displays a list of custom post type using wp_query. I am trying to link each title ...
0
votes
2answers
19 views

Redirect preview single post link to a page

I have custom post types setup such that the items don't have or need single-post pages. The posts will be displayed via a custom query on a page. My question is when i create a single post (on the ...
0
votes
0answers
11 views

User is not being deleted from wordpress admin dashboard

I have a wordpress blog and I'm trying to delete a certain user from my admin dashboard. But when I delete this specific user and refresh the page, he remains on the users list. The only thing that ...
1
vote
1answer
27 views

How do i know the current post type when on post.php in admin?

Im trying to do something with an admin_init hook if - and only if - the user is editing a post (post.php) with post type "event". My problem is that, even though wordpress points to a global variable ...
0
votes
1answer
41 views

Limit Words in Category / Term Description - Admin Panel

I'm working with a Taxonomy where the Terms have lengthy descriptions. It makes the Admin Panel look really ugly when WordPress tries to display these descriptions for 10 categories. I'm trying to ...
0
votes
2answers
24 views

Query for menus in backend (BE)

I want to create a simple plugin (already started) to have in one place recurring tasks (for me as webdesigner) e.g. take site offline, set backend icon, don't show updates and so on... Now I want to ...
0
votes
1answer
17 views

Custom Post Type Causing Admin Sidebar UI Issue

I created custom type plugin, that if it is activated will make admin sidebar scroll follow along the admin screen height, instead of let it stuck. What makes it doing like that?
-2
votes
1answer
14 views

List all blogs a user can admin

Which is the best way to list all blogs a user can admin in a wordpress network? Thanks in advance.
0
votes
1answer
11 views

List of WordPress menu item indices?

The following code will rename the "Posts" menu item to "Blog Posts" in the WordPress Dashboard: function lc_change_post_menu_label() { global $menu; $menu[5][0] = 'Blog Posts'; } add_action( ...
0
votes
0answers
17 views

Get site owner meta to show publically on front end in multisite? using “user meta shortcodes” plugin

I've searched all over for a fix and have had no luck. Im using the "User Meta Shortcodes" plugin to display user meta. The plugin works fine, the problem is that it doesnt output the meta info from ...
1
vote
0answers
23 views

Including a 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 ...
0
votes
1answer
15 views

See which user installed a plugin?

Are there any DB entries made when a plugin is installed, and if so does this indicate which user did so?
0
votes
0answers
12 views

Editing content for mobile

I'm thinking about the best solution for separating content that should be displayed on different devices in the backend, e.g. desktop and mobile. The most obvious solution would be to define ...
0
votes
1answer
15 views

Getting rid of menu items on a custom taxonomy

I have made up a custom taxonomy and it works great but in the admin menu I get the normal categories and normal tags showing up along side the custom categories and custom tags (see image) is there a ...
0
votes
0answers
35 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
36 views

Adding Radio Options or Select Options to Meta Box Title

I am adding Radio Options and Select Options to miscellaneous Meta Box titles. The HTML is rendering just fine in the title of each appropriate Meta Box title. There seems to be a bit of ...
0
votes
0answers
29 views

Admin area for user, custom theme or admin theme?

In my WordPress site, I need to provide some backend functions for logged in user, so currently I have two choices use the wp-admin, customize the menu by hiding irrelevant items create a custom ...
0
votes
1answer
21 views

Set admin body to ltr on a rtl installation

I am using a rtl WordPress installation (Hebrew language) and have the following problem: On the admin interface, most of the plugins I install do not have a rtl stylesheet and therefore the plugin ...
0
votes
2answers
40 views

WordPress “Hide WP” Gives Me Error After Admin Login [closed]

I recently paid a freelancer to install a "hide WP" effect, which hides the fact that I am using WordPress. I specifically asked to install something with this effect: ...
1
vote
1answer
36 views

Taxonomy Terms - Orderby Custom Value

I have a custom value which is being stored as term_group but in the admin panel I would like to order them by that term group. I'm able to sorta do this through this function, but there's a problem: ...
0
votes
0answers
23 views

Saving the current state of a checkbox that I have added to my admin 'edit a category' page?

I have been struggling with this for two days. I've added an input(checkbox) to represent "Featured" categories on the 'Create a category' and 'Edit a category' pages. My problem is that when I update ...
0
votes
1answer
27 views

Can't use admin_enqueue_scripts or wp_enqueue_script

I've suddenly had an issue that neither admin_enqueue_scripts or wp_register_script are working properly, they were working fine for a while but suddenly stopped working. In the following function, ...
0
votes
0answers
12 views

Add item to admin bar as late as possible

I have an admin page in my plugin where I want to show a balance figure in the admin bar. This works fine for the most part: // in the __construct method add_action('admin_bar_menu', ...
0
votes
2answers
43 views

How to group navigation items in the admin panel

I have more than 50 custom post types which I have created using the Pods plugin. The problem is that the left navigation of the admin panel looks really busy and messy and it takes a lot of time for ...
0
votes
1answer
23 views

How can I get an array/list of all current WordPress Admin Menu items?

I would like to somehow retrieve a list of all current admin menu items, even the ones created by themes/plugins. Is it possible?
0
votes
1answer
107 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
1answer
23 views

Change Admin URL

I changed my Wordpress directory structure quite a bit. Here's what I have: define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/wordpress'); define('WP_HOME', 'http://' . ...
1
vote
1answer
31 views

Post Admin - Filter by posts without tags

I am stuck on this one and it's probably a really simple answer but can anyone please shine some light on how to add a filter menu with an option value of 'No Tags' that when clicking the Filter ...
0
votes
0answers
24 views

Plugins admin page in tabs

How do I init custom Plugins admin page if pages are enbeded in tabs I try the following but You do not have sufficient permissions to access this page. class MyPlugin{ public function ...
0
votes
2answers
50 views

Admin filter/error if post title is too long

Is there a filter that will throw an error if the posts creator enters a post title that is too long? I am looking to throw an error like: "The title you've entered is more than 30 characters. Please ...
0
votes
0answers
28 views

wordpress php show comments only from user AND replies

I'm trying to add a comment section to a user profile, it'll act as a way of communicating between the user and the admin. In the user section I only want to show comments from the logged in user, and ...
0
votes
1answer
64 views

Equivalent of admin.php for public pages

I am pretty new to the Wordpress API and can't seem to find what I need. I have been searching for a way to create public pages (accessible to users without admin permission), similar to the method ...
0
votes
1answer
51 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
21 views

Hide post list for custom post type in the backend

i'm trying to hide the post-list for the admin, when there are no posts in the database. Custom post types initially look like follows: But I want to add my own content (if needed) INSTEAD of the ...
-1
votes
1answer
57 views

Different customer login form than administrator login form?

I've recently installed Woocommerce. I have realized that the administrator can access the back-end through the same login form presented to the customers. This, to me, presents a huge security risk. ...
0
votes
0answers
30 views

Enqueue script throws error in console

WP version 3.9 I am editing the customizer. I have an upload field for uploading a logo. When I try to upload I receive an error. TypeError: wp.media.model.settings.post is undefined I tracked ...
0
votes
1answer
25 views

How to print the output of the get_num_queries function from frontend to backend?

I'm trying to develop a simple plugin and figure out how to display the number of queries executed in frontend, to an admin page (plugin options page), using get_num_queries() function. I've added ...
0
votes
0answers
77 views

How include the “text/visual” tabs in your own wp_editor instance?

I've made some meta boxes which use the wp_editor to create the textareas. When someone is on any page in the admin interface and moves from "visual" tab to "text" tab, all my wp_editor boxes show ...
0
votes
1answer
25 views

Get email address of type Administrator

I am new wordpress, please help me. How can I get all the details of type Administrator. I have created 2 users with Role as Administrator, like get_option( 'admin_email' );. I want the Email address ...