Hi there, is there any possibility to display categories on front page with the post template M3? Thank you
Hi,
You can find how to do it here: https://forum.tagdiv.com/topic/customize-article-display-view/
Move the get_category() function inside the module file.
Thanks
i add this <?php echo $this->get_category();?> and it doesn’t work
Please note that i use the last version of the theme available on themeforest
Hi,
You have to copy also get_category function, please replace the content of module 3 with this code: http://pastebin.com/BBpQ2htn
Result: http://screencast.com/t/GMXezrmmOUV
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Ok it works now, just one las question, can i edit css to customize the category? If yes where? and also it is possible to show only 2 categories on fron page since there are post that have more that 2 categories
Hi,
Please use inspect tool and target categories with css code: http://screencast.com/t/JOj7Z0G3F0Dq
.home .td_mod3 ul.td-category a{
background-color: blue;
}
Paste the code in Theme Panel > Custom Css: http://screencast.com/t/7XOgKZea
Unfortunately you will need custom modification to the php code(function) to have only 2 categories on the modules. If you don’t have php experience to do that you can always hire a freelancer to make this for you as we cannot provide any custom work for the moment. Sorry!
Thanks!