Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10405

    How can I add an offset of 5 to the posts on the frontpage?

    #67944

    Hi!

    In index.php replace:

    $additional_loop = new WP_Query("cat=".$negative_cats."&paged=$paged");

    with:

    $additional_loop = new WP_Query("cat=".$negative_cats."&offset=5&paged=$paged");

    Regards,

    Peter

    #67945

    super, thanks!

    #67946

    Hi!

    Glad that I could help you :)

    Best regards,

    Peter

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

The topic ‘Offset posts’ is closed to new replies.