Hi there, I am just wondering if there is a way to add tags to a portfolio item. I am trying to build a portfolio with filters based on the tags rather than just the categories. Is there a way to do that? Thank you very much.
I will explain the process below, how that can be done.
1) I would recommend to add the following snippet in the functions.php of the child theme. This will create the tags as taxonomy and assign it to the portfolio post type.
In the file layout-isotope.php which is located at neuron-core > widgets > posts > layout > layout-isotope.php in the line 137 replace $neuron_posts_taxonomy with 'portfolio_tags'
Hi there, I am just wondering if there is a way to add tags to a portfolio item. I am trying to build a portfolio with filters based on the tags rather than just the categories. Is there a way to do that? Thank you very much.
I'm with the same problem
Hi Guys,
I will explain the process below, how that can be done.
1) I would recommend to add the following snippet in the functions.php of the child theme. This will create the tags as taxonomy and assign it to the portfolio post type.
2) The next changes needs to be done directly on the plugin(Neuron Core).
Open filters.php which is located in neuron-core > widgets > posts > templates > filters.php and add the following snippet. http://prntscr.com/neho8f
In the file layout-isotope.php which is located at neuron-core > widgets > posts > layout > layout-isotope.php in the line 137 replace $neuron_posts_taxonomy with 'portfolio_tags'
- http://prntscr.com/nehojm
I have tested this on my localhost, everything worked alright, do not forget to flush the permalinks(click save changes on the Settings > Permalinks).
Feel free to ask for anything you need :)
Kind Regards,
NeuronThemes
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.