How to load post_class() locally

How to load post_class() locally

tech