Update HTML attribute order
This commit is contained in:
parent
8f973a3525
commit
d0c0cddfc1
6
404.php
6
404.php
|
@ -8,13 +8,13 @@
|
||||||
?>
|
?>
|
||||||
<div class="wrapper" id="404-wrapper">
|
<div class="wrapper" id="404-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="content-area">
|
<div class="content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<section class="error-404 not-found">
|
<section class="error-404 not-found">
|
||||||
|
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
<div class="wrapper" id="archive-wrapper">
|
<div class="wrapper" id="archive-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
<div class="wrapper" id="author-wrapper">
|
<div class="wrapper" id="author-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<header class="page-header author-header">
|
<header class="page-header author-header">
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
|
<a rel="bookmark" href="<?php the_permalink() ?>" title="Permanent Link: <?php the_title(); ?>">
|
||||||
<?php the_title(); ?></a>,
|
<?php the_title(); ?></a>,
|
||||||
<?php the_time('d M Y'); ?> in <?php the_category('&');?>
|
<?php the_time('d M Y'); ?> in <?php the_category('&');?>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -18,7 +18,7 @@ if ( post_password_required() ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="comments" class="comments-area">
|
<div class="comments-area" id="comments">
|
||||||
|
|
||||||
<?php // You can start editing here -- including this comment! ?>
|
<?php // You can start editing here -- including this comment! ?>
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ if ( post_password_required() ) {
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||||
<nav id="comment-nav-above" class="comment-navigation" role="navigation">
|
<nav class="comment-navigation" id="comment-nav-above" role="navigation">
|
||||||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||||
<?php if ( get_previous_comments_link() ) { ?>
|
<?php if ( get_previous_comments_link() ) { ?>
|
||||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) ); ?></div>
|
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) ); ?></div>
|
||||||
|
@ -51,7 +51,7 @@ if ( post_password_required() ) {
|
||||||
</ol><!-- .comment-list -->
|
</ol><!-- .comment-list -->
|
||||||
|
|
||||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||||
<nav id="comment-nav-below" class="comment-navigation" role="navigation">
|
<nav class="comment-navigation" id="comment-nav-below" role="navigation">
|
||||||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||||
<?php if ( get_previous_comments_link() ) { ?>
|
<?php if ( get_previous_comments_link() ) { ?>
|
||||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) );?></div>
|
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) );?></div>
|
||||||
|
|
|
@ -20,12 +20,12 @@
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
<footer class="site-footer" id="colophon" role="contentinfo">
|
||||||
|
|
||||||
<div class="site-info">
|
<div class="site-info">
|
||||||
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ), 'WordPress' ); ?></a>
|
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ), 'WordPress' ); ?></a>
|
||||||
<span class="sep"> | </span>
|
<span class="sep"> | </span>
|
||||||
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="http://understrap.com/" rel="designer">understrap.com</a>' ); ?>
|
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a rel="designer" href="http://understrap.com/">understrap.com</a>' ); ?>
|
||||||
(<?php printf( __( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
|
(<?php printf( __( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
|
||||||
</div><!-- .site-info -->
|
</div><!-- .site-info -->
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
<div id="page" class="hfeed site">
|
<div class="hfeed site" id="page">
|
||||||
|
|
||||||
<!-- ******************* The Navbar Area ******************* -->
|
<!-- ******************* The Navbar Area ******************* -->
|
||||||
<div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar">
|
<div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar">
|
||||||
|
@ -37,11 +37,11 @@
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
|
||||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">☰</button>
|
<button class="navbar-toggler hidden-sm-up" data-toggle="collapse" data-target=".exCollapsingNavbar" type="button" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">☰</button>
|
||||||
|
|
||||||
<!-- Your site title as branding in the menu -->
|
<!-- Your site title as branding in the menu -->
|
||||||
<?php if (!has_custom_logo()) { ?>
|
<?php if (!has_custom_logo()) { ?>
|
||||||
<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
|
<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
|
||||||
<?php bloginfo( 'name' ); ?>
|
<?php bloginfo( 'name' ); ?>
|
||||||
</a>
|
</a>
|
||||||
<?php } else { the_custom_logo(); } ?><!-- end custom logo -->
|
<?php } else { the_custom_logo(); } ?><!-- end custom logo -->
|
||||||
|
|
|
@ -79,7 +79,7 @@ function bootstrap_wp_gallery( $output, $attr ) {
|
||||||
// Filter gallery CSS
|
// Filter gallery CSS
|
||||||
$output = apply_filters( 'gallery_style', "
|
$output = apply_filters( 'gallery_style', "
|
||||||
|
|
||||||
<div id='$selector' class='gallery galleryid-{$id} row'>"
|
<div class='gallery galleryid-{$id} row' id='$selector'>"
|
||||||
);
|
);
|
||||||
|
|
||||||
// Iterate through the attachments in this gallery instance
|
// Iterate through the attachments in this gallery instance
|
||||||
|
|
|
@ -27,7 +27,7 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu {
|
||||||
*/
|
*/
|
||||||
public function start_lvl( &$output, $depth = 0, $args = array() ) {
|
public function start_lvl( &$output, $depth = 0, $args = array() ) {
|
||||||
$indent = str_repeat( "\t", $depth );
|
$indent = str_repeat( "\t", $depth );
|
||||||
$output .= "\n$indent<ul role=\"menu\" class=\" dropdown-menu\">\n";
|
$output .= "\n$indent<ul class=\" dropdown-menu\" role=\"menu\">\n";
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @see Walker::start_el()
|
* @see Walker::start_el()
|
||||||
|
@ -50,13 +50,13 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu {
|
||||||
* a 0 if the strings are equal.
|
* a 0 if the strings are equal.
|
||||||
*/
|
*/
|
||||||
if ( strcasecmp( $item->attr_title, 'divider' ) == 0 && $depth === 1 ) {
|
if ( strcasecmp( $item->attr_title, 'divider' ) == 0 && $depth === 1 ) {
|
||||||
$output .= $indent . '<li role="presentation" class="divider">';
|
$output .= $indent . '<li class="divider" role="presentation">';
|
||||||
} else if ( strcasecmp( $item->title, 'divider') == 0 && $depth === 1 ) {
|
} else if ( strcasecmp( $item->title, 'divider') == 0 && $depth === 1 ) {
|
||||||
$output .= $indent . '<li role="presentation" class="divider">';
|
$output .= $indent . '<li class="divider" role="presentation">';
|
||||||
} else if ( strcasecmp( $item->attr_title, 'dropdown-header') == 0 && $depth === 1 ) {
|
} else if ( strcasecmp( $item->attr_title, 'dropdown-header') == 0 && $depth === 1 ) {
|
||||||
$output .= $indent . '<li role="presentation" class="dropdown-header">' . esc_attr( $item->title );
|
$output .= $indent . '<li class="dropdown-header" role="presentation">' . esc_attr( $item->title );
|
||||||
} else if ( strcasecmp($item->attr_title, 'disabled' ) == 0 ) {
|
} else if ( strcasecmp($item->attr_title, 'disabled' ) == 0 ) {
|
||||||
$output .= $indent . '<li role="presentation" class="disabled"><a href="#">' . esc_attr( $item->title ) . '</a>';
|
$output .= $indent . '<li class="disabled" role="presentation"><a href="#">' . esc_attr( $item->title ) . '</a>';
|
||||||
} else {
|
} else {
|
||||||
$class_names = $value = '';
|
$class_names = $value = '';
|
||||||
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
|
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
|
||||||
|
@ -163,17 +163,17 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu {
|
||||||
$fb_output = null;
|
$fb_output = null;
|
||||||
if ( $container ) {
|
if ( $container ) {
|
||||||
$fb_output = '<' . $container;
|
$fb_output = '<' . $container;
|
||||||
if ( $container_id )
|
|
||||||
$fb_output .= ' id="' . $container_id . '"';
|
|
||||||
if ( $container_class )
|
if ( $container_class )
|
||||||
$fb_output .= ' class="' . $container_class . '"';
|
$fb_output .= ' class="' . $container_class . '"';
|
||||||
|
if ( $container_id )
|
||||||
|
$fb_output .= ' id="' . $container_id . '"';
|
||||||
$fb_output .= '>';
|
$fb_output .= '>';
|
||||||
}
|
}
|
||||||
$fb_output .= '<ul';
|
$fb_output .= '<ul';
|
||||||
if ( $menu_id )
|
|
||||||
$fb_output .= ' id="' . $menu_id . '"';
|
|
||||||
if ( $menu_class )
|
if ( $menu_class )
|
||||||
$fb_output .= ' class="' . $menu_class . '"';
|
$fb_output .= ' class="' . $menu_class . '"';
|
||||||
|
if ( $menu_id )
|
||||||
|
$fb_output .= ' id="' . $menu_id . '"';
|
||||||
$fb_output .= '>';
|
$fb_output .= '>';
|
||||||
$fb_output .= '<li><a href="' . admin_url( 'nav-menus.php' ) . '">Add a menu</a></li>';
|
$fb_output .= '<li><a href="' . admin_url( 'nav-menus.php' ) . '">Add a menu</a></li>';
|
||||||
$fb_output .= '</ul>';
|
$fb_output .= '</ul>';
|
||||||
|
@ -183,4 +183,3 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
function bootstrap3_comment_form( $args ) {
|
function bootstrap3_comment_form( $args ) {
|
||||||
$args['comment_field'] = '<div class="form-group comment-form-comment">
|
$args['comment_field'] = '<div class="form-group comment-form-comment">
|
||||||
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . ( ' <span class="required">*</span>' ) . '</label>
|
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . ( ' <span class="required">*</span>' ) . '</label>
|
||||||
<textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
|
<textarea class="form-control" id="comment" name="comment" aria-required="true" cols="45" rows="8"></textarea>
|
||||||
</div>';
|
</div>';
|
||||||
$args['class_submit'] = 'btn btn-secondary'; // since WP 4.1
|
$args['class_submit'] = 'btn btn-secondary'; // since WP 4.1
|
||||||
return $args;
|
return $args;
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-index">
|
<div class="wrapper" id="wrapper-index">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-0" class="post no-results not-found">
|
<article class="post no-results not-found" id="post-0">
|
||||||
|
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<?php global $post ?>
|
<?php global $post ?>
|
||||||
|
|
||||||
<article id="<?php echo strtolower( $post->post_title ); ?>" <?php post_class(); ?>>
|
<article <?php post_class(); ?> id="<?php echo strtolower( $post->post_title ); ?>">
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
<div class="wrapper" id="full-width-page-wrapper">
|
<div class="wrapper" id="full-width-page-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div id="primary" class="col-md-12 content-area">
|
<div class="col-md-12 content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
|
|
|
@ -28,11 +28,11 @@
|
||||||
|
|
||||||
<div class="wrapper" id="full-width-page-wrapper">
|
<div class="wrapper" id="full-width-page-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div id="primary" class="col-md-12 content-area">
|
<div class="col-md-12 content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ): while ( $qry->have_posts() ): $qry->the_post() ?>
|
<?php if ( have_posts() ): while ( $qry->have_posts() ): $qry->the_post() ?>
|
||||||
<div class="page">
|
<div class="page">
|
||||||
|
|
6
page.php
6
page.php
|
@ -15,13 +15,13 @@
|
||||||
|
|
||||||
<div class="wrapper" id="page-wrapper">
|
<div class="wrapper" id="page-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<section id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<section class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
||||||
<label for="s" class="assistive-text"><?php _e( 'Search', 'understrap' ); ?></label>
|
<label class="assistive-text" for="s"><?php _e( 'Search', 'understrap' ); ?></label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="field form-control" name="s" id="s" placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>">
|
<input class="field form-control" id="s" name="s" type="text" placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<input type="submit" class="submit btn btn-primary" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'understrap' ); ?>">
|
<input class="submit btn btn-primary" id="searchsubmit" name="submit" type="submit" value="<?php esc_attr_e( 'Search', 'understrap' ); ?>">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -10,7 +10,7 @@ if ( ! is_active_sidebar( 'sidebar-1' ) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="secondary" class="col-md-4 widget-area" role="complementary">
|
<div class="col-md-4 widget-area" id="secondary" role="complementary">
|
||||||
|
|
||||||
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||||||
|
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
?>
|
?>
|
||||||
<div class="wrapper" id="single-wrapper">
|
<div class="wrapper" id="single-wrapper">
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div class="container" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area" id="primary">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
||||||
<!-- The WooCommerce loop -->
|
<!-- The WooCommerce loop -->
|
||||||
|
|
||||||
|
|
Reference in New Issue