Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

what is post_class()

/*  A simple way to add multiple classes to the post_class defaults, is to just write them as a string argument:  */

<div <?php post_class( 'class1 class2 class3' ); ?>>
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+1 =