Add Location with the date in the header
-
hi there, i just added the date under my header with this code :
<nav id="site-navigation" class="main-navigation" role="navigation"> <div class="location-day"> <?php echo date('jS F Y'); ?> </div> <h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3> <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> </nav><!-- #site-navigation -->
now i would like to add the location beside the date. Any idea? i don’t really know where to begin…
at least i would like to add the word Paris to the date, but i don’t know how to change the actual format adding the “location propriety”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add Location with the date in the header’ is closed to new replies.