<section> changed to <div>

This commit is contained in:
Alexander Agnarson 2017-03-05 21:41:02 +01:00
parent 942e722db2
commit 275f45c8b2
10 changed files with 24 additions and 24 deletions

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -16,7 +16,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -33,7 +33,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -1,6 +1,6 @@
<?php if ( post_password_required() ) { return; } ?>
<section id="comments" class="themeform">
<div id="comments" class="themeform">
<?php if ( have_comments() ) : global $wp_query; ?>
@ -58,4 +58,4 @@
<?php if ( comments_open() ) { comment_form(); } ?>
</section><!--/#comments-->
</div><!--/#comments-->

View file

@ -6,11 +6,11 @@
<footer id="footer">
<?php if ( ot_get_option('footer-ads') == 'on' ): ?>
<section class="container" id="footer-ads">
<div class="container" id="footer-ads">
<div class="container-inner">
<?php dynamic_sidebar( 'footer-ads' ); ?>
</div><!--/.container-inner-->
</section><!--/.container-->
</div><!--/.container-->
<?php endif; ?>
<?php // footer widgets
@ -29,7 +29,7 @@
is_active_sidebar( 'footer-3' ) ||
is_active_sidebar( 'footer-4' ) ) && $total > 0 )
{ ?>
<section class="container dark" id="footer-widgets">
<div class="container dark" id="footer-widgets">
<div class="container-inner">
<div class="pad group">
@ -45,7 +45,7 @@
</div><!--/.pad-->
</div><!--/.container-inner-->
</section><!--/.container-->
</div><!--/.container-->
<?php } ?>
<?php if ( has_nav_menu( 'footer' ) ): ?>
@ -56,7 +56,7 @@
</nav><!--/#nav-footer-->
<?php endif; ?>
<section class="container" id="footer-bottom">
<div class="container" id="footer-bottom">
<div class="container-inner">
<a id="back-to-top" href="#"><i class="fa fa-angle-up"></i></a>
@ -92,7 +92,7 @@
</div><!--/.pad-->
</div><!--/.container-inner-->
</section><!--/.container-->
</div><!--/.container-->
</footer><!--/#footer-->

View file

@ -773,12 +773,12 @@ add_action( 'tgmpa_register', 'alx_plugins' );
/* WooCommerce basic support
/* ------------------------------------ */
function alx_wc_wrapper_start() {
echo '<section class="content">';
echo '<div class="content">';
echo '<div class="pad">';
}
function alx_wc_wrapper_end() {
echo '</div>';
echo '</section>';
echo '</div>';
}
remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -31,7 +31,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -5,7 +5,7 @@ Template Name: Child Menu
?>
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -30,7 +30,7 @@ Template Name: Child Menu
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -25,7 +25,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -36,7 +36,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>

View file

@ -1,6 +1,6 @@
<?php get_header(); ?>
<section class="content">
<div class="content">
<?php get_template_part('inc/page-title'); ?>
@ -51,7 +51,7 @@
</div><!--/.pad-->
</section><!--/.content-->
</div><!--/.content-->
<?php get_sidebar(); ?>