Include locale in welcome video
This commit is contained in:
@@ -338,7 +338,8 @@ class SP_Admin_Welcome {
|
||||
</div>
|
||||
<div class="last-feature">
|
||||
<h4><?php _e( 'What is SportsPress?', 'sportspress' ); ?></h4>
|
||||
<div class="sp-welcome-video sp-fitvids"><iframe width="500" height="281" src="//www.youtube.com/embed/_9jeSkXs5Hc?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div>
|
||||
<?php $hl = substr( get_locale(), 0, 2 ); ?>
|
||||
<div class="sp-welcome-video sp-fitvids"><iframe width="500" height="281" src="//www.youtube.com/embed/_9jeSkXs5Hc?rel=0&controls=2&showinfo=0&hl=<?php echo $hl; ?>" frameborder="0" allowfullscreen></iframe></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user