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
859 views

Change column of row action (Quick Edit) links in WP_List_Table

Is it possible to move the "Edit | Quick Edit | Trash", etc... links (A/K/A "Quick Edit links") from a table generated by a custom post type registration into a different column other than the "Title" ...
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 ...
0
votes
2answers
58 views

If statement for admin page

How should I write if condition to display specific code only when I enter this page: /wordpress/wp-admin/post-new.php?post_type=slideshow This is what i was trying to get ;) Thanks to Krzysiek! ...
2
votes
1answer
2k views

Admin Post Update Redirection to Posts Screen

Is there a hook I can use that when a post is created or updated it goes back to the list/table page of all the posts. If it is also possible to target a post type as well that would be cracking. It'...
0
votes
1answer
231 views

Collection of fields in a single post

It's possible to create custom post types and custom fields but, is it possible to create custom field collections? That is, groups of different fields as an entity (a dropdown, two images and a ...
7
votes
3answers
408 views

How can I target WordPress 3.8 new interface MP6 with CSS?

When MP6 was a plugin in WordPress 3.6+ it changes the body class of the admin and added an "admin-mp6" class which helps me to style my plugin accordingly. Now with the latest Alpha of WordPress 3.8 ...
0
votes
1answer
134 views

Username was changed to “admin”

I suspect a hacking incident in my wordpress site. My username was changed to "admin". How to revert back my username safely? Thanks
0
votes
0answers
111 views

Disable wp-admin log on lightbox overlay

When you're logged into the WordPress admin, and your session times out, a lightbox overlay pops up requiring you to log back in. This is causing a problem for me. If we leave a tab open overnight, ...
0
votes
0answers
21 views

site admin for subscribers

I want a very basic page for my subscribers to change their passwords and profile. No Wordpress news etc. Is is possible to strip the admin section of subscribers and leave the absolutely bare ...
0
votes
1answer
62 views

Custom admin menu for a selection of pages

I have a site with 30-35 pages. The customer only needs to edit 3 of them on a regular basis. So to make it simpler and easier for them in the backend, I would like to create a new admin menu item and ...
0
votes
0answers
31 views

Custom styles and scripts for specific admin screen

Which is the best way to load different scripts and/or styles for different admin pages? For example: edit.php (a style, a script) edit.php?post_type=page (another style, another script) edit.php?...
2
votes
2answers
58 views

How to find out if an wp-admin action edited a file?

I want to create a small plugin to automatically purge the APC opcode cache after specific actions in the Wordpress admin interface. This is necessary if e.g. apc.stat is set to 0, as a change to a ...
2
votes
1answer
2k views

add_submenu_page set for multiple roles [duplicate]

I have this string: add_submenu_page(basename(__file__), 'Events', 'Colloqui', 'subscriber', 'BW_events', 'BW_events'); How can I let this be available to editor(s) too? I tried ... ...
0
votes
1answer
275 views

Sortable column containing numeric values for Custom Post Type at WordPress Backend

I have custom post type named Cars. By default, it is sorted by post publishing date, which is very unusual. WordPress should have provided option to sort columns containing numeric values. Alas, ...
0
votes
2answers
65 views

Admin Dashboard - Recent Comments source

I need to see the source file for the admin dashboard widget that shows recent comments, can anyone point me to the exact php file that does this? I can't find it anywhere on the codex or in google ...
0
votes
3answers
3k views

How to remove/hide Yoast's “SEO” tab in admin panel?

I don't want this shown to members who register for my website as it's confusing and irrelevant for them. I assume some code added to functions.php will do the trick but what code?
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 ...
0
votes
2answers
844 views

Customizing WordPress Admin - How to Change the Avatar size

I am in the process of customizing the back-end of WordPress for a new product that we will be releasing. I am trying to figure out what the best way is to update the avatar size that shows up in the ...
0
votes
2answers
187 views

Clear custom field when new tag is added

When adding a new tag in the admin interface, WordPress doesn't reload the page. It appears to send the data with an ajax call, clear the fields and add the tag to the list on the right. I am working ...
0
votes
1answer
60 views

Pages redirect me to the homepage

I am the admin of a multi Wordpress websites that are controlled from one Administration page. After updating to the latest version of Wordpress, 3.6.1, all of the pages are redirected to the to the ...
1
vote
1answer
551 views

All Users > User List > Update User Meta Field Inline

I am asking user few questions at the time of registration with checkboxes like In Registration form [] I am blah blah [] I am blan blah [] I am blah blah Now user will come for approval in admin ...
5
votes
1answer
682 views

Enabling jquery when dragging available widget to sidebar area

So I have some widgets that are using some custom jquery on the backend. I can get the widget forms to call the jquery files but only AFTER I've saved the widget and reloaded the page. Is there ...
0
votes
1answer
39 views

Add a link to the Admin menu

I would like to add 2 lines to the POSTS menu in the wordpress admin: Published and Scheduled. I would also like to add a section to the media menu for Unattached media. How would I go about doing ...
0
votes
1answer
320 views

Can't work out why widget contents disappear from admin

