acf-extended / ACF-Extended

🚀 All-in-one enhancement suite that improves WordPress & Advanced Custom Fields
https://www.acf-extended.com
239 stars 27 forks source link

Flexible content render templates, get_flexible returns ONLY the html comments #59

Closed anobjectn closed 3 years ago

anobjectn commented 4 years ago

Describe the bug the_flexible('fieldname') and get_flexible('fieldname') return only the HTML comment with the layout's label. Nothing from my template file outputs not even static elements and content.

To Reproduce Specify a php render template for a layout, e.g. content-sections/testimonial-carousel.php

Expected behavior Expecting template to render and out put markup and data

WordPress & ACF WordPress version: 5.5.1 ACF Pro version: 5.9.1 ACF add-ons: Advanced Custom Fields: Extended Advanced Custom Fields: Gravityforms Add-on Advanced Custom Fields: Theme Code Pro

acf-extended commented 4 years ago

Hello,

Thanks for the feedback! There's probably something wrong in your Flexible Content configuration. The template should be correctly rendered on the front-end if the template file exists.

I use the Flexible Content: Layout Render feature successfully on dozen of websites, and hundreds of other users do it aswell. Can you make sure the template file content-sections/testimonial-carousel.php exists in your theme? Can you also share some screenshots of your Flexible Content configuration, see if everything's alright?

Thanks in advance.

Regards.

acf-extended commented 3 years ago

Hello,

I'm closing this ticket since there's no more information, and I didn't receive any other support ticket about that topic.

Regards.