Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Aug 6, 2019
1 parent 9f69a28 commit b6cfe1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/enqueues.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function ptibogxivtheme_enqueues() {

wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/theme/js/scripts.min.js', array('jquery'), ' ', true);

wp_enqueue_script( 'fontawesome', '//use.fontawesome.com/releases/v5.10.0/js/all.js', array(), '5.10.0' );
wp_enqueue_script( 'fontawesome', '//use.fontawesome.com/releases/v5.10.1/js/all.js', array(), '5.10.1' );

wp_enqueue_style( 'ptibogxivtheme-css', get_template_directory_uri() . '/theme/css/ptibogxivtheme.css', false, $version);

Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<nav class="navbar sticky-top navbar-expand-md <?php echo esc_attr(get_theme_mod( 'ptibogxivtheme_navbar_color' )); ?>">
<div class="<?php echo esc_attr(get_theme_mod('ptibogxivtheme_container_type')); ?>"><?php
if (get_theme_mod( 'ptibogxivtheme_brand_style') == 'home_mode' && !get_header_image()) {
?><a class="navbar-brand" href="<?php echo esc_url( home_url('/') ); ?>"><span class="fas fa-home fa-fw fa-1x"></span></a>
?><a class="navbar-brand" href="<?php echo esc_url( home_url('/') ); ?>"><div class='d-block d-sm-block d-xs-block d-md-none'><?php bloginfo('name'); ?></div><div class='d-none d-md-block'><i class='fas fa-home'></i></div></a>
<?php }
elseif (get_theme_mod( 'ptibogxivtheme_brand_style') == 'dual_mode' && !get_header_image()) {
the_custom_logo(); ?>&nbsp;<a class="navbar-brand" href="<?php echo esc_url( home_url('/') ); ?>"><?php bloginfo('name'); ?></a>
Expand Down

0 comments on commit b6cfe1c

Please sign in to comment.