Issue: On Block 1 (which has the Category tabs) I need to filter those categories by the custom taxonomy ‘Destinations’.
I am a developer so I am able to use your theme API and have looked into creating custom blocks but I don’t see a way to do the above.
-
This topic was modified 7 years by
TravelDudes.
Hi,
Please try to use the testing plugin from Custom Post Type Support-> https://forum.tagdiv.com/custom-post-type-support/
-> https://www.screencast.com/t/wkACDEXKK7F
-> https://www.screencast.com/t/nApbeiDV01G
Thank you!
Hi Calin,
Thank you for your reply. I see that you can add a custom post type to the filter but we need to add a custom taxonomy using the standard post type – ‘post’.
So, as in the picture above, for the block labelled ‘Travel to South Africa’ which displays posts and has the option to show posts by category we need to have an extra filter which shows posts by category AND custom taxonomy (‘Destinations’ – > ‘South Africa’)
Hi Calin,
Thank you, I do understand that, what we are looking for is a custom solution. I am a developer and could customise it myself if you could offer some guidance on how best to achieve this or let me know what it would take to get this cusotmization built?
Hi,
This is not easy to achieve something like that, but you can start from wp-content/themes/Newspaper/includes/td_config.php
-> https://www.screencast.com/t/0k0UnZk9 -> https://www.screencast.com/t/HtaQSRwu
Also please notice that for achieving as you wish, is required to make some additional customizations through the code which also, involves doing such custom work and we cannot provide these kinds of services at the moment, sorry!
Thank you!
Can I overwrite the td_config file? I copied it to my child theme and didn’t seem to work.
Hi,
The child theme will work only for the files that are mentioned in our guide -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
The queries for blocks can be found in wp-content/themes/Newspaper/includes/wp_booster/td_data_source.php
Thank you!
