From: Laury GvR Date: Wed, 10 Jun 2015 15:04:23 +0000 (-0400) Subject: Some fixes for the blog feed. Including frontpage X-Git-Tag: v1.0.6^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5fd9705e7743f6bc57af18bd5c3aca7747cf9f6e;p=WP-Themes%2FWequetonsing.git Some fixes for the blog feed. Including frontpage --- diff --git a/front-page.php b/front-page.php index e2dd2d2..fa49ac2 100644 --- a/front-page.php +++ b/front-page.php @@ -5,40 +5,22 @@
-
-
- - - -

- +
+
+ + + +

+ +
+
-
-
-
-

Upcoming Events

- 3); - $lastposts = get_posts( $args ); - foreach($lastposts as $post) : setup_postdata($post); ?> -
- ID, array(120, 100)); ?> - -
- -
- -

-

- read more... -
- -
+
diff --git a/page.php b/page.php index a503087..0c7277c 100644 --- a/page.php +++ b/page.php @@ -9,13 +9,19 @@
-

- + + + +
+
+
+ +
diff --git a/parts/blog-feed.php b/parts/blog-feed.php index a7e6f76..0998199 100644 --- a/parts/blog-feed.php +++ b/parts/blog-feed.php @@ -1,25 +1,35 @@ - -
-

Upcoming Events

+ + get_query_var('name'),'numberposts' => 3, 'order_by' => 'date'); + $args = array( 'category_name' => $cat_name,'numberposts' => 3, 'order_by' => 'date'); $lastposts = get_posts( $args ); - foreach($lastposts as $post) : setup_postdata($post); ?> -
- ID, array(130, 130)); ?> - -
- + if ($lastposts) { ?> +
+

Upcoming Events

+ +
+ ID, array(130, 130)); ?> + +
+ +
+
+ +
+ +

+

+ read more...
-
- -
- -

-

- read more...
+
- -
- \ No newline at end of file + \ No newline at end of file