Query for post type listing_type
and author ID within your loop:
$args = array(
'post_type' => 'listing_type',
'author' => get_the_author_meta( 'ID' )
);
$listing_post = new WP_Query( $args );
if( $listing_post->have_posts() ){
while( $listing_post->have_posts() ){
$listing_post->the_post();
the_permalink();
}
}
// reset $post global to original value
wp_reset_postdata();
Related Posts:
- Can multiple authors be assigned on a single custom post?
- Getting a list of custom posts by author
- Display Authors Comments on Profile Page
- the_author_posts_link() for authors of custom post types
- Adding %author% in custom post type URL structure?
- Author archive only for custom post type
- Custom loop for custom post type for current author
- Show Custom Post Type by Author
- Adding An Author Tag To Posts Automatically
- Recent comments on author page?
- Get the terms of a custom taxonomy for a specific author in author template
- Prevent author role from editing all posts in custom post type?
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How to fetch custom post by Author?
- WP-Admin edit.php & post.php slowdown after import of 10k users
- Check if author or current user has posts published
- Get Author for Single Post in Custom Post Type
- How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?
- How can I show a custom post type for users in the authors.php file?
- WordPress post count not showing for custom post type author
- How Can I Set the Post Author of a Post I Just Created With PHP?
- Custom Post Type and Labels
- Filter post by current 2 differents users id
- How to only show posts assigned to current user, only in certain post types
- get_attached_media() on author page not working
- Permit users with author role to edit a custom post type
- URL rewrite add author as base
- Edit the author of custom post type
- How to restrict author to only access one custom post type ?
- How to show featured image block in custom post type for Author?
- Author posts not appearing for custom post type
- Display an authors post on a single page only when they are logged in
- Select other roles as custom post authors
- post body class for current user only if they are the post author
- Restrict category access to specific users/groups. Author always has access
- Display latest posts of author in a custom post type
- Custom post type title of each author in his own post
- get post count for related author
- Display author box on just certain category posts?
- Display custom post counts for author , not default posts
- Use Author Ids or Names to echo different output inside loop
- Creating an option for writing a post without an author attribution for a group blog on WordPress
- Showing only posts from the current user who is logged in?
- “Author” custom post type
- how to display author name in custom post type
- Limit custom post type to the authors only on front-end!
- How do I get all authors posts of a custom post type outside loop
- Why is wp_list_authors not picking up Authors from CPT’s?
- Need to display author’s email id in the “Edit post” field in wp dashboard. How do I do this?
- Delete Post by User
- How to make id user can be view content
- Display posts on parent post if author coincides
- Author archive custom posts only?
- Set a static page as a user profile page?
- I want to link an author to everything from any post type that they publish on the website
- Best approach to allow front-end display of posts’ reviewers?
- Get author image for posts in loop on custom type posts page
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Custom Post Type Author Array Problem
- Show a custom field instead of username in the backend author area
- Custom Post Type supports author
- Author template – separate custom post type by custom taxonomy term for $curauth
- How is get_the_author connected to a custom post type?
- How to display Author Profile based on Custom field value
- how to show Author post type count
- Emailing Authors only when a CUSTOM POST TYPE post is published- not when edited later [duplicate]
- Add category base to url in custom post type/taxonomy
- WordPress Custom Post Types with a page as a parent?
- Page is defaulting to archive page and not designated template
- Removing parent slug from URL on custom post type
- Exclude post_type from admin comments_list
- Remove POST_TYPE from custom post type permalink
- Redirect a page based on last word in slug
- Custom post types and permalink
- Custom post types, taxonomies, and permalinks
- How to make sure content doesn’t display if selection is empty
- Add tag to a custom post type doesn’t change the total of custom post type in backend
- Index page with the same id as the slug
- How to display error message in password protected form using ajax jQuery?
- Custom post listing page layout of custom post type
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- Order posts by 2 custom fields and if one custom field is zero orderby another custom field
- Reworking function for counting custom post type posts count
- Archieve.php not loading for custom post type
- Page listing Custom Posts
- Dynamically insert an article at the top of a taxonomy archive – or?
- Custom page for editing custom post type on frontend based on url
- Sum and count of custom field values
- Use different post formats on different post types
- How to display custom post type only on a certain page?
- Custom post type post in custom menu
- Does “Custom Post Type” can have page hierarhy option?
- custom taxonomy pagination 404 error
- ACF Pro Accessing fields on a Custom Post Type
- How do I change the visible tables in the CPT dashboard?
- I can not call the categories of custom post type
- How do display gallery embedded to the custom post type
- Trying to access custom post redirects to home page
- Looping taxonomy in taxonomy?
- Archive Page Pagination not working