Forums

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

Home Forums Back End WordPress Issue

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38978
    Blackhawkso
    Member

    Hey everyone. I am using a custom page for my blog section on my wordpress site. I can get it to display all my posts buy i wanted to know how to add pagination to this page.
    Here is the code I have so far:

    			

      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
      $args = array(
      'numberposts' => 999999,
      'paged' => $paged,
      'posts_per_page' => 3
      );
      $lastposts = get_posts( $args );
      foreach($lastposts as $post) : setup_postdata($post); ?>
    • ">



      #comments">





    The problem I am having is that the links aren’t showing up at the bottom of the page in fact all I am getting is a blank

  • with nothing in it. Can anyone see where I am going wrong please as this is driving me nuts.

    Cheers everyone.
    Phil

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