Skip to content

Commit

Permalink
Main content container should not be focusable; April 2019 colours in…
Browse files Browse the repository at this point in the history
… more places; carousel styling; April 2019 layout for Sunday Rides; footer styles.
  • Loading branch information
BenMillard committed May 20, 2019
1 parent 2e1defd commit d421b54
Show file tree
Hide file tree
Showing 13 changed files with 255 additions and 98 deletions.
40 changes: 28 additions & 12 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,21 @@

<div class="wrapper" id="error-404-wrapper">

<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
<div class="<?php echo esc_attr( $container ); ?>" id="content">

<div class="row">
<div class="">

<div class="col-md-12 content-area" id="primary">
<div class="content-area notFull" id="primary">

<main class="site-main" id="main">

<section class="error-404 not-found">
<!-- Top Row -->

<div class="row">
<div class="col-md-8">

<!-- beginning of the main column -->
<section class="error-404 not-found">

<header class="page-header">

Expand All @@ -33,12 +39,11 @@

<div class="page-content">

<p><?php esc_html_e( 'Uh Oh! It looks like that page got dropped from the peloton.
Based on GPS data, this is the best way home'); ?></p>
<p><?php esc_html_e( 'Uh Oh! It looks like that page got dropped from the peloton. Based on GPS data, this is the best way home:'); ?></p>

<?php get_search_form(); ?>

<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
<?php // the_widget( 'WP_Widget_Recent_Posts' ); ?>

<?php if ( understrap_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>

Expand All @@ -65,17 +70,28 @@
<?php

/* translators: %1$s: smiley */
$archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'understrap' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
// $archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'understrap' ), convert_smilies( ':)' ) ) . '</p>';
// the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );

the_widget( 'WP_Widget_Tag_Cloud' );
// the_widget( 'WP_Widget_Tag_Cloud' );
?>

</div><!-- .page-content -->

</section><!-- .error-404 -->
</div> <!-- end of main column -->


<div class="sidebar col-md-4">
<p>Sidebar<p>
</div> <!-- end of right column -->


</div> <!-- end of Top Row-->


</main><!-- #main -->


</main><!-- #main -->

</div><!-- #primary -->

Expand Down
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="wrapper" id="archive-wrapper">

<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
<div class="<?php echo esc_attr( $container ); ?>" id="content">

<div class="row">

Expand Down
2 changes: 1 addition & 1 deletion author.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="wrapper" id="author-wrapper">

<div class="container-fluid" id="content" tabindex="-1">
<div class="container-fluid" id="content">

<div class="row">

Expand Down
Loading

0 comments on commit d421b54

Please sign in to comment.