• 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)
  • See the Field reference (page “Custom Content” under “Settings”):

    post-type – post type
    post-type-name – singular label
    post-type-plural – plural label

    Use: [field post-type]

    • This reply was modified 9 years, 8 months ago by Peter Berger.
Viewing 1 replies (of 1 total)

The topic ‘Using post type as a CSS class’ is closed to new replies.