Adding custom taxonomy 'Destinations' to the Block 1 filter

Posted in: Newspaper
Post count: 44

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.

Post count: 44

Block 1 screenshot

Post count: 35449

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!

Post count: 44

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’.

Post count: 44

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’)

Post count: 35449

Hi,

Unfortunately we do not have this type of sort/filter, sorry! maybe this will be add in our theme in the coming updates.

Thank you for your understanding!

Post count: 44

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?

Post count: 35449

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!

Post count: 44

Thank you for your help Calin, much appreciated.

Post count: 44

Can I overwrite the td_config file? I copied it to my child theme and didn’t seem to work.

Post count: 44

Where can I edit the filter queries for a block?

Post count: 35449

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!

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.