Adding post_class to Custom Post Type
-
Is there any way to hook to add the standard
post_class()
to the Custom Post Type block class?
Would be great if that will include it (maybe using a switch field to enable/disable), and additionally render with<article>
instead of<div>
.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding post_class to Custom Post Type’ is closed to new replies.