• mchampa

    (@mchampa)


    How can I reference the category in the template area in the widget.

    For example, I would like output to be:
    <div class="cat-1">My Event Title</div>

    using widget template of:
    <div class="[event-category]">[event-title link=false]</div>

    Thanks.
    am-events

    https://wordpress.org/plugins/am-events/

Viewing 1 replies (of 1 total)
  • Plugin Author Atte Moisio

    (@moisture)

    Hi,

    So you’ll need the category slug instead of name, am I right?

    I’m afraid that’s not currently possible, but I can include it on an upcoming update I’ve been working on. It’ll probably take some time though.

Viewing 1 replies (of 1 total)
  • The topic ‘Add category slug for styling template in widget’ is closed to new replies.