• Resolved Joelle

    (@joelle)


    Hello! I really love this plugin, so thank you. πŸ™‚

    I was wondering how complicated it would be to incorporate an offset option? offset=”1″ or offset=”-1″ or whatever it might be?

    Or, is there a way to do this now I don’t realize? I’ve been searching, but am not having much luck.

    I appreciate your help!

    https://wordpress.org/plugins/cc-child-pages/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Joelle

    (@joelle)

    Hello! Just checking in to see if anyone has any thoughts on this?

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    I have added the posts_per_page and page parameters that might help in some circumstances.

    Thread Starter Joelle

    (@joelle)

    Well, that doesn’t really do what I need. I have child pages displaying, but I am showing the first child page at the top, then the next 4 child pages smaller underneath in a totally separate section. So my goal is to, as we add child pages, for it to offset and show me the latest one at the top and then can offset by -1 in the pages below, like you would with posts.

    Is this possible?

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Turns out it is possible, but not as straightforward as may be expected as adding an offset to WP_Query does odd things to pagination.

    I have just uploaded a new version of the plugin adding offset and limit parameters which should hopefully let you do what you describe in your post.

    Thread Starter Joelle

    (@joelle)

    πŸ™‚ you are my hero. That worked perfectly!

    Thread Starter Joelle

    (@joelle)

    .

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Offset parameter?’ is closed to new replies.