Remove closing php tags at end of files
This commit is contained in:
parent
327e0ddb59
commit
afca2ffb56
2
404.php
2
404.php
|
@ -86,4 +86,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #error-404-wrapper -->
|
</div><!-- #error-404-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -70,4 +70,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #archive-wrapper -->
|
</div><!-- #archive-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -105,4 +105,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #author-wrapper -->
|
</div><!-- #author-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -21,4 +21,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -17,4 +17,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
|
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -55,4 +55,4 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -72,4 +72,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #index-wrapper -->
|
</div><!-- #index-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -57,4 +57,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #page-wrapper -->
|
</div><!-- #page-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -52,4 +52,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #full-width-page-wrapper -->
|
</div><!-- #full-width-page-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -51,4 +51,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #page-wrapper -->
|
</div><!-- #page-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -51,4 +51,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #page-wrapper -->
|
</div><!-- #page-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
2
page.php
2
page.php
|
@ -54,4 +54,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #page-wrapper -->
|
</div><!-- #page-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- A closing tag is not permitted at the end of a PHP file -->
|
<!-- A closing tag is not permitted at the end of a PHP file -->
|
||||||
<!-- <rule ref="Zend.Files.ClosingTag"/> -->
|
<rule ref="Zend.Files.ClosingTag"/>
|
||||||
|
|
||||||
<!-- Use the PHPCompatibility Ruleset -->
|
<!-- Use the PHPCompatibility Ruleset -->
|
||||||
<config name="testVersion" value="5.2-99.0"/>
|
<config name="testVersion" value="5.2-99.0"/>
|
||||||
|
|
|
@ -75,4 +75,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #search-wrapper -->
|
</div><!-- #search-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -30,4 +30,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #wrapper-footer-full -->
|
</div><!-- #wrapper-footer-full -->
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -43,4 +43,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
jQuery( ".carousel-item" ).first().addClass( "active" );
|
jQuery( ".carousel-item" ).first().addClass( "active" );
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -15,4 +15,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
<?php dynamic_sidebar( 'herocanvas' ); ?>
|
<?php dynamic_sidebar( 'herocanvas' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -29,4 +29,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #wrapper-static-hero -->
|
</div><!-- #wrapper-static-hero -->
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -49,4 +49,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- #single-wrapper -->
|
</div><!-- #single-wrapper -->
|
||||||
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer();
|
||||||
|
|
|
@ -28,4 +28,4 @@ if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
|
||||||
<?php esc_html_e( 'Return to shop', 'understrap' ); ?>
|
<?php esc_html_e( 'Return to shop', 'understrap' ); ?>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -164,4 +164,4 @@ do_action( 'woocommerce_before_cart' ); ?>
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_cart' ); ?>
|
<?php do_action( 'woocommerce_after_cart' );
|
||||||
|
|
|
@ -83,4 +83,4 @@ do_action( 'woocommerce_before_mini_cart' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_mini_cart' ); ?>
|
<?php do_action( 'woocommerce_after_mini_cart' );
|
||||||
|
|
|
@ -61,4 +61,4 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>
|
<?php do_action( 'woocommerce_after_checkout_form', $checkout );
|
||||||
|
|
|
@ -44,4 +44,4 @@ do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads ); ?>
|
<?php do_action( 'woocommerce_after_account_downloads', $has_downloads );
|
||||||
|
|
|
@ -73,4 +73,4 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
|
||||||
<?php do_action( 'woocommerce_edit_account_form_end' ); ?>
|
<?php do_action( 'woocommerce_edit_account_form_end' ); ?>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_edit_account_form' ); ?>
|
<?php do_action( 'woocommerce_after_edit_account_form' );
|
||||||
|
|
|
@ -53,4 +53,4 @@ do_action( 'woocommerce_before_edit_account_address_form' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_edit_account_address_form' ); ?>
|
<?php do_action( 'woocommerce_after_edit_account_address_form' );
|
||||||
|
|
|
@ -117,4 +117,4 @@ do_action( 'woocommerce_before_customer_login_form' ); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_customer_login_form' ); ?>
|
<?php do_action( 'woocommerce_after_customer_login_form' );
|
||||||
|
|
|
@ -84,4 +84,4 @@ if ( $customer_orders ) : ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
|
@ -32,4 +32,4 @@ do_action( 'woocommerce_before_account_navigation' );
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_account_navigation' ); ?>
|
<?php do_action( 'woocommerce_after_account_navigation' );
|
||||||
|
|
|
@ -104,4 +104,4 @@ do_action( 'woocommerce_before_account_orders', $has_orders ); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_account_orders', $has_orders ); ?>
|
<?php do_action( 'woocommerce_after_account_orders', $has_orders );
|
||||||
|
|
|
@ -51,4 +51,4 @@ if ( $product->is_in_stock() ) : ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
|
<?php do_action( 'woocommerce_after_add_to_cart_form' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
Reference in New Issue