Tell us what you are trying to do?
I have a many-to-many relationship set up between a Custom Post (Essay) and its Author (a custom field of the post). A link on the Author of a post takes you to the authors page with a list of essays by that author. This works. But I would like to have a sidebar widget with a View showing other posts or essays by the same author of the current post displayed. I tried making a View that filters the author-essay relationship, but this would only show the author of the displayed essay, not the list of other essays. I tried the Loop Wizard in this View to display another View of an essay list, but this doesn't work.
Is there any documentation that you are following?
Looking at documentation on Relationships, but what I need is a relationship of a relationship. In other words, I need the sidebar widget to display the an essay/author/essay relationship. Is there an easier way?
Hello. Thank you for contacting the Toolset support.
Well - As I understand, you want to display the sidebar widget with view's and that view should show all the other posts that belongs to author of currently displayed post?
If yes - this is possible. Could you please share problem URL where you want to display the Essay that belongs to author of currently displayed post. Please setup a test case example and expected result so I can give you solution you are looking for.
*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
1)
I've created this view and added it with view's widget in sidebar:
=> hidden link
- For this view, I've set the content to display "Author" post and filter by post relationship with related post
2)
Inside the above view's loop output section, I've added another view as given under:
=> hidden link
- For this view, I've set the content to display "Essay" posts and filter by post relationship with view's shortcode attribute that is passed as and added following view to parent view of "Author" as described in #1.