[Resolved] Create slider post filtering by authors with plugin co authors plus
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Hello i'm trying to create a slider post views filtering by authors
i use this option "Author's username is set by the View shortcode attribute: author" but when i use the shortcode and put the name of the author, he says me no items found. i think there a problem with the plugin co authors plus byt i don't know why
No it's not that i want to filtering post by authors but when i use [wpv-view name="xxx" author="xxx"] he found no items als the auhor has post and i think it's because there are many authors by post
To further debug this issue, I need to request temporary access (WP-Admin and FTP Login info) to your site. Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
✙ Please add the Link to the [View] Edit Screen and [Page] Edit Screen where you have inserted this view.
I have thoroughly checked your site and found that the problem is with Co-Authors plus plugin. I have disabled the Co Authors Plus plugin and created a test View, you can check here that it is working as expected: hidden link
I will install Co-Authors Plus plugin at my local site to further check this issue and will get back to you soon with an update.
I have checked the Co Authors Plus plugin at my local site and it is working perfectly fine.
I have re-activated the Co Authors Plus plugin on your site and re-added the Query filters in your view and now it is working fine, please check here: hidden link
Yes it's works only if the author is put in first-one. if a create a post with 2 authors and i put Bruno Lebrun in the second place, he doesn't appear in the loop. I would like to have all posts where an authors is selected
I have checked it and you are correct that post is not found if the author is other than “Bruno Lebrun”. This even occurs when we are not using Co-Authors plugin, but all in all its logical thing here as we are passing one author name through the View’s shortcode attribute:
- View runs and try to find if the post is assigned to author="blebrun" >> it shows result.
- And if View finds a post that is not assigned to author "blebrun" >> it shows no results and hence the 2nd author checking is not performed as the results are already provided “none” to the View.
This is why when we move author="blebrun" in first place it works and when we move it second place it does not work. This is also true when we are not using plugin and we select only one author for a post. So this is logical limit and due to the shortcode attribute we are passing specifically (author="blebrun").
No we don't have any solution for this. May be possible to modify this using custom coding, we have some recommended list of service providers here who can help in such cases for you: https://toolset.com/consultant/
I found a solution but I would need your help because there are 2-3 things which I do not understand very well.
If I create 3 custom post type "Author", "Articles" and " Author-Articles " to create many to many relationship. I do not how see creating a view by filtering the results with the name of the custom post type. Example I have an author Bruno Lebrun and I would want to show quite his fields, all the fields child etc.... And rather I would like to have that created that a view just with the name of the author to change. It is possible?
Please kindly open a new ticket for 2nd issue related to Custom post types and Many to Many relationship. This will help other users with similar problems to find solutions when searching the forum, I am not allowed to handle multiple issues in the same ticket as per support policy. https://toolset.com/toolset-support-policy/