Skip to content

Instantly share code, notes, and snippets.

@elimn
Forked from anonymous/back-to-current-month.php
Last active August 29, 2015 14:22
Show Gist options
  • Save elimn/6cf50585e79ed9b11776 to your computer and use it in GitHub Desktop.
Save elimn/6cf50585e79ed9b11776 to your computer and use it in GitHub Desktop.
<?php if ( date_i18n( 'Y-m-01' ) !== tribe_get_month_view_date() ) : ?>
<li class="tribe-events-nav-current">
<a href="<?php echo Tribe__Events__Main::instance()->getLink( 'month' ) ?>">Back to Current Month</a>
</li>
<?php endif ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment