Hi,
I had a POD template that showed the columns using a display helper, something like this:
<pre>
{@city, filter_helper}
</pre>
This helper is used to show the column’s value (since it’s a PICK array) and have it clickable to be filtered.
Now, I want to move the POD template, to be directly inside my WordPress page template. I use the code, something like:
<pre>
while ($Record->fetchRecord()) {
$meeting_city = $Record->get_field(‘city’, filter_helper);
echo ‘<div class="cell alignright">’ . $meeting_city . ‘</div>’;
some more fields here…etc…
} // end while
</pre>
That brings me an error, and doesn’t recognize the helper as an helper, but as an orderby field.
More than that, if I put just –
<pre>
$meeting_city = $Record->get_field(‘city’);
</pre>
It echoes an "Array" as a result.
So, how do I use my display helper when my code is directly on the WP page template, and not on a POD template?
Thanks