From 466bfb1ec8a1a6a8baa6e809f9184a1386d4b26c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 10 Jun 2015 11:17:51 -0400 Subject: [PATCH] Cleaner markup, no s tray box when no posts in category --- front-page.php | 6 +----- page.php | 6 +----- parts/blog-feed.php | 37 +++++++++++++++++++++---------------- 3 files changed, 23 insertions(+), 26 deletions(-) diff --git a/front-page.php b/front-page.php index ef0c2d2..c9f06ce 100644 --- a/front-page.php +++ b/front-page.php @@ -18,11 +18,7 @@
-
-
- -
-
+
diff --git a/page.php b/page.php index 0c7277c..94ad91d 100644 --- a/page.php +++ b/page.php @@ -18,11 +18,7 @@
-
-
- -
-
+
diff --git a/parts/blog-feed.php b/parts/blog-feed.php index 0998199..8de66c3 100644 --- a/parts/blog-feed.php +++ b/parts/blog-feed.php @@ -12,24 +12,29 @@ if (is_page(array("events","recreation","sailing","tennis","activities","beach") $args = array( 'category_name' => $cat_name,'numberposts' => 3, 'order_by' => 'date'); $lastposts = get_posts( $args ); if ($lastposts) { ?> -
-

Upcoming Events

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

Upcoming Events

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

+

+ read more... +
-
- -
- -

-

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