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
194 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
199 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
859 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
148 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
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:
1
vote
1answer
11 views

Edit page's “Restore the backup” link does nothing

Every now and then WP logs me out and a pop-up requires me to log back in. After this happens and I am back in, I try to save some changes to a page I'm working on, but there is an error like "Are you ...
1
vote
1answer
79 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
64 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
381 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
72 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
30 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
124 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
164 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
77 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
131 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
135 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
133 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
139 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
103 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
304 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
38 views

How to disable https from wordpress site?

I have installed my wordpress instance on https://cti-uitutorials.rhcloud.com. While changing the url to http://ctisleeperadi.in/ . all the admin related page still use the https, this resutls in ...
0
votes
1answer
29 views

Signed-in as admin on just part of the site

I recently upgraded from WP 3.1 to 4.4.1. In the new setup, I am apparently seen as signed-in (as an admin) just on parts of the website (/blog/*) but not on other pages (that do not have the /blog/ ...
0
votes
1answer
46 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 ...
0
votes
1answer
17 views

Exclude Everywhere but Admin Area?

Currently I have this: if ( ($query->is_home() && $query->is_main_query()) || $query->is_archive() || $query->is_search() ) { ... } I tried !$query->is_admin() but this didnt ...
0
votes
1answer
29 views

Admin toolbar not displaying on pages

The admin bar displays on the dashboard, but does not display on pages or posts. I'm working with a child theme of Twenty Thirteen that I did not code. I'm a beginning level coder and work mostly ...
0
votes
1answer
27 views

Get content of publish box

is there any way how to safely get content of the publish box? For example via some hook or filter? I wasn't able to find anything. I need to place in in some different place.
0
votes
1answer
26 views

Organizing the position of widgetized areas in the backend

Is there a way to position the widget areas in the WP admin -> Appearance -> Widgets page? I've arranged my register_sidebars function in the proper order however they seem to be displayed randomly. ...
0
votes
1answer
29 views

Multisite Admin Roles

I have a multisite with the following lines of code in my functions.php file: add_role('test', 'Test Priv', array( 'activate_plugins' => true, 'delete_others_pages' => true, ...
0
votes
1answer
129 views

How to add multiple existing users to a multisite site?

I have a multisite instance of WordPress, and I need to add 50 existing users to each of 20 new sites. One by one is going to take a very long time, and will send each person 20 emails confirming ...
0
votes
1answer
20 views

How to create 30 new sites from an export of a master site?

I am an admin for a Wordpress multisite instance at a college. I need to create 30 new wordpress sites, each for a similar course. The content is going to be copied from a "master" wordpress site ...
0
votes
1answer
32 views

What Role to assign remote site developer?

We have hired a developer who we communicate with via upwork. We want him to be able to make any changes to the site, except to boot us out! Which Role should we assign to him - Admin? If so, is there ...
0
votes
1answer
133 views

Admin Ajax is returning 0 and not Insert data

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 ...
0
votes
1answer
57 views

Display read only info on admin, custom post page

I have a custom post type, user submitted posts. When viewing a post as admin I only want to "Show" the posts title and content as there is no need for it to be in a text area or wiziwig. It's not a ...
0
votes
1answer
74 views

Adding CSS-class to WordPress Menu in backend

I am wondering if its possible to add CSS-classes to WordPress menu in backend. If building complex menus, the overview gets lost - would like to style it a bit. Normally it would be fine to add the ...
0
votes
1answer
43 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
0
votes
1answer
58 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
252 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
55 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
99 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
158 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
65 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
41 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
0answers
223 views

how to automatically cleanup failed Wordpress uploads in /tmp?

How do we automatically cleanup failed Wordpress uploads that are in /tmp ? Say delete everything that is 3+ days old.
0
votes
0answers
139 views

Why is $_POST Empty in Profile Edit Admin?

This is a very odd problem - post data seems to be empty in the profile editing page of admin. Here is my code: http://pastebin.com/3ejg8P99 What causes this? Is there some "safety" step I've missed ...
0
votes
0answers
199 views

Can't access my wp admin

I have a wp website.. i love it asit's easy to update. the website is still live and is working fine but i went to use the wp admin lastnight and for some reason it suddenly won't let me access the wp ...
0
votes
0answers
21 views

I need to display a joomla table into a wordpress site

I need to display a database that is made in joomla, into a wordpress site. I tried to import CSV file, I get the data but display is wrong. I want to see the database in wordpress the same way I ...
0
votes
0answers
59 views

Unregister default admin styles from specific admin page

I'm trying the following code in theme's function.php: function mypage_remove_scripts() { wp_deregister_style( 'wp-admin' ); } add_action( 'mypage', 'mypage_remove_scripts' ); But that doesn't ...
-1
votes
0answers
8 views

Reset Wordpress Admin Url

https://blackhaat.com is my blog. I recently installed UserUltra and setup a login page using it. To do this, there was a shortcode to be put on a blank page. I did the same. Now, when my site was ...
-2
votes
0answers
10 views

WP Polls - Showing 'Create a Poll' in front end

I am using the WP-Polls plugin to add a polling system to my site. This pausing usually lets the user create a poll through the backend however I want to let the users create a poll from the front ...