From 837312d3998c726908f5369a40fbd7f798c2d564 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Tue, 1 Mar 2016 09:56:17 -0500 Subject: [PATCH] adding proper feed for the blog in the footer --- footer.php | 5 +---- parts/blog-feed-front.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 parts/blog-feed-front.php diff --git a/footer.php b/footer.php index 810bb52..2cd419f 100644 --- a/footer.php +++ b/footer.php @@ -12,10 +12,7 @@

From The Blog

-

Igendes rem Nequis sitae doluptati as. Luis sitae dolu

-

Mag niatas que occate volorum.

-

Au libus etum re, consequi odit, suntota.

-

Chit quam alique et volo corem hillaut unt.

+
diff --git a/parts/blog-feed-front.php b/parts/blog-feed-front.php new file mode 100644 index 0000000..46928ff --- /dev/null +++ b/parts/blog-feed-front.php @@ -0,0 +1,13 @@ + 4, 'order_by' => 'date'); + $lastposts = get_posts( $args ); + if ($lastposts) { ?> + +
+ + +

+ + +
+ -- 2.17.1