Posts not displaying properly on homepage
I’m having trouble displaying posts from a single category on the homepage the way I want them to appear. The theme I’m using uses a 3 column layout for the homepage and a content-sidebar layout for the blog page.
Basically I want the homepage to display exactly like the category archive page, but include the slider. So what I did was just copy the code from category.php
and pasted it into a new page template titled front-page.php
and set that as my homepage. The theme uses a loop.php to pull the loop and calls it using “get_template_part()” into the content section as shown in the code below.
But for some reason its not displaying any posts and I have no idea why.
Here’s the theme:
http://music1.netlabs.co.za/
Here are some snapshots of what’s happening:
Current Front Page:
http://s23.postimg.org/717e7msuj/front_page_current.png
Desired Front Page:
http://s23.postimg.org/4l5ktsarv/front_page_desired.png
And heres the code:
category.php
http://pastebin.com/ZuNVHqg7
loop.php
http://pastebin.com/Hi6bsTvF
Any help would be appreciated.