Tag: post_class

  • Add a class to the post_class()

    Add a class to the post_class()

    In WordPress, you can definitely tack on extra classes to the post_class() function right in your template files. It’s super handy for styling your posts differently or adding some JavaScript functionality later on.