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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.