Support

Account

Home Forums ACF PRO 2nd page based off of data on first page Reply To: 2nd page based off of data on first page

  • Yes this is possible.

    I would recommend creating a fake page with the use of query vars.

    For example you have domain.com/some-url.

    With the use of a query var you can ‘create’ a new URL, something like domain.com/some-url?newpage=true.

    That page can be generated from the same page.php using an if.

    if ( get_query_var( 'newpage' ) ) {
        // do something
    } else {
        // normal page load
    }

    If it works, you can rewrite domain.com/some-url?newpage=true into anything you want.