Merge pull request #86 from maxdmyers/master

Fix version number in the footer +1 Thx to @maxdmyers
This commit is contained in:
Holger 2016-10-13 09:18:19 +02:00 committed by GitHub
commit 5bdbe3a1fa
1 changed files with 7 additions and 6 deletions

View File

@ -6,6 +6,7 @@
*
* @package understrap
*/
$the_theme = wp_get_theme();
?>
<?php get_sidebar('footerfull'); ?>
@ -23,8 +24,8 @@
<div class="site-info">
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), 'understrap', '<a href="http://understrap.com/" rel="designer">understrap.com</a>' ); ?>
(<?php printf( __( 'Version', 'understrap' ) ); ?>: 0.4.7)
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="http://understrap.com/" rel="designer">understrap.com</a>' ); ?>
(<?php printf( __( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
</div><!-- .site-info -->
</footer><!-- #colophon -->