Hi zelatech, this is a little more complicate, first you need to identify the template that you are using on the page/article where you want to add the taxonomy, after that you’ll need to edit that template file and add the code for your taxonomy to be displayed (this depends on the code/plugin you are using). As an example you are using the taxonomies on articles and you have style 2, in this case you’ll need to edit those files:
– wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-2.php
– wp-content/plugins/td-composer/legacy/Newsmag/parts/single/single_template_2.php
Also, some of those files can be set in a child theme, so those will not be changed when the theme will be updated – https://forum.tagdiv.com/newsmag-child-theme-support/
I hope this will help you!
Hi Calin,
thanks for reply. I know procedure to modify files due to loop used.
how to update also mobile/AMP?
I’m asking you sample code to show under “tags” with same css/style (i’ll update taxonomy name after).
thanks
-
This reply was modified 2 years by
zelatech.
Hello,
If is used the tagDiv Mobile theme plugin, then you’ll need to edit those file
– wp-content/plugins/td-composer/mobile/single.php
– wp-content/plugins/td-composer/mobile/loop.php
Unfortunately with the code to add your custom taxonomy I can not help, if is about a css for style, this is ok, we can do it, but custom code and changes in the theme files with custom code is a bit over what our support can offer, sorry!
As a hint, this is the code that I saw as example in some articles – https://pastebin.com/DLvm1Gir
I hope this will help you!
