WordPress.org

Ready to get started?Download WordPress

Forums

Page number in URL vanishes (1 post)

  1. JellyBelly
    Member
    Posted 1 year ago #

    I'm writing a plugin, it's my first plugin.

    I have a problem with paging of some elements. I followed this tutorial.

    The output of the pagination is correct.

    example: http://sitename.local/2012/09/fooname/page/2/

    But when I go to click on this link, wordpress leads me to:

    http://sitename.local/2012/09/fooname/
    Removing the information on the required page and then get_query_var('paged') is always 0.

    What am I forgetting to do?

Topic Closed

This topic has been closed to new replies.

About this Topic