Can you enlightenment us on how the theme’s cloud templates are supposed to work with Custom Post Types + custom taxonomies when filtering, taxonomy navigation and text search with Filter Everything Pro.
My setup simplified:
There is a CPT called ‘Movie’ and it has a custom taxonomy ‘Genres’. I’ve added nav menu item for this Movies page which is not a page, but the theme is configured to use a cloud template for this CPT.
I have added a FEP filter set for movies with filtering by genre and/or text search.
I added the universal shortcode [fe_widget] on this cloud template.
I’m puzzled because in the filter set settings the only configuration combination I got this shortcode to work is Where to filter > Common WordPress pages, All archive pages for this Post Type; And what to filter? > Posts list <<Movies #2>>
Yes, it works… But why cannot I choose to apply the filter to Post types > Movies or Cloud Templates?
Additional detail: I’m using a Flex Block Builder block to view the filtering results.
Hi,
Unfortunately, when it comes to the Filter Everything Pro plugin, we can’t guarantee how it will work. This plugin has not been tested by us, so we can’t confirm whether it is fully compatible with the theme or if it functions as expected.
Regarding how to use Custom Post Types (CPTs) with our theme and how to apply filters using taxonomies, we have several guides that you may find helpful:
Filters and sorting for taxonomies
Introduction to CPT and ACF with Newspaper Theme
Modules Builder in Newspaper Theme
Flex Block Builder and Flex Loop Builder
Thank you.
Hi,
To display those results on a page, you need to use tagDiv Composer. Add a Flex Block (or even a Flex Block Builder). After setting the layout you want, configure it to display the custom post type you need; in your case, country-town and/or drinks-stays-eat.
https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi Ling,
For CPTs, you can add Cloud Templates from Cloud Templates → CPT/Taxonomies https://i.imgur.com/pqIa2fo.png
Please note that these templates use different elements than Single or Category templates, so the same template used for Articles cannot be applied to CPTs. Since you’re using tagDiv Composer, you can edit a CPT template and adjust the layout as needed.
At the moment, we offer fewer templates specifically for CPTs, but I’m confident you’ll find one that works well as a base for customization.
https://forum.tagdiv.com/introduction-cpt-acf-newspaper-theme/
Thank you!
Hi Ling,
I understand, but if you think you want to share the results from the grid this is not possible, in the grid you can actually display articles from normal post categories and custom post categories by using the settings provided for categories, taxonomies and post type to display, but tjhose will be displayed base on the sort selected, for example if is on lates will display the lates from all categories you have configured for the grid https://forum.tagdiv.com/big-grid-flex-settings/
So, I cannot have on the same block a normal single post article and a custom post type,
correct?
I just wanted to have on the homepage, a block with all my last posts( articles, custom post type, review,…)
Like on the pro them: the first 4 pictures:
Fashion: ( WordPress News Magazine Charts the Most Chic and
Gadgets: Game Changing Virtual Reality Console Hits the Market
Travel: Discover the Most Magical Sunset in Santorini
Computer Filters Noise to Make You a Better Listener
For me it will be: https://demo.tagdiv.com/newspaper_pro/
Fashion: Last normal category article
Gadget: Last normal category article
Travel: Last Custom post type
Computer: Last Custom post type
Hi,
You can set the same block to display all of your CPTs. However, the limitation is that you cannot choose which CPT module to display directly from the block. Because of this, the results are based only on filters and sorting options.
The block does offer the possibility to manually set the IDs of the CPTs you want to display. The downside of this approach is that it must be updated manually every time you add or change an article. You can see an example here: https://i.imgur.com/lC0HYOi.png
An alternative solution would be to use a row layout:
Create a row and set it to 2 columns.
In the first column, add a Big Grid Flex 1 element and configure it to display only one result, adjusted to your needs.
In the second column, if you need multiple columns, add an inner row and set the number of inner columns as required.
You can add multiple inner rows within the same column if needed.
In each inner row, add the same Big Grid Flex 1 element and adjust its settings to display the desired CPT.
This setup provides more flexibility and allows you to control exactly what content is displayed in each area.
Thank you!
Hello
Now i have sorted my custom category, but it displays the same cpt:
My normal category its working :
explore: – adventure
– Beach
– city life,….
but on my cpt :
local directory:
– Drinks
Food
– Stays
display the exact same content. I cannot choose Dinks for first one, food second one…
web news(.)destinationsapart(.)com
Thank you
Hi,
Could you please provide some screenshots of the settings you have made on Fle Xblock? It is possible that the filter is not set correctly – https://forum.tagdiv.com/flex-block-settings-guide/
Hello
Here are my screenshots
When I put 156 for Drink, for example, it also changes on stays and food 🙂
I had that problem with the normal categories, but now I can have a page for all the different categories.
screenshots
Thank you
Hi,
If that is a category/taxonomy template, then the approach is not correct, you should not set id’s for taxonomies, you should use the category filter and choose for a category -current category, or if is a taxonimy choose taxonomy -current taxonomy – https://i.imgur.com/YVLfGtf.png – https://i.imgur.com/uLP9N6Q.png https://forum.tagdiv.com/flex-block-settings-guide/ – https://i.imgur.com/ZHFuG3A.png
No, it’s a cpt
Even if i set up the current taxonomy.
That changes all the taxonomy, if I change drinks, stays and food change automatically
new screenshot: screenshots
Thank you
-
This reply was modified 6 months by
Ling.
Hi Ling,
I believe this is just a small misunderstanding around how the filters work, especially when using a cloud template.
In this case, when you edit a cloud template that will be used for your taxonomies, please use only the “current taxonomy” filter. Don’t add anything else no extra taxonomy ID or additional filters. Just leave that field empty.
After that, assign this template to your taxonomy. The template will then automatically display the articles that belong to the selected taxonomy. For example, if you select Food, it will show articles from the Food taxonomy; if you select Drink, it will show articles from the Drink taxonomy.