• Resolved SKSchouten

    (@skschouten)


    Hello there!

    In the FAQ, it says:

    I have a lot of posts, how can I edit them all?

    This plugin will run into memory problems and not submit properly if there are too many posts on a page. Currently the page limit is set at 200. To show more or less on a page, just add “posts_per_page=10″ to the querystring to display only 10 posts. Use the querystring page_number=X to display a certain page.”

    Adding posts_per_page=10 works perfectly fine, however adding page_number=2 (for example) doesn’t seem to work for me. So …/wp-admin/edit.php?page=cfbe_editor-post&posts_per_page=10&page_number=2 still displays the first 10 posts, not the second batch of 10 posts. I’ve also tried &paged=2 to navigate to the next page but no luck so far.

    Any help or tips would be highly appreciated. Thank you! 🙂

    https://wordpress.org/plugins/custom-field-bulk-editor/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sparkweb

    (@sparkweb)

    Great catch! I was doing page= instead of paged=. To fix this, open up wp-content/plugins/custom-field-bulk-editor/custom-field-bulk-editor.php

    And change line 101 from:

    "page" => isset($_GET['page_number']) ? (int)$_GET['page_number'] : 1,

    To:

    "paged" => isset($_GET['page_number']) ? (int)$_GET['page_number'] : 1,

    I’ll patch this on my end and get it updated with the next release. Thanks!

    Thread Starter SKSchouten

    (@skschouten)

    Thanks so much for your quick reply and the explanation, much appreciated! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page_number=X doesn't work’ is closed to new replies.