Support » Themes and Templates » Help making a one page theme

  • I am trying to make a one page theme right and was wondering how you get all of the pages on one page.

    I was thinking of trying to use posts_per_page and customizing it to pull pages but is there a better way?


Viewing 1 replies (of 1 total)
  • paulwpxp


    Font hero

    If you already have certain amount of content known exactly for that one page, then you can just use regular WP’s page, dump all the content into it. Make sure you don’t have any posts and comments, so that there is no nothing else to display or indexed by search engine other than that one page.

    More fancy way is to use index.php with the_content() not the_excerpt() and make sure the post’s title is not wrapped with link to the single, and no link to comments, tag, category, just plain title and content. Might as well, remove other template files, leave only index.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Help making a one page theme’ is closed to new replies.