@@ -42,7 +42,8 @@ |
||
| 42 | 42 | <div class="container"> |
| 43 | 43 | <?php } ?> |
| 44 | 44 | |
| 45 | - <?php if ( ! has_custom_logo() ) { // Your site title as branding in the menu ?> |
|
| 45 | + <?php if ( ! has_custom_logo() ) { |
|
| 46 | +// Your site title as branding in the menu ?> |
|
| 46 | 47 | <?php if ( is_front_page() && is_home() ) { ?> |
| 47 | 48 | <h1 class="navbar-brand mb-0"> |
| 48 | 49 | <a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" |
@@ -113,9 +113,12 @@ |
||
| 113 | 113 | name="password" id="reg_password" autocomplete="new-password"/> |
| 114 | 114 | </p> |
| 115 | 115 | |
| 116 | - <?php else : ?> |
|
| 116 | + <?php else { |
|
| 117 | + : ?> |
|
| 117 | 118 | |
| 118 | - <p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' ); ?></p> |
|
| 119 | + <p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' ); |
|
| 120 | +} |
|
| 121 | +?></p> |
|
| 119 | 122 | |
| 120 | 123 | <?php endif; ?> |
| 121 | 124 | |
@@ -29,6 +29,8 @@ |
||
| 29 | 29 | get_template_part( 'templates/loop/content', get_post_format() ); |
| 30 | 30 | endwhile; |
| 31 | 31 | |
| 32 | -else : |
|
| 32 | +else { |
|
| 33 | + : |
|
| 33 | 34 | get_template_part( 'templates/loop/content', 'none' ); |
| 35 | +} |
|
| 34 | 36 | endif; |
@@ -52,8 +52,11 @@ discard block |
||
| 52 | 52 | ?> |
| 53 | 53 | <?php if ( empty( $product_permalink ) ) : ?> |
| 54 | 54 | <?php echo $thumbnail . $product_name; ?> |
| 55 | - <?php else : ?> |
|
| 56 | - <a href="<?php echo esc_url( $product_permalink ); ?>"> |
|
| 55 | + <?php else { |
|
| 56 | + : ?> |
|
| 57 | + <a href="<?php echo esc_url( $product_permalink ); |
|
| 58 | +} |
|
| 59 | +?>"> |
|
| 57 | 60 | <?php echo $thumbnail . $product_name; ?> |
| 58 | 61 | </a> |
| 59 | 62 | <?php endif; ?> |
@@ -76,9 +79,12 @@ discard block |
||
| 76 | 79 | |
| 77 | 80 | <p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p> |
| 78 | 81 | |
| 79 | -<?php else : ?> |
|
| 82 | +<?php else { |
|
| 83 | + : ?> |
|
| 80 | 84 | |
| 81 | - <p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); ?></p> |
|
| 85 | + <p class="woocommerce-mini-cart__empty-message"><?php _e( 'No products in the cart.', 'spurs' ); |
|
| 86 | +} |
|
| 87 | +?></p> |
|
| 82 | 88 | |
| 83 | 89 | <?php endif; ?> |
| 84 | 90 | |