Display fields on front-end
-
Hi,
I’ve been using the plugin and got it working great in the WP backend but I’m now trying to display on the front and having issues.I have a pod called work_order and another called work_order_content (Advanced Content Type with repeatable fields).
I’m trying to display a form to create new work orders and it is displaying post fields properly but the repeater field has ‘Please save the parent first to add work order content’. I believe this is done but can’t get it to show the field.
Also, when I’m trying to display a single work order on a page using a Pods template it’s coming back blank from this:
print_r( pods_field(‘work_order’, $post->ID, ‘work_order_content’) );
I’ve also tried a standard template and no luck:
{@work_order_product}<br>
{@work_order_product_quantity}<br>I’d appreciate if you could point me in the right direction where I’m going wrong.
Thanks in advance.
- The topic ‘Display fields on front-end’ is closed to new replies.