Skip to content

Commit

Permalink
changed html 5 compliancy
Browse files Browse the repository at this point in the history
  • Loading branch information
kniebremser committed Sep 13, 2015
1 parent f1865e4 commit 53ad0a3
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 27 deletions.
4 changes: 2 additions & 2 deletions content-aside.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<div class="entry">
<?php easel_display_the_content(); ?>
Expand All @@ -7,4 +7,4 @@
</div>
</div>
<div class="clear"></div>
</div>
</article>
4 changes: 2 additions & 2 deletions content-comic.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php if (!easel_is_bbpress()) easel_display_author_gravatar(); ?>
<div class="post-info">
Expand Down Expand Up @@ -37,4 +37,4 @@
</div>
<?php edit_post_link(__( 'Edit this comic.', 'easel' ), '', ''); ?>
</div>
</div>
</article>
4 changes: 2 additions & 2 deletions content-link.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
if (!is_home() && !is_archive() && !is_search()) { easel_display_post_thumbnail('large'); ?><div class="clear"></div><?php }
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php if (is_home() || is_archive() || is_search()) easel_display_post_thumbnail('thumbnail'); ?>
<div class="entry">
Expand All @@ -12,4 +12,4 @@
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</article>
4 changes: 2 additions & 2 deletions content-page.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php easel_display_post_thumbnail(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<div class="post-info">
<?php
Expand All @@ -19,4 +19,4 @@
<div class="clear"></div>
<?php edit_post_link(__( 'Edit this page.', 'easel' ), '', ''); ?>
</div>
</div>
</article>
4 changes: 2 additions & 2 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if (!easel_is_bbpress()) easel_display_blog_navigation();
if (!is_home() && !is_archive() && !is_search()) { easel_display_post_thumbnail('large'); ?><div class="clear"></div><?php }
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php if (is_home() || is_archive() || is_search()) easel_display_post_thumbnail('thumbnail'); ?>
<?php if (!easel_is_bbpress()) easel_display_author_gravatar(); ?>
Expand Down Expand Up @@ -45,4 +45,4 @@
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</article>
28 changes: 14 additions & 14 deletions footer.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?php get_template_part('layout', 'foot'); ?>
<div id="footer">
<?php do_action('easel-footer'); ?>
<div id="footer-sidebar-wrapper">
<?php
easel_get_sidebar('footer-left');
easel_get_sidebar('footer');
easel_get_sidebar('footer-right');
?>
</div>
<div class="clear"></div>
</div>
</div> <!-- // #page -->
</div> <!-- / #page-wrap -->
<?php get_template_part('layout', 'foot'); ?>
<footer id="footer">
<?php do_action('comicpress-footer'); ?>
<div id="footer-sidebar-wrapper">
<?php
easel_get_sidebar('footer-left');
easel_get_sidebar('footer');
easel_get_sidebar('footer-right');
?>
</div>
<div class="clear"></div>
<div id="footer-menubar-wrapper">
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'depth' => 1, 'fallback_cb' => false, 'container_class' => 'footmenu', 'theme_location' => 'Footer' ) ); ?>
<div class="clear"></div>
</div>
<?php if (!easel_themeinfo('disable_footer_text')) easel_copyright_text(); ?>
<?php if (easel_themeinfo('enable_debug_footer_code')) { ?>
<p><?php echo get_num_queries() ?> queries. <?php if (function_exists('memory_get_usage')) { $unit=array('b','kb','mb','gb','tb','pb'); echo @round(memory_get_usage(true)/pow(1024,($i=floor(log(memory_get_usage(true),1024)))),2).' '.$unit[$i]; ?> Memory usage. <?php } timer_stop(1) ?> seconds.</p>
<?php } ?>
</div> <!-- / #page-wrap -->
<?php } ?>
</footer>
<?php wp_footer(); ?>
</body>
</html>
5 changes: 2 additions & 3 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@
<?php easel_get_sidebar('above-header'); ?>
<div id="page-wrap">
<div id="page">
<div id="header">
<header id="header">
<div class="header-info">
<h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name') ?></a></h1>
<div class="description"><?php bloginfo('description') ?></div>
</div>
<?php easel_get_sidebar('header'); ?>
<div class="clear"></div>
</div>
</header>

<?php
if (!easel_themeinfo('disable_default_menubar') && function_exists('easel_menubar')) easel_menubar();
if (easel_themeinfo('enable_breadcrumbs')) easel_breadcrumbs();
easel_get_sidebar('menubar');
get_template_part('layout', 'head');
?>

0 comments on commit 53ad0a3

Please sign in to comment.