• Hi there again.
    Let’s say I got two categories: “cat-a” and “cat-b”.
    I want to get all posts from the categories, that’s not a problem, but add a “style” to title link deppending of each post category:

    <a class= cat-a> Title uno </a>
    <a class= cat-b> Title dos </a>
    <a class= cat-b> Title tres </a>
    <a class= cat-a> Title cuatro [/a]

    and so on…

    How in template or shortcode can I do that?
    Thanks in adcanve again!

    https://www.ads-software.com/plugins/list-category-posts/

Viewing 1 replies (of 1 total)
  • Thread Starter masterbip

    (@masterbip)

    Nevermind, i used excerpt to do it. Is not the best but it solved my problem. If anybody got an answer … will be appreciatted.
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Category as class’ is closed to new replies.