category display info

Posted in: Newspaper
Post count: 46

Hi there, is there any possibility to display categories on front page with the post template M3? Thank you

Post count: 6600

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

Post count: 46

i add this <?php echo $this->get_category();?> and it doesn’t work

Post count: 46

Please note that i use the last version of the theme available on themeforest

Post count: 7909

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!

Post count: 46

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

Post count: 7909

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!

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