Get a free trial // Grow your CSS skills // Land your dream job

Best method of achieving a one page website in WordPress

  • # May 30, 2013 at 2:27 pm

    I am currently in the process of developing a website that is one page with 6 sections which are anchor linked.

    What is the best method of achieving this in WordPress? I do not want to create one page and use a shed load of custom fields – I would rather have 6 individual pages that are all pulled into one?

    Any ideas?

    # May 30, 2013 at 2:34 pm

    You could make 6 POSTS, and then have your one page just load the content (not excerpts) of all those posts. Which is pretty much the default functionality of the homepage anyway.

    # May 30, 2013 at 4:11 pm

    Would that still work with custom fields? Seems a bit confusing from a clients point of view to be editing posts rather than pages.

    # May 31, 2013 at 12:06 am

    This might be an interesting start to look at?

    In particular, go with the index.php querying through all pages rather than posts.

    # May 31, 2013 at 3:16 am

    I’m kind of wondering why WordPress was the logical choice in this case. Is there anything that couldn’t be achieved in something more simple?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed