windhamdavid 3 years ago
parent
commit
ac166c791f
4 changed files with 30 additions and 10 deletions
  1. 1 0
      footer.php
  2. 25 0
      search.php
  3. 3 7
      sidebar.php
  4. 1 3
      style.css

+ 1 - 0
footer.php

@@ -59,6 +59,7 @@
         &copy; <?php echo date('Y'); ?> <?php echo '<a href="'.home_url().'">'.get_bloginfo('name').'</a>'; ?><br />
         408 West Alexander Avenue, Greenwood, SC 29646
       </div>
+
     </div>
   </div>
 </footer>

+ 25 - 0
search.php

@@ -0,0 +1,25 @@
+<?php get_header();?>
+
+  <div class="container">
+    <div class="row">
+      <div class="col col-lg-9 col-sm-12">
+        <?php if ( have_posts() ) : ?>
+  				<header class="page-header">
+  					<h1></strong><?php printf( __( 'Search for: %s' ), get_search_query() ); ?></h1>
+  				</header>
+        <?php while ( have_posts() ) : the_post();?>
+          <header class="entry-header">
+            <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'dw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+          </header>
+          <div class="entry-content">
+            <?php the_excerpt(); ?>
+          </div>
+				<?php endwhile;	else : printf( __( 'Nothing Found' ));get_search_form(); endif;?>
+      </div>
+      <div class="col col-lg-3 col-sm-12 bg-primary">
+        <?php get_sidebar();?>
+      </div>
+    </div>
+  </div>
+
+<?php get_footer();?>

+ 3 - 7
sidebar.php

@@ -1,8 +1,4 @@
-<?php
-if ( ! is_active_sidebar( 'sidebar-1' ) ) {
-	return;
-}
-?>
-<aside id="secondary" class="widget-area col-sm-12 col-lg-4" role="complementary">
+<?php if ( ! is_active_sidebar( 'sidebar-1' ) ) { return; } ?>
+<aside id="secondary" class="widget-area" role="complementary">
 	<?php dynamic_sidebar( 'sidebar-1' ); ?>
-</aside><!-- #secondary -->
+</aside>

+ 1 - 3
style.css

@@ -639,9 +639,7 @@ form.mc ::placeholder {
   color:#d7d7d7;
   font-weight:300;
 }
-.textwidget {
-  color:#d7d7d7;
-}
+
 
 /*--------------------------------------------------------------
 ########################## Content ##########################