Skip Navigation

[Resolved] Use ACF PRO Gallery field in WP Toolset

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 3 years, 7 months ago.

Assigned support staff: Nigel.

Author
Posts
#617251

Tell us what you are trying to do?
I would like to use the Gallery ACF PRO fled in my views as described in the headline. But unfortunately I have to insert a php code here and can not find where I could do this.

Are there any documents you follow?
hidden link

#617397

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Lisa

Views is intended to replace editing PHP templates, and so there is no option for adding PHP.

You can add shortcodes, though.

I suggest you re-work your PHP code into a shortcode, which you will then be able to insert into Views Content Template.

You can read about registering shortcodes with WordPress here: https://developer.wordpress.org/plugins/shortcodes/basic-shortcodes/

The forum ‘Types Community Support’ is closed to new topics and replies.