Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove #primary Remove #primary, take 2 Change primary layout module to CSS grid. Remove ::before / ::after based clearfixes. When using flex and grid, pseudo-elements are considered flex/grid elements and cause unexpected behavior. Clearfix is a tool to resolve clearing when using float-based layouts. Modern flex/grid-based layouts do not need them. Main menu: Use flex as layout module. Main menu cleanup. Comments, Posts, and Post Navigation: Use flex for layout. Automatic RTL. Remove errant test data. - Fixed skip to content link to point to main content (#primary). - Changed ID for <main> to #primary to preserve original separation between main and sidebar (#secondary). - Removed superfluous ID reference to #secondary in CSS. - Cleaned up whitespace triggering Travis errors. Fix wpcs issues Cleaning the rebase Compile CSS Remove primary div from WooCommerce too grid-template-columns property doesn't support negative values
34 lines (30 sloc)
876 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying the footer | |
* | |
* Contains the closing of the #content div and all content after. | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials | |
* | |
* @package _s | |
*/ | |
?> | |
<footer id="colophon" class="site-footer"> | |
<div class="site-info"> | |
<a href="<?php echo esc_url( __( 'https://wordpress.org/', '_s' ) ); ?>"> | |
<?php | |
/* translators: %s: CMS name, i.e. WordPress. */ | |
printf( esc_html__( 'Proudly powered by %s', '_s' ), 'WordPress' ); | |
?> | |
</a> | |
<span class="sep"> | </span> | |
<?php | |
/* translators: 1: Theme name, 2: Theme author. */ | |
printf( esc_html__( 'Theme: %1$s by %2$s.', '_s' ), '_s', '<a href="https://automattic.com/">Automattic</a>' ); | |
?> | |
</div><!-- .site-info --> | |
</footer><!-- #colophon --> | |
</div><!-- #page --> | |
<?php wp_footer(); ?> | |
</body> | |
</html> |