-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 updates "Update footer.php, front-page.php, and header.php files to…
… improve schema.org markup and semantic HTML structure."
- Loading branch information
Showing
3 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
<?php /* Template Name: Home Page */ get_header(); ?> | ||
<section class="container" role="main" itemscope itemprop="mainContentOfPage"> | ||
<div class="grid"> | ||
|
||
<?php if (have_posts()): while (have_posts()) : the_post(); ?> | ||
<section class="front-page" role="main" itemscope itemprop="mainContentOfPage"> | ||
<div class="container"> | ||
<div class="grid"> | ||
|
||
<header class="page-header col-12"> | ||
<h1 class="page-title"> | ||
<?php the_title(); ?> | ||
</h1> | ||
</header><!-- /.page-header col-12 --> | ||
<?php if (have_posts()): while (have_posts()) : the_post(); ?> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class('col-9'); ?>> | ||
<header class="page-header col-12"> | ||
<h1 class="page-title"> | ||
<?php the_title(); ?> | ||
</h1> | ||
</header><!-- /.page-header col-12 --> | ||
|
||
<?php the_content(); ?> | ||
<article id="post-<?php the_ID(); ?>" <?php post_class('col-9'); ?>> | ||
|
||
<?php edit_post_link(); ?> | ||
<?php the_content(); ?> | ||
|
||
</article> | ||
<?php edit_post_link(); ?> | ||
|
||
<?php endwhile; endif; ?> | ||
</article><!-- /.<?php post_class(); ?>> --> | ||
|
||
<?php get_sidebar(); ?> | ||
<?php endwhile; endif; ?> | ||
|
||
<?php get_sidebar(); ?> | ||
|
||
</div><!-- /.grid --> | ||
</div><!-- /.container --> | ||
</section><!-- /front-page --> | ||
|
||
</div><!-- /.grid --> | ||
</section><!-- /section .container --> | ||
<?php get_footer(); ?> |
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