Solved.
Had a custom author drop down function that causes a large query loop.
add_filter('wp_dropdown_users', 'cust_dropdown_users');
function cust_dropdown_users($output)
{
$users = get_users();
$output = "<select id=\"post_author_override\" name=\"post_author_override\" class=\"\">";
//Leave the admin in the list
$output .= "<option value=\"1\">Admin</option>";
foreach ($users as $user) {
$sel = ($GLOBALS['post']->post_author == $user->ID) ? "selected='selected'" : '';
$output .= '<option value="' . $user->ID . '"' . $sel . '>' . $user->user_login . ' (' . $user->user_email . ')</option>';
}
$output .= "</select>";
return $output;
}
Now trying to find a better way to select different authors (feel free to suggest!).
Related Posts:
- How to check if I’m on a custom post type archive in the admin area
- Unable to retrieve any posts of CPT in wp-admin
- How to restrict author to only access one custom post type ?
- Custom WP_Query doesn’t display all posts
- Query within a foreach within a query (queryception)
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)
- Sort custom post column by generated value?
- How do I get all authors posts of a custom post type outside loop
- Custom Post Type Query by user id
- Display posts on parent post if author coincides
- Show a custom field instead of username in the backend author area
- how to show Author post type count
- Admin notice not displaying
- Can’t get order_by meta_value_num to work properly
- How can i skip same post from taxonomy term?
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- WP_Query | ‘post_type’ doesn’t work
- How to connect two custom post types with nested loops
- Filter by custom taxonomy slug on a custom post type
- Custom Post type and Custom Field WP_Query
- wpdb custom post_type problem
- Pagination on category page with custom post types
- Display multiple custom post types and sort them chronological by one of their fields
- Using DISTINCT in wp_query
- Using global $post; to get featured image for custom post via WP_Query
- Query custom post type in the loop
- How to add pagination to wp_query [duplicate]
- Related posts in all categories of current post (custom post types)
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- Loop through Custom Post Type, and then show children within each iteration
- How do increase the amount of links shown down the left in the admin menu?
- submenu item edit a specific post
- Remove rows in the manage post/page view
- Why does querying on post_tags (which has been applied to custom post types) only return posts?
- Sorting multiple custom post types without a meta key/value pair by sort order
- Including Custom Meta with posts_where query
- Very Slow Page – How to Optimize # of Queries?
- orderby in custom WP Query does not work
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Can I create a loop with multiple post types and specify different $args for each post type?
- How to show CPTs in term archive
- Query custom post type by category slug
- Combining sorted and random CPT
- How to add post_type=value when editing that post type in the WordPress admin?
- Display CPT posts based on specific taxonomy
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- How to only show posts assigned to current user, only in certain post types
- Can’t query tag and post_type at the same time
- Setting proper query for multiple custom admin filters
- shortcode to show custom post types by category
- Ajax Check Post Status
- WP_Query: include custom post type only with specific meta value
- Pagination on a custom post type loop
- showing custom post types of a certain category only
- Display post meta on edit page in admin
- WP_Query orderby modified to include custom meta changes
- WordPress custom loop filter by meta_key and value with serialize data
- Returning a list of custom post types excluding those without a specific meta_value
- query private custom post type
- Want to Add Custom Fields for Uploading video to WordPress Users from front end
- Display custom post type from dynamic custom field
- Query/list all terms and their custom post count
- Linking to the most recent post in a Custom Post Type
- how to delete all users and posts based on ‘user_meta’?
- Modify action buttons for custom post type
- get_attached_media() on author page not working
- How to make sure content doesn’t display if selection is empty
- Filtering WP_Query Dynamically on the Front-End
- Show one item per category of a custom post type
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Storing posts from query and accessing later via AJAX call
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Genesis filterable portfolio isotope [closed]
- Query custom post type with tags
- wp_query check if integer exists in custom field’s array
- convert custom query to wp_query
- Wrong request query on cpt and tax
- Previous/Next Link by Meta Value in CPT
- Admin Pointers on a custom post type
- Show custom post type filtered by category
- Randomize Posts. Skip the first post in ascending order
- Creating a navigation menu of all posts of a custom post type and their children posts?
- Get custom taxonomies from multiple posts
- Pagination for Custom Taxonomy Page [duplicate]
- Filtering WP_Query
- Search / Filter posts on Title/Content OR Tags
- Pagination on with query_posts in custom post type template
- Wp_query: sort by PHP variable
- WP_Query most viewed posts, in multiple Post Types, last 30 days, excluding a specific taxonomy term
- Roles for Custom Post Types
- Custom-Posttype & Custom Taxonomy WP_Query
- Crafting WP_Query array, sort by date
- Custom loop with multiple taxonomy queries
- Add a button or image button that calls wp functions in the wp-admin
- Return one unique custom post type result when it shares a custom taxonomy in WP_QUERY?
- Converting the_content string to an array?
- forming WP_Query for posts of all post types but from specific categories