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

Admin list: sort by default by custom column

I created a custom column like this: if( (isset($_GET['post_type'])) AND ($_GET['post_type']=="sales") ) { function inventory_column($columns) { ...
1
vote
1answer
100 views

How to set CORS header?

I have been accessing media images in a Ruby on Rails application via ajax from wordpress 4.2.4. I am getting following error while accessing the image via ajax. XMLHttpRequest cannot load ...
0
votes
0answers
63 views

How can I allow users to set term_order for custom taxonomy in admin?

I am able to sort a list of (custom) taxonomy terms on the front-end calling get_the_terms() with the help of the following filter function: /** * Sort custom taxonomy by term_order * * @param ...
0
votes
1answer
266 views

Filters post in admin with dropdown select, custom post type

I'm trying to filter my post in my admin area with a custom filter dropdown. I use this method to make it: http://wordpress.stackexchange.com/a/45447/84541 Here is my code: add_action( ...
0
votes
0answers
23 views

Hide admin menu items for role

I would like to hide the admin menu items 'Posts', 'Pages', 'Tools' etc. for specific custom added roles. But I don't only want to exclude the items from the menu, I also want to make it impossible ...
0
votes
2answers
44 views

How do I hide certain taxonomy boxes from users in admin add post page?

I would like to hide this particular taxonomy box in the admin on the add new post page.
0
votes
0answers
46 views

Site fast when logged in, slow otherwise - How can I determine the cause, workaround or fix the issue?

Details and background The site that I'm working on right now takes 2.8 to 4 minutes to load (this is the initial response from the server, the resource loading time is negligible) when not logged ...
0
votes
2answers
77 views

Include script files for admin submenu page

I created a sub page to "users.php" where I can add a user in a customized way. I used a lot of the code from "user-new.php". However, user-new.php seems to rely on some javascript file to display the ...
0
votes
0answers
27 views

Can you have the users list pre sorted by specific column?

I would like to organise users by date registered every time an admin visits the users page, without having to click again from: http://localhost:8888/wp-admin/users.php I can add the date ...
0
votes
2answers
77 views

Add button in admin columns

I would like to add a button next to the column name in e.g. edit.php admin screen. I have added a printsreen showing where I would like the button to go.. I have searched for available hooks but ...
0
votes
1answer
79 views

Moving Wordpress from host without FTP?

I have a website hosted with service A which do not provide FTP access, and I would like to move it to another host B which provides FTP access. Is there any way to move? Traditional ...
1
vote
0answers
67 views

Filtering *out* a taxonomy from the admin post list

I've got a custom post type 'Speakers' that, after some time, are added to a custom 'archive' taxonomy so that they can be sorted into different sections of the site. I'd like a way to hide any ...
1
vote
0answers
13 views

Locked out of admin and some pictures don't show after failed SSL installation

in a bit of a pickle here as I'm not sure what has caused the issue so hopefully somebody here can help me. So I purchased the SSL certificate and but the folder with the files in onto my website. I ...
0
votes
3answers
106 views

How can I allow a custom taxonomy for certain roles?

Im trying to only show a taxonomy for the editor and administrator but I haven't found a solution on SO or here. The closest thing I was able to find was How do I remove a taxonomy from Wordpress? on ...
0
votes
0answers
26 views

How to change admin page template?

I am trying to change the template for the admin page. I'm trying to remove the admin bar and replace it with the menu from the front end. Thanks
0
votes
0answers
12 views

Posting from WP admin to another WP blog

I have 10 WP websites. One of them, or it can be any of them, but for simplicity , let's say that... one of them have a content (custom content type) that I want to post on 2 or 3 from others (the ...
0
votes
0answers
27 views

Custom post type doesn't display on admin list

I have a custom post type, list, with 86 posts, none of which show up on the list for its admin page. It just says "List not found". But when I choose "October 2015" from the filter dropdown, all ...
0
votes
1answer
26 views

Posts in Admin only display 1 Post instead of all

When I run wp-admin/edit.php I normally should get a list of all Posts. WordPress 4.3.1 running Avada Child theme. But I only get the last Post in the list. All (8) | Published (7) | Draft (1) As ...
0
votes
1answer
41 views

How do I check if the user is a site owner in a network?

I was accidentally using is_admin() to check if a user was an admin and found out that function is not checking that. So I looked for another one and I found is_super_admin() but that checks if you ...
2
votes
1answer
44 views

how to only add a top-level admin menu without it creating a sub-level-menu

Here is a the code snippet: add_action( 'admin_menu', 'travel_site' ); function travel_site(){ add_menu_page( 'Travel Site Menu', 'Travel Site', 'manage_options', 'travel-site-menu', ...
0
votes
0answers
11 views

Turn on certain plugin options after plugin install

I'm having issues in finding a way to auto-activate certain plugin settings on plugin activation. So for example , after you install the plugin "Option 1", "Option 2" will be automaticly ON. Here's ...
0
votes
1answer
32 views

Echo string in admin panel footer beside version no

can anyone help me out about how to showing something lets say "Hello World" beside the version no that shows up in the wp admin dashboard footer? I've already tried the action named admin_footer and ...
0
votes
1answer
84 views

How to change the title attribute for the WP logo image on wp-login.php

This is how I change the url for the WP logo on the wp-login.php page: function my_login_url() { $url = esc_url( home_url() ); return ( $url ); } add_filter('login_headerurl', ...
0
votes
0answers
24 views

How do I control the list of Pages an author can see?

Using one of the role managers,I enabled Authors to edit/create Pages). The edit/create pages screen shows a tree of all the pages in the system. Is there a way for (beside going into the core) To ...
0
votes
2answers
19 views

How to switch between two forms for visitor once admin logged in?

I have two forms (form1 and form2). Once the admin is logged in anywhere, all visitors (not logged in) to my WordPress site should see form1 on the page, otherwise they should see form2. I am using ...
1
vote
0answers
218 views

Filtering posts list table

My post_type is 'part'. I created a custom field 'Images' this way (simply added new columns to the array): add_filter( 'manage_edit-part_columns', 'my_columns_filter' ); function my_columns_filter( ...
0
votes
1answer
42 views

Hide post title input for all roles except admin

How would this function need to be updated to exclude the admin? add_action('admin_init', 'wpse_110427_hide_title'); function wpse_110427_hide_title() { if (current_user_can('subscriber')) ...
0
votes
1answer
32 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
2answers
130 views

Making menu link open in new tab?

I'm trying to add a top level menu to the left sidebar of the WordPress admin panel. Here's the code I currently have: add_action( 'admin_menu', 'linked_url' ); function linked_url() { ...
0
votes
0answers
32 views

Next and previous page buttons in wp-admin don't work

I have a problem I have never seen before. For some reason the next and previous page buttons in my wp-admin are messed up. Everything is working just fine on the website except for those buttons. The ...
1
vote
1answer
247 views

Actions that Run on Admin Edit Page Load After Posts Are Queried

What actions run on the edit page in the admin section of a post type? i.e. xyz.com/wp-admin/edit.php or xyz.com/wp-admin/edit.php?post_type=shop_order (custom post type) I need to run a function ...
0
votes
1answer
108 views

Set a default category - if the user didn't select one- before creating a post

Is there some option hook to set a default category for a custom_post_type when the user didn't choose any ? For example in RoR it's very simple - by using before_save filter you can set whatever ...
0
votes
0answers
11 views

Custom html for uploaded images [duplicate]

I'd like to make life easier for the guy who is going to upload posts on a wordpress site. The default html that is created upon upload doesn't work well with the design of the site, so I'd like to ...
2
votes
2answers
78 views

How do I remove the entire left nav bar in admin for certain level users?

I know how to remove items from the left nav bar (hook into admin_menu and do global $menu; unset( $menu[ __( "Posts" ) ] ); for example). But it still shows a left nav bar (with nothing on it). I ...
1
vote
2answers
37 views

Assuming a theme is properly secured, how save is the WordPress admin?

Regarding point 3 in this (awesome) article on mikejolley.com. It states: Never trust user input, even that provided by admin users, because: You have no way of knowing the user is whom ...
0
votes
1answer
104 views

Admin mode breaks with subdomains in latest WP

This is the symptom/issue - I am using a subdomain, and latest Wordpress Rev, as well as PHP on server. When signed in to my site as admin, if I choose admin/customize, I get a new signon screen ...
0
votes
0answers
130 views

Add post meta to search in admin of a custom post type

I am using woocommerce in a wordpress theme and I can't get the search functionality in the admin to include a meta value of 'shop_order' custom posts type. I've been trying to modify the following ...
0
votes
1answer
45 views

How to restrict wp-admin and prevent upload errors

I need to restrict wp-admin access to all users who cant manage_options and still let users add media on the front end. function wpse_11244_restrict_admin() { if ( ! current_user_can( ...
0
votes
1answer
34 views

Why doesn't the Media Browser use thumbnail sized images?

The folks updating our site oft complained about the media browser being very slow, so I went to have a look. And, on the first load of the page, and when doing a search within the media browser, its ...
1
vote
1answer
110 views

How to send little data between admin pages of my plugin?

I have a plugin that creates two pages in admin menu: /wp-admin/admin.php?page=list-records /wp-admin/admin.php?page=add-edit-record I'm regularly using add-edit-record to to create some sort of ...
0
votes
1answer
58 views

Strange menu behaviour wordpress admin [duplicate]

I am able to get logged into my site, but when I hover over some of the menu options, the links behave in an odd manner and some of the link text disappears etc, some of them sit on top of each other: ...
0
votes
1answer
39 views

How much traffic is real traffic?

I have my own domain with my own wordpress installation at http://blog.demofox.org I have both "Count Per Day" and "Jetpack Site Stats" installed and they are usually pretty close in agreement about ...
0
votes
0answers
19 views

Single Column Layout admin

im trying to force a single column layout for my users in the product post page in the admin. Ive tried so many methods like: function so_screen_layout_columns( $columns ) { $columns['post'] = ...
1
vote
0answers
103 views

Admin sidebar element buggy on hover with Google Chrome 45 [duplicate]

I'm using OSX 10.10 Google Chrome Version 45.0.2454.85 (64-bit) And When I go through the sidebar elements on my Wordpress site it looks like this: Is this a known bug?. On Firefox and Safari ...
0
votes
1answer
75 views

Is there a filter to remove or replace the post title's link in the admin post table view (edit.php)?

I thought I could use the filter the_title. But that let's you change the text only. I would like to disable the title link for specific pages. So the title text would stay the same, but the user ...
0
votes
0answers
24 views

Different role for free and pro users in wordpress without using bbpress

I have the condition where all users are created by admin and user name and password given to them. When the created user login than pro user can create post, upload files, edit their profile but the ...
0
votes
0answers
33 views

Style of login page lost after wordpress upgrade

Site has been launched for a long time and automatically upgrade was enable . Recently I found some of the sites lost the style to the login page. Not only one site, several of my sites have the same ...
0
votes
1answer
32 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
238 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 ...
1
vote
2answers
210 views

How to remove duplicate sub-menu name for top level menu items in a plugin?

I have written a custom plugin for wordpress. Once I add a sub-menu to the plugin I get a double entry for the top level item: I would like to disable the second "TopLevel" menu item so it would ...