Forums

make homepage a single page, how? (8 posts)

  1. Marco Raaphorst
    Member
    Posted 1 year ago #

    How can I make the homepage of my blog open as a single.php page? So showing the latest blogpost really as a single instead of using the index.php?

    I want to use the Art Direction plugin and style per post, so the first page needs to be different according to the post's style.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try using a static front page with a custom query?

  3. Marco Raaphorst
    Member
    Posted 1 year ago #

    thanks!! sounds like it.

  4. Marco Raaphorst
    Member
    Posted 1 year ago #

    @esmi: only problem still seem to be comments. when I load a custom query in the page as static homepage, the comments of the page can only be shown, not those of the post. any ideas how to solve that?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Drop a copy of the file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

  6. Marco Raaphorst
    Member
    Posted 1 year ago #

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    That file isn't a custom page template. And it doesn't contain a custom query...

  8. Marco Raaphorst
    Member
    Posted 1 year ago #

    Here's the one with the custom query:

    http://wordpress.pastebin.com/rQDBRuHA

    Only difference is that I query for 1 post: query_posts( 'posts_per_page=1' );

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags