Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #869298

    I’d like to be able to style the blog posts on an archive page based on their category. So I need to add the blog post category as a class to the article element when using Grid Layout of the Blog Posts editor.

    I’ve copied over the shortcode php of postslider to my child theme successfully, and have noticed that I need to edit $post_class, I just can’t get it to display the category(s) of the blog post. Thanks!

    #869342

    Couldn’t figure out how to delete the post but figured it out using: https://kriesi.at/support/topic/dynamically-add-the-category-name-to-grid-layout-source-code/

    #869578

    Hi leadmagz,

    So did you get it working for you or do you still need our help?

    Best regards,
    Victoria

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.