From: Ian Weller Date: Fri, 19 Jan 2018 21:55:16 +0000 (-0500) Subject: working on the blog X-Git-Tag: v1.0.5^2~6 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b8d45617797c6c99e53f96ab4c84f1fac7d2a916;p=WP-Themes%2FCCEOEM.git working on the blog I am trying to get the blog set up. It needs a lot more work. --- diff --git a/archive.php b/archive.php index de96ac4..020b36b 100644 --- a/archive.php +++ b/archive.php @@ -1,4 +1,11 @@ +
+
+
+

Helping You Build With Confidence Since 1915

+
+
+
@@ -39,7 +46,9 @@

+
+ - +
diff --git a/home.php b/home.php index 04d56bb..a8ffb9c 100644 --- a/home.php +++ b/home.php @@ -1,91 +1,55 @@
-
-
- -
-

Helping You Build With Confidence Since 1915

-
-
-
-
- -
-
-
-
- - -
-
-
-
- +
-
-
-
+
+
-
> -
+
> +
-

- Posted on +

+ Posted on -
+
- -
-
+ +
+ +
+ + + +
+

+
+
- - - -
-

-
- -
-
-
- -

Recent Posts

-
    - '5' ); - $recent_posts = wp_get_recent_posts( $args ); - foreach( $recent_posts as $recent ){ - echo '
  • ' . $recent["post_title"].'
  • '; - } - ?> -
-

Archive

-
    'monthly', 'limit' => 12 ) ); ?>
-

Categories

- +
+ + diff --git a/search.php b/search.php index f8de830..719fd61 100644 --- a/search.php +++ b/search.php @@ -1,112 +1,56 @@ -
-
- -

Please enter a query in the search box.

- -

Search Results for ""

-
- -
-
- - post_type=='page')) continue; ?> -
-
-
> -
-

- Posted on -
- - - - @'), array(' ', "\n"), apply_filters('the_content', $post->post_content))) : ''); - - // Search content for terms - $terms = $wp_query->query_vars['search_terms']; - if ( preg_match_all('/'.str_replace('/', '\/', join('|', $terms)).'/i', $content, $matches, PREG_OFFSET_CAPTURE) ) { - $padding = max($min_padding, $max_length / (2*count($matches[0]))); - - // Construct extract containing context for each term - $output = ''; - $last_offset = 0; - foreach ( $matches[0] as $match ) { - list($string, $offset) = $match; - $start = $offset-$padding; - $end = $offset+strlen($string)+$padding; - // Preserve whole words - while ( $start > 1 && preg_match('/[A-Za-z0-9\'"-]/', $content{$start-1}) ) $start--; - while ( $end < strlen($content)-1 && preg_match('/[A-Za-z0-9\'"-]/', $content{$end}) ) $end++; - $start = max($start, $last_offset); - $context = substr($content, $start, $end-$start); - if ( $start > $last_offset ) $context = '...'.$context; - $output .= $context; - $last_offset = $end; - } - - if ( $last_offset != strlen($content)-1 ) $output .= '...'; - } else { - $output = $content; - } - - if ( strlen($output) > $max_length ) { - $end = $max_length-3; - while ( $end > 1 && preg_match('/[A-Za-z0-9\'"-]/', $output{$end-1}) ) $end--; - $output = substr($output, 0, $end) . '...'; - } +
+

Search Results for ""

+
+ + +
+
+
+
+ "; + bcn_display(); + echo "
"; + } + ?> +
+
+
+
+ +
> +

Page:

+
+ + +
+ + $0', $output)); ?> -

- -

-

- Read this entry -

- - - -
- $cat->name, 'slug' => $cat->slug ); - echo ', '. $cat->name .''; - } - echo '.'; - } - ?> -
-
+ +
+
+
- - - -
-

-
- -
- -
- - \ No newline at end of file + + + + + + +
+

+
+ +
+ diff --git a/single.php b/single.php index 544a472..2b2d99e 100644 --- a/single.php +++ b/single.php @@ -33,7 +33,35 @@ - +
+
+ +

Recent Posts

+
    + '5' ); + $recent_posts = wp_get_recent_posts( $args ); + foreach( $recent_posts as $recent ){ + echo '
  • ' . $recent["post_title"].'
  • '; + } + ?> +
+

Archive

+
    'monthly', 'limit' => 12 ) ); ?>
+

Categories

+ +
+