Reply To: Add date on navigation bar

Home Forums Support Add date on navigation bar Reply To: Add date on navigation bar

#212126
Tom
Lead Developer
Lead Developer

This would be the function for the secondary navigation:

add_action( 'generate_inside_secondary_navigation','generate_date_secondary_navigation' );
function generate_date_secondary_navigation()
{
    ?>
    <span class="nav-date">
        <?php the_date(); ?>
    </span>
    <?php
}