Quantcast
Channel: Tagged with repeater - Plugin Support
Viewing all articles
Browse latest Browse all 160

Repeater is not found with get_field() ???

$
0
0
Hi there!

I have been trying to use my repeater field data, same way I do it @ all other websites.

I have this code:
$rows = get_field('galleri'); // "galleri" is the field name on the repeater
if($rows)
{
// bla bla code here
} else {
echo 'not found';
}

And it keeps outputting "not found".

I use the code in my theme, at "page-home.php".

What am I doing wrong?

Viewing all articles
Browse latest Browse all 160

Trending Articles