Hi,
I’d like to be able to show the category on the featured image on a normal block. At the moment this happens automatically on the slider block – can you tell me the code to add to make it work on block 3 for example?
Is it also possible to display multiple categories using the different categories assigned to them?
Finally, would it be possible to add an icon to show up per category? Appreciate this might be quite complex customisation…
Many thanks for your help, I love the theme 🙂
Martin
Hi Radu,
I would like to display the post category on the featured image on block 3, as happens already with the slide block. Maybe it’s easier to show pictures.


Hope that makes more sense?
Thanks for your support,
Martin
Hi,
You can add this code
<div class="slide-meta">
<span class="slide-meta-cat">
<?php $cat = get_the_category($post->ID); echo $cat[0]->cat_name ?>
</span>
<span class="slide-meta-author">
<?php $this->get_date(); ?>
</span>
</div>
in module 6(Block 3 use Module 6) like here: http://screencast.com/t/nLSyTpn90pnA
and add this CSS in Theme panel -> Custom CSS
.td_mod6 .slide-meta-cat {
background-color: #444444;
color: #FFFFFF;
font-size: 12px;
padding: 3px 7px;
}
The category can’t over the image only on that module, sorry for the inconvenience. We need to change the theme structure to support that.
Result: http://screencast.com/t/IIruxXJqX
Thanks for the message!
Hi Marius,
Thanks so much for getting back to me and offering a solution. My clients are hell bent on getting a category icon showing up over the image though, I don’t think this will pacify them!
Do you think this is something an external developer could do or is the structure of the theme too complex? Anyone you could recommend?
Thanks,
Martin
hi,
the structure of the theme is complex, but try Marius solution.
if you are not a programmer try to hire one for this task from sites like: http://www.microlancer.com
Thanks for you message.
Radu A.
Thanks Radu,
I can follow the instructions as provided but it doesn’t do what my client wants so I’ll need to look to get external help I think.
Thanks for all the support 🙂