WordPress.org

Ready to get started?Download WordPress

Forums

How to create a all post page (3 posts)

  1. sukafia
    Member
    Posted 6 months ago #

    Hi, Please i need help creating a all post page/template to display all the post on my site on a particular page, e.g http://www.akposjokes.com/all My homepage displays my latest post and i'm okay with that, i want to create a page that'll display all the post on my site just as done here http://www.akposjokes.com/all Please someone should help me out, am using Origin Free WordPress Theme and the support site is a dead end. Thanks

  2. alchymyth
    Forum Moderator
    Posted 6 months ago #

    generally, consider to create a page template http://codex.wordpress.org/Page_Templates like the pageofposts.php as described in http://codex.wordpress.org/Page_Templates#A_Page_of_Posts

    adjust the html structure to match your theme;
    to show all posts, adjust the query parameters to:

    $args = array(
                // Change these category SLUGS to suit your use.
                'post_type' => 'post',
                'posts_per_page' => -1
            );

    (not tested)

    for theme specific suggestions, please post in https://wordpress.org/support/theme/origin (if that is your theme)

  3. sukafia
    Member
    Posted 6 months ago #

    Thanks

Reply

You must log in to post.

About this Topic