I am trying to:
We are using a plugin 'Download Manager' which gives us 'download' post types, and 'download category' taxonomies.
We've created an archive layout using Toolset for the download category and it's working well, except for one of the taxonomies.
The category causing problems is called 'Charity'. In downloads, I have 8 items that have the 'Charity' taxonomy.
There's one download that has multiple 'download categories' assigned, and if I remove the 'Charity' category on this one, then the display is fine. But what's strange is the other category archive pages show just fine, even with this download that is assigned multiple categories.
Link to a page where the issue can be seen:
I can't provide a link as this is a closed membership site. Screenshots are provided instead.
I expected to see: The page title (taxonomy name) to only show the name of the archive page being shown and only posts assigned to that one taxonomy.
Instead, I got: It works fine on all but the one taxonomy, but on this one archive page, the page title shows multiple taxonomies (download categories) and the posts shown are from all the taxonomies instead of just the one.
Here you display the Taxonomy Term's Title: hidden link
Taxonomies, such as categories, are built of Terms, such as "Uncategorized" in the native Taxonomy "Categories"
In this case, you display the term(s) of the Taxonomy.
Then you have 2 Views (not WordPress Archives, as usually recommended for archives) on that Archive Layout which can result in wrong queries.
Suggested would be to add an Archive Cell instead.
However the issue you report is due to the ShortCode in the first Visual Editor Cell of that Layout which basically outputs the Term of the Taxonomy that is assigned to the Post, and since this is applied to an archive, it gets the posts of the term, then all the terms of the post, then displays those.
If you share just one more term with other posts, on that term the same will happen.
Thanks for the response.
Ok If I use [wpv-taxonomy-archive info="name"] in the first cell, this solves the title issue, and now only displays 'Charity' as expected. This does not fix the views though, as they still show multiple records from various categories (taxonomies).
I'm not sure I understand the issue properly. The URL this is on is .../download-category/charity/
So I understood that this means I am using an archive. The layout is set to be used for 'Category Archives' (please note that in this case 'Category' actual refers to wpdm-category, not the built in WordPress category - very poor naming convention from the Download Manager plugin)
In my view, the filter is set:
"Select posts with taxonomy: Categories the same as the page where this View is shown"
I though this means that I'm on the 'download-category' taxonomy page 'charity' which should mean that only posts that have the term 'charity' should display?
Well - could you please share problem URL and access details.
*** 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.