I love travelling.
Below you can find all blog posts I’ve written about travel.
// Necessary to make the setup_postdata() function work. Otherwise the loop returns the title and link (but not the excerpt) of the current PAGE each time instead of that of the POST.
// Set the tag to display posts for in the line below.
$args = array( ‘posts_per_page’ => -1, ‘tag_slug__in’ => travel );
// Creates the loop.
$lastposts = get_posts( $args );
foreach ( $lastposts as $post ) :
setup_postdata( $post ); ?>