Forums

Pagination Function on Frontpage (1 post)

  1. nightstalker101
    Member
    Posted 1 year ago #

    Hi,

    I am using this query, to get a pagination function:

    <?php
    		wp_reset_query();
    		$ppp = get_post_meta($post->ID, 'Anzahl Posts', true);;
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
            query_posts('posts_per_page='.$ppp .'&paged='.$paged.'');
    ?>

    The page numbers show up, but if I try to click it, the link points to /2 instead of /page/2.
    If I try to enter the rul manually like: /page/2 I am getting a 404.
    What could be the reason for that?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by nightstalker101
  • This topic is not resolved
  • WordPress version: 3.0.4

Tags

No tags yet.