Posts Tagged with post_class

Displaying 1-1 of 1 result.
Resolved: Wordpress post_class add class
posted by admin on March 22, 2016
How to add class in post_class() function.

Usage

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>


HTML output

<div id="post-4564" class="post post-4564 category-48 category-dancing logged-in">
Read more