This page contains several examples of the tpg_get_posts shortcode with modifications. When called without options it will list the most recent 5 posts in reverse chronological order, that is newest to oldest.
For the examples, the cat option has been included to select items from the test posts. It can be omitted.
filtered by category=flowers
[tpg_get_posts cat="flowers" field_classes="" more_link="more-link test-class"]
By tswaim on July 10, 2009
At Agecroft Hall, I noticed this tiny flower in the early spring.
By tswaim on July 9, 2009
On a walk in Durres, I found this beautiful flowering bush. And this text has been added to test the more-link.
(read more…)
By tswaim on June 19, 2009
My gladiolas bulbs seldom disappoint. To me they signal that the cold weather is gone for a few months and it’s time to turn on the air conditioner.
By tswaim on June 1, 2009

Shrimp plant – image is embedded in post and no featured image is set.
filtering only posts with the tag “travel.”
[tpg_get_posts tag="travel" ]
By tswaim on July 10, 2009
At Agecroft Hall, I noticed this tiny flower in the early spring.
By tswaim on July 9, 2009
On a walk in Durres, I found this beautiful flowering bush. And this text has been added to test the more-link.
(read more…)
By tswaim on June 1, 2009

Shrimp plant – image is embedded in post and no featured image is set.
filtering only posts with the tag “travel” with offset.
Use the wp_query offset to skip the first post with a tag “travel”. This is the same as the previous example, but offset by 2.
[tpg_get_posts tag="travel" offset=2 ]
By tswaim on June 1, 2009

Shrimp plant – image is embedded in post and no featured image is set.
Showing Excerpt
[tpg_get_posts tag="travel" show_excerpt="true" ]
By tswaim on July 10, 2009
Excerpt: At Agecroft Hall….
By tswaim on July 9, 2009
excerpt: in Durres …..found this
By tswaim on June 1, 2009

Shrimp plant – image is embedded in post and no featured image is set.