koenemann 2016-11-17 09:11:14 +01:00
parent 005d10578a
commit 52298738c7
10 changed files with 18 additions and 17 deletions

View File

@ -20,14 +20,14 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
<div class="wrapper" id="archive-wrapper">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<?php if ( have_posts() ) : ?>

View File

@ -14,14 +14,14 @@
<div class="wrapper" id="author-wrapper">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<header class="page-header author-header">

View File

@ -26,7 +26,7 @@ $container = get_theme_mod('understrap_container_type');
<div class="site-info">
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?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( __( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="http://understrap.com/">understrap.com</a>' ); ?>
(<?php printf( __( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
</div><!-- .site-info -->

View File

@ -14,7 +14,7 @@
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
@ -56,6 +56,7 @@
array(
'theme_location' => 'primary',
'container_class' => 'collapse navbar-toggleable-xs exCollapsingNavbar',
'container_id' => 'exCollapsingNavbar',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => '',
'menu_id' => 'main-menu',

View File

@ -15,7 +15,7 @@ if ( ! function_exists( 'understrap_posted_on' ) ) :
function understrap_posted_on() {
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">' . __( ' Edited %4$s', 'understrap' ) . '</time>';
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>, <time class="updated" datetime="%3$s">' . __( ' Edited %4$s', 'understrap' ) . '</time>';
}
$time_string = sprintf( $time_string,

View File

@ -28,14 +28,14 @@
<div class="wrapper" id="wrapper-index">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check and opens the primary div -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<?php if ( have_posts() ) : ?>

View File

@ -20,14 +20,14 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
<div class="wrapper" id="page-wrapper">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<?php while ( have_posts() ) : the_post(); ?>

View File

@ -14,14 +14,14 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
<div class="wrapper search-wrapper">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check and opens the primary div -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<?php if ( have_posts() ) : ?>

View File

@ -15,14 +15,14 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
<div class="wrapper" id="single-wrapper">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<div class="row">
<!-- Do the left sidebar check -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<?php while ( have_posts() ) : the_post(); ?>

View File

@ -20,12 +20,12 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
<div class="wrapper" id="woocommerce-wrapper">
<div class="container">
<div class="<?php echo $container?>" id="content" tabindex="-1">
<!-- Do the left sidebar check -->
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
<main class="site-main" id="main" role="main">
<main class="site-main" id="main">
<!-- The WooCommerce loop -->