Hi, I have a book review site with custom posts named All Fiction in those posts are custom fields and standard WordPress fields what I want to do is at the bottom of any book review show a list of all the authors' other books along with thumbnails of the other books. The Book Title is the Post Title and the author name is a custom field named Author (the slug is writer). my question is how do I pull the other books from the custom posts by the same author in the All Fiction Posts onto the currently viewed posts page
I have been through views and relationships and can't find anything that helps
if that does not help, please feel free to share problem URL and admin access details with your expected result.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
With the single post content template for your post type "All Fiction" I've added the view block "book-author-posts":
- hidden link
You can design the view's loop as required.
And with the "Custom code" section offered by Toolset, I've added the following "wpv_filter_query" hook in order to filter the posts with current post's custom field value namely "author":