Home › Forums › Add-ons › Flexible Content Field › Select first row in flexible content › Reply To: Select first row in flexible content
I know this is way late but I just found this for my own purposes and I used your original code (not using Relevanssi). The only change you needed to make was on this line:
$content = $rows['one_column'];
change to
$content = $row['one_column'];
change $rows
to $row
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.