Using post type as a CSS class
-
Is it possible to display the post type as text as a css class:
[loop type=post,events count=5]
[link]
<div class=”news-title [POST-TYPE] “>
<p class=”centre-align”>[field title]</p>
</div>
[/link]
[/loop]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Using post type as a CSS class’ is closed to new replies.