I added custom taxonomy (Wrote code in newspaper child theme functions.php)
Now I want to add taxonomy filter in Block Filter Settings (Visual Composer element created by newspaper theme).
Can you please guide me how can I add taxonomy filter for all Blocks?
https://drive.google.com/file/d/0B9HAxPYelymTXzZ2MW56cnRON3M/view?usp=sharing
Thank you in advance
Hello,
The fields are added in td_config.php like so: https://www.screencast.com/t/41IzOi44Z
Thank you!
Thanks for replay
I am using Newspaper-child theme
Question 1. Can I copy includes/td_config.php file from Newspaper theme to Newspaper-child theme?
Question 2. I created custom taxonomy by register_taxonomy function. Suppose my taxonomy name is “testing” now I want to add “testing” taxonomy in Block filter setting as same as Category filter:
Please send me example code for “testing”?
Question 3. I want to display all posts as per this setting. Please guide me how many files I need to update for that?
-
This reply was modified 9 years by
msimktg.
Hello,
Sorry but td_config will not work from the child theme. You will have to edit it in the main theme.
Our blocks were not built to work with a custom taxonomy. There is no code I can provide to make our theme blocks work with a custom taxonomy.
Sorry but I cannot provide a solution as the re is no simple code you can add. It will need custom modification made by a developer. I suggest hiring a freelancer to help out with this modification as the theme support does not cover custom modifications.
Thank you!
