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

learn more… | top users | synonyms (1)

2
votes
1answer
64 views

How can I delete all inactive widgets?

I want to cleanup all inactive widgets. I tried following snippet as suggested by this answer Script to remove all inactive widgets?. $sidebars_widgets = get_option( 'sidebars_widgets' ); ...
2
votes
1answer
132 views

Is it possible to hook AJAX to UPDATE-button?

I have a site with a custom post. When I enter that custom post in admin (edit)-page then a form is rendered. This form takes like about 2-3s to render - it's a lot of of values in it - both hidden ...
2
votes
1answer
712 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: ...
2
votes
1answer
138 views

Hide upload image fields for the different media upload popups

I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
2
votes
1answer
934 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:
1
vote
1answer
35 views

Enqueue and Dequeue from admin bar nodes

I developed a few nodes under my custom parent node on admin bar. While navigating on frontend and clicking on one node I'd like to enqueue some css file. The url should remain. While navigating on ...
1
vote
1answer
32 views

How-to turn off mobile admin mode?

I want to permanently turn off the mobile admin interface, which I find incredibly annoying. What file do I need to edit to turn off the mobile admin interface? This question is not about WordPress ...
1
vote
1answer
231 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
65 views

Admin toolbar shows up when not logged in

I'm running into a Major trouble. Today I found out that when visiting a specific URL on my website, the admin toolbar shows up. Also for people who are not logged in. It appears that the visitor is ...
1
vote
1answer
28 views

Super administrator db name

As I cant test this(cant find any docs and dont have an multisite setup) I need to know the db name of the Super Administrator. So how is this role stored inside the wp db? It's probably something ...
1
vote
1answer
104 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 ...
1
vote
1answer
103 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
75 views

Admin option sidebar count

I need to add a count number to a option menu item in the admin sidebar. How is this done? I found a similar post: Modifying admin sidebar contents to show pending posts indicator
1
vote
1answer
126 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
1answer
120 views

What filter/action hook can I use to add a few links to the admin comments page?

I would like to add a link to every comment when it's displayed in the recent comments admin page (edit-comments.php). For the sake of this question, the link should just be this: <a ...
1
vote
1answer
130 views

Add attachment for all images in post

I want to move someone else's WordPress blog to a new server. I only have access to the exported XML file of the blog. When importing the XML with the Wordpress Importer plugin, everything went fine ...
1
vote
1answer
128 views

Modifying the built-in behavior of ajax tag type-ahead functionality of WordPress

Currently, it takes 3 characters to be entered into the tags, before WordPress can start suggesting matching tags. Where do I make it so it instantly starts those suggestions? I've got a 100's of ...
1
vote
1answer
100 views

page not updating with database

I have code which updates the database fine, but the page doesn't update correctly! I have to refresh the page a second time for it to update correctly. Here is the code below ...
1
vote
1answer
94 views

Client system for media review?

I'm looking for a plugin, or a system, for wordpress, that would allow a client to login and see the graphic designs, video, documents, etc... that i'm currently producing for them, and allow them to ...
1
vote
1answer
278 views

I need a “Choose from existing content” popin

I'd like to create a field that allows the admin to select from other existing post types. Specifically, I want to create an options box to choose which events display on the homepage. For now, I've ...
0
votes
1answer
12 views

Get the selected posts IDs to use in bulk edit AJAX call

The WordPress codex for bulk_edit_custom_box, along with this bulk edit example use the following piece of JavaScript to create an array of selected post IDs to send with the AJAX call that updates ...
0
votes
1answer
28 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 ...
0
votes
1answer
32 views

Publish button inside custom field group

Is it possible to move the publish button out of the publish metabox, completely remove the metabox and then put the publish button inside the custom field group? Ask if you need more information, I ...
0
votes
1answer
24 views

Add custom column to Users admin panel with Types user custom fields?

I added custom columns but now I don't know how to get the date from the fields to show... and I have an error in my code. Can someone help? Thanks Here's the code : function ...
0
votes
1answer
39 views

edit-comments.php in Admin - how to change 'Comments' title?

How can I change the title 'Comments' on the edit-comments.php page in the admin area? Thank you
0
votes
1answer
46 views

Is Post-Form Resubmission somehow prevented in Wordpress 4.2.2?

I'm developing a Wordpress-Plugin where I add some forms to the wordpress admin. Usually when I'm testing the processing of form data, I fill in the form once and then just reload the page to send the ...
0
votes
1answer
22 views

Wordpress Home/Front Page Display at top of Admin Pages List

I know this example doesn't show a lot of pages. But, on sites with dozens of pages, I have to go to the next page, scroll, sort by title, etc. to find the home page. Is there a way to have the ...
0
votes
1answer
51 views

