I have a partial which injects classes into the article element on a custom archive page, but I need to add additional classes in, the code is like:
article @php post_class() @endphp
// general code stuff in here
/article
So I need to inject some additional custom classes in their too, is there a method like:
post_class() => "myClassOne, myClassTwo etc "
in this example I want to add additional classes col-md-3 col-lg-4 into the article element
Can anyone advise? I’m using Sage9