inboundnow / retired-landing-pages

Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
http://www.inboundnow.com/landing-pages/
GNU General Public License v2.0
4 stars 2 forks source link

Disabling ACF return formatting for all ACF4 templates #257

Closed atwellpub closed 9 years ago

atwellpub commented 9 years ago

Return formatting is inconsistent between ACF4 and ACF 5 and I believe should disable it entirely with free core templates.

atwellpub commented 9 years ago

@daprela @DavidWells

Just want to bring your attention to this. We can't depend on ACF4's return formatting engine, not for images, not for content. Disabling them uniformly is the best bet. That way we don't have to have some field's (images for example) return formatting disabled while keeping others one. Return formatting was also messing up out default content.

atwellpub commented 9 years ago

Also changing 'data_type' for non pro templates to 'acf4' instead of 'acf'. Pro templates will have their data types changed to 'acf5'.

I'm running into too many issues when switching between 4 and 5 which makes it hard for normal landing page templates to work when Inbound Pro is on versus Off.

I will make a couple of more commits here to help me handle ACF4 v ACF5 templates.