Add a page in admin without adding menu item

In my plugin I have registered a menu_page; now I need another page. How can I add another page to my plugin without adding another menu item? Is it possible to call it by href?
0
votes
1answer
56 views

Plugins & Setting Menu Items Removed From Admin Panel

I am unable to add any new plugins and can't see menu settings as well. I think it's been disabled. How do I bring these admin menu items back? Here's what my admin panel currently looks like:
0
votes
1answer
44 views

Excerpt showing under title in admin columns

I am developing a site for a client, but i am facing a weird issue that is excerpt by default shows under title in admin columns. This is happening for all post types including custom post types. I ...
0
votes
1answer
31 views

Customising the admin columns for a custom post type, but now most of the built in categories don't display?

Our admin dashboard list of our custom post type shows by default two columns - title and categories. We want to improve the list, and to add the foobar custom field. So we do that as follows: ...
0
votes
1answer
48 views

Black admin bar is being hidden by page elements

I all of a sudden noticed while building a new WordPress theme that the black admin bar is being hidden by the header element when you scroll down and I can't fix it. I basically have a full width ...
0
votes
1answer
32 views

Include administrator in author list

I have this code that is displaying my last active authors. I also would like it to display WP administrators in this list. The code is: $authors = array(); $count = 0; $args=array( 'post_type' ...
0
votes
1answer
73 views

Doubt using $wpbd->get_col for a single column

$table = $wpdb->prefix . 'posts'; foreach ( $wpdb->get_col( "DESC " . $table, 0 ) as $column ){//get all columns from wp_posts echo "<div><p>". ...
0
votes
1answer
151 views

Adding HTML tags or css classes to admin columns

Is it possible to add a custom class to the links in admin columns? I'm trying to replicate the labels below. I'm using WP 4.1 and my CPT is using 'show_admin_column' => true in ...
0
votes
1answer
513 views

Custom admin email for new user registration

I've scoured the web for the solution to this small issue, but I keep getting results that tell me how to customise the notification e-mail not the email address. I have the admin email address in ...
0
votes
1answer
214 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 ...
0
votes
1answer
112 views

Move an Admin menu link to another part of the admin menu

Does anyone know how to move an admin sub menu link under admin settings. I am using the Genesis framework and I am removing the whole genesis menu as all the stuff I need is in appearance > ...
0
votes
1answer
33 views

Improving this link color picker code

I'm looking to create a color picker in the admin for the anchors. I know it can be done by CSS but I have a multisite and would like users to easily set the link colors. The following works but ...
0
votes
1answer
140 views

New User Notification - Setting Email

When a new user registers an email is sent to my email address. When I created the site the first admin account was mine using email address (a@a.com) I want to change which email is sent a new user ...
0
votes
1answer
58 views

How do I enable new account notification emails (to the administrator)?

As an administrator, receiving an email when a user registers to my blog is important. How do I enable this feature?
0
votes
1answer
99 views

My Account Lost Administrator permission

Need help to solve this problem. First i did reflush all upgrade that didn’t complete that cause "WordPress Error: You do not have sufficient permissions to access this page" with force upgrade: ...
0
votes
1answer
118 views

Login to Admin Dashboard Problem

I can't login to my Admin dashboard even when I had reset my password from phpmyadmin! How can I solve it. It kept showing this link each time I tried to login with new new password: ...
0
votes
1answer
35 views

Only execute specific shortcodes

For my wordpress content editor I need to specify the shortcodes I want to get executed. Is there a chance to define an array of shotcodes which get executed and all other shortcodes in the content ...
0
votes
1answer
85 views

Run filter if only it was run from specific admin page ( 'upload_dir' changed )

The situation is following: In WordPress, there is a plugin page created with optionality to upload media files. The code added to this plugin, that changes the upload directory by adding of filter ...
0
votes
1answer
163 views

hide default post body field in backend

Is there a easy non-css-hacking way to hide the default post body field in the dashboard? I simply want to have the title field and some adv. custom fields but remove the default post body field.
0
votes
1answer
41 views

Admin role not really admin

So i followed a tutorial to install wordpress offline in xampp. It's up and running but login doesn't seem to be a full admin. It says i don't have sufficient privileges when trying to install a ...
0
votes
1answer
39 views

Blank page beyond dashboard

Our page is not showing anything past the dashboard. All that is showing is on the Jetpack section and the Portfolio section. Has anyone got any ideas why this is happening? Is it because we ...
0
votes
1answer
81 views

Plugins not activated after update?

I recently noticed that after manually updating any plugin it is left deactivated. Is this the correct operation? Or might there be a problem with my install? Thanks
0
votes
1answer
199 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 ...