Home › Forums › Add-ons › Repeater Field › Randomly get x amount of rows from another page › Reply To: Randomly get x amount of rows from another page
Hi,
In order to get the repeater from the other page, all you need to add is the post id for the same.
such as
$rows = get_field('slider_image',$other_page);
Check out the following gist. It should help you out in getting the random rows from a repeater
https://gist.github.com/mwangepatrick/c0fec6c11d44b8e620ba
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.