The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How can I display posts properly on homepage

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #168810

    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:

    Here are some snapshots of what’s happening:

    Current Front Page:

    Desired Front Page:

    And heres the code:



    Any help would be appreciated.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.