everytime I make a change to any widgets in admin they disappear - sometime just from admin, sometimes from the frontend and sometimes both. I get them back by adding update_option( 'sidebars_widgets'...
0
votes
1answer
67 views

Display site admin profile fields in header.php

I am working on a multisite setup and Im trying to display some meta from the site owner's profile. I tried the following code but it is echoing the super admin's meta instead of the current site ...
1
vote
1answer
499 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 ...
-1
votes
1answer
288 views

Where to set individual blog quotas?

I am administering a self-hosted, multi-site Wordpress 3.1.x site with a few hundred sites. 10 users have requested to have their quotas increased to 1GB. I can't do it for everyone, but I would ...
1
vote
1answer
119 views

Adding html format on tinymce visual editor

Need to add more html format tag to TinyMCE Editor as visualized below Using Wordpress 3.6.1 Can't found any good example/guide for these modification. Another solution welcome. Thanks & ...
0
votes
1answer
438 views

How to change color of registered widget areas in admin?

Right now they are all gray. How to change the color? I mean, how to add a class or id to the registered widget area that are shown in the admin area? This is how you register the admin areas in my ...
0
votes
1answer
111 views

How to make the first widget box to be closed instead of open in admin

When I access the Widget page in admin the first widget box is always opened no matter if I closed it in previous session or not. How to make it closed and not open? E.g. in this image you can see ...
1
vote
0answers
298 views

category doesn't showing up in admin

After WordPress update certain of my categories doesn't showing up in admin,but it's ok in the DB, and it display in the parent dropdown, how i can fix this please
0
votes
0answers
128 views

Change the Author name to a custom field?

In my wordpress backend, is there a way to change the author metabox to display a custom field instead of the user's display_name or username? For example, all our users have a custom field '...
0
votes
1answer
368 views

Wp ajax not working from “current_screen” admin hook

I have a class that is doing some backend work ( enqueening css and js files creating metaboxes, registering ajax hooks etc...) Everything works fine when I just include the files. The problem is ...
0
votes
2answers
548 views

How To Make Iris Color Picker Showed Up Over Form and Text?

Is there a way to make wordpress default color picker (iris) showed up over form and text using wordpress api? Its inline display messing up the administration page of my plugin each time the color ...
0
votes
1answer
45 views

Data won't save if metabox within conditional in admin. What am I missing?

What is wrong with this setup? Metaboxes inside this conditional will not get saved. // Only shows for the admin front-page assigned page. $front_page_id = get_option( 'page_on_front' ); $post_id = (...
0
votes
2answers
167 views

How to use is_admin in page content?

I'm trying to add a "Click here to edit this page" button in some Wordpress pages. This button should only appear if the user is admin, this is the code that should appear if the user is admin: if ( ...
2
votes
2answers
8k views

How do I get the current edit page ID in the admin?

Most solutions I found are for front-end use. This is for a plugin, so the all activity is in the back-end. How do I get the page ID that's being currently use(edited) in the admin? Note I'm out of ...
4
votes
4answers
178 views

Create un-removeable user

How can I add a Wordpress user that can't be deleted (at all cost, not even by a superadmin) with some code? I can't find anything on Google about such a god-account. This morning a client of our ...
8
votes
2answers
1k views

Merge two custom post types into one admin page?

I am building a site with 4 custom post types. To make things easier for our client/admin, I'm wondering if there is a way to merge those custom post types into one list in the backend? Like if you ...
1
vote
1answer
289 views

My WordPress Admin looks messed up when I edit posts or pages

And I don't know how it happened. Here's a screenshot - anyone have any ideas for me? Thanks!! My active plugins: Add From Server Akismet BackupBuddy Collapse-O-Matic Contact Form 7 ...
0
votes
1answer
46 views

Adding pages to the Admin panel

Instead of going to Pages on the Admin panel nav bar on the left to see all the pages that are created. I would Like the pages to show up on the Admin panel nav bar it self. Like a custom post type. ...
0
votes
2answers
257 views

Customise the add media pop-up to include rel attribute option

So many jQuery light boxes these days use the 'rel' attribute to identify objects that should be targeted. Unfortunately when it comes to Wordpress, when inserting a thumbnail/link, to add a rel ...
0
votes
0answers
61 views

Customize Admin Section

I am custimizing WordPress in order to use it as CMS. This CMS system will have multiple user accounts at different levels of previlidges and autherization. Now, when it comes to using the admin ...
0
votes
1answer
1k views

How to get a value from wp_dropdown_user?

In the admin dashboard, I want to show a list of all users (done so far by wp_dropdown_users) and then take the selected userID and use it as a parameter in another function. :) Sounds easy eh. I've ...
0
votes
0answers
47 views

How to add a menu to wp admin area?

I'm looking for a way to add a menu to wordpress admin area,so admin can publish and edit posts on a specific category through this menu(just like POSTS menu we already have inside wp admin). This ...
0
votes
1answer
290 views

Help with filter for wp_notify_moderator()

I have a case where I have multiple Administrators. Not all of them want to be notified per email when there was a comment posted or is held for moderation. The Settings > Discussion page only ...
1
vote
1answer
1k views

Add number new posts (post_status = pending) to administration menu [duplicate]

What I have: A custom post type. A front end posting form which creates new posts with post_status = pending until they are manually reviewed and status changed to published. What I need: While I can ...
0
votes
2answers
1k views

Add filter-by-tag in the all posts admin console page

By default the 'all posts' page contains the following filters by date by category Is there a way I can add 'by tags' as well ?
3
votes
1answer
634 views

Make Theme automatically choose default nav menu

I have been developing a WordPress theme. I want to be able to, once activated, look to see if there is already a menu created in the backend. If it exists then choose it and use as the primary menu, ...
0
votes
2answers
219 views

Hide metabox dependant on page template chosen

I'm using the following JQuery script from this answer to toggle the display of metaboxes dependant on the Page Template selected. The example below shows the featured image metabox when the default ...