Support » Plugin: List category posts » custom class to tag

  • Resolved ja152

    (@jdj)


    Hi

    How do I add a custom CSS class to the AHREF link tags:

    I tried using catlink_class=”myclass” parameters but that didn’t do it.

    Thanks.

    • This topic was modified 6 months ago by ja152.
    • This topic was modified 6 months ago by ja152.
Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    You need to use the title_class parameter:

    [catlist numberposts=5 title_class="lcp_title"]

    Will generate this for each post:

    <li>
      <a href="http://yourblog.com/hello-world" title="Hello world!" class="lcp_title">
        Hello world!
      </a>
    </li>
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.