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
- Display all posts in a custom post type, grouped by a custom taxonomy
- Custom post type for ‘staff’ versus using wordpress user profiles?
- WP_Query() show posts that end later than today
- How to check if a WP_Query has data
- Sorting a query by custom field date
- Enforcing canonical URLs with multiple custom post types
- Retrieving 3 latest post from each of 5 different custom post types
- how to group custom post type posts by custom taxonomy terms
- Show Custom Post Type by Author
- How to sort CPT by custom meta value (date), and return posts month by month
- Displaying Post Title on Post Edit page?
- Wp-query causing problems with the_content();
- Multiple Archive Pages for Custom Post Types AND Taxonomies
- Exclude current post when getting related post on custom post type and taxonomy
- Display Posts of a Category in Alphabetical Order (Custom Post Type)
- Ordering Custom Post Types with WP_Query
- Adding menu_order to CPT admin page
- Filter posts with meta_query NOT IN where value has multiple values
- Conditional to modify query results
- Get Author for Single Post in Custom Post Type
- WP_Query is printing out only one post when posts_per_page is set to multiple
- WP Query to displaying date and posts for that date?
- Use WP_Query() to Output the 4th to 6th Most Recent Posts of a Custom Post Type
- Get all Posts If has same custom field values in Posts
- Filter by custom taxonomy slug on a custom post type
- Sorting multiple custom post types without a meta key/value pair by sort order
- Admin not showing all custom post type posts and views not working
- Display custom post type from dynamic custom field
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- Custom-Posttype & Custom Taxonomy WP_Query
- orderby rand is not working for a custom post types
- Stuck in Order by more then one
- Display featured image from one CPT within another CPT query
- Admin Filter – Add Post Type Description on Post Type Page
- Why is my category template ignoring post type?
- pagination not working for category.php (custom post types in categories)
- Query based on custom fields start and end date
- Retrieve custom post types by custom taxonomies with WP_Query
- It’s possible to hide body copy box for a custom post type?
- Add ‘last’ class to second post in featured post loop
- Different Limit number of post on different archive page
- DIsplaying URL of custom field in last post of certain taxonomy && post type
- How can i display movies in profile page, added by an user?
- Using page slug in wp_query
- Custom taxonomy wp_query woes.
- Trouble with pagination
- Assign post type to many users
- Different options per post type in WP_Query
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- List categories, subcategories and posts from custom taxonomy and custom post type
- Custom Post type loop with ACF not displaying properly
- Sort results without WP_QUERY?
- Using Wp_Query, Json to add Highcharts series data
- Display the current post in browser as the first post in a loop (for a slideshow)
- How to query Posts from a custom post type which contains a custom taxonomy?
- Questions regarding add_meta_box()
- filter the_content, custom post type, and wp_query
- Get_the_term_list inexplicably adds values in foreach
- Single parent post lists child posts with pagination
- custom taxonomy pagination 404 error
- wp_query can’t get max_num_pages in custom post type
- Custom Form / Search with Custom Post Type Data
- Query to show post current day
- Using ACF values in nested WP queries for CPT with date values in the past
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- How do I insert a custom post type query after a certain number of recent posts and then resume recent posts?
- WP_Query for custom taxonomies showing posts from non-specified terms?
- Restrict Custom Post Type to One Item
- how to display new private message to users?
- Make pagination work as a carousel (custom query)
- subtracting the current post form then whole loop, which is generating all CPT titles
- Author archive custom posts only?
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Imported Content Doesnt Show Up On Frontend
- Loop carousel slider in wordpress
- Manually build WP_Query
- Loop with Custom Post Type and Taxonomies
- How to load more custom type posts through AJAX & LOAD MORE POSTS button
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- How to make an admin create/edit post page to look like taxonomy page?
- 404 on Pages for Custom Post Type & Query_Posts
- admin search of pages returns custom post types
- Is it possible to make is_category() recursive?
- Get X posts with the same terms as the current post (custom post type and custom taxonomy)
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?
- How do I get parameters from the URL?