Hello,
I would like to use a theme that shows in slide form the last articles of a category.
These themes only recognize basic WordPress categories and do not recognize CPT categories.
To be able to use these themes, I created categories in WordPress articles and added them to the CPTs that I wanted.
If I go to the archives of these categories, I have my articles.
However, when I activate the theme, it does not find articles.
A priori, I must be able to make appear the articles thanks to pre_get_post.
Could you help me ?
It depends how the Theme reads the Database, what data it's looking for.
If the just look for any post with Taxonomy "Category" then it will return all of them.
Seems your theme restricts the query to Category and Post (native posts).
Then, there is nothing we can change here, instead the theme's support could advise how to include other Custom Post Types in this query.
I could make some tests to confirm this, or you can perform them as well:
1. Register a Custom post Type that supports the native Category Taxonomy manually in your Install.
You can use a tool like hidden link
2. Is this Post Type now queried by the Theme?
If so it means the conflict is with Types alone and then I would need a copy of this Theme, so to debug the issue
If not, then the issue has to be solved by the Theme.
Please can you let me know the outcome of above tests, or/and supply me with a copy of the theme and the steps required to achieve the problem?
Thank you
It is a theme's problem...