Skip to main content

Example 1

In this example the number of cards to display has been set to 3.

[wc_cards type="event" count="3"]


Example 2

The feature image is set to display in this set of cards.

[wc_cards type="event" category="modular-cards" count="3" image="featured"]


Example 3

In this example, neither the large date nor the feature image displays. Also, the number of lines for the title is set to 2 and the excerpt lines is set to 6.

[wc_cards type="event" category="modular-cards" count="3" title_lines="2" excerpt_lines="6" image="none"]


Example 4

In this example, the number of title lines is set to 2, the excerpt lines is set to 7, and the featured image displays at a 1×1 crop aspect ratio.

[wc_cards type="event" category="modular-cards" count="3" title_lines="2" excerpt_lines="7" image="featured" crop="1x1"]


Example 5

In this example, the featured image displays at a 2×3 crop aspect ratio, the category of “Modular Cards” that has been assigned to all these events displays on the cards, the color for the READ MORE bar has been set to Carolina Athletics navy, and the zoom effect on the images has been turned off.

[wc_cards type="event" category="modular-cards" count="3" image="featured" crop="2x3" category_lines="all" color="#13294B" hover="none"]


Example 6

In this example, the color for the cards has been set to Carolina Athletics navy.

[wc_cards type="event" category="modular-cards" count="3" color="#13294B"]


Example 7

This example displays all events with the category of Modular Cards, it displays the full title and excerpt of each post.

[wc_cards type="event" category="modular-cards" count="all" image="featured" title_lines="all" excerpt_lines="all"]

pregnant woman practicing yoga

April 10
Wednesday 10:00 am

Yoga for Motherhood, Spring 2030 Retreat

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.