Skip Navigation

[Resolved] Help me to configure my wpv-if

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 support ticket is created 9 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.
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 1 voice.

Last updated by meravk 9 years, 3 months ago.

Author
Posts
#278655
free-url.jpg
free-plugin.jpg

I am trying to show a custom field called Free URL (free-url) when a checkbox field called FREE Plugin Available (free-plugin) is selected.

I used this code:

[types field="free-plugin" state="unchecked"][/types]
[wpv-if freeplugin="wpcf-free-plugin" evaluate="$freeplugin = 1"]
     [types field="free-url" title="Download Here"][/types]<BR>
[/wpv-if]

But it didn't work.

Maybe the problem is with $freeplugin?

I visited this URL: https://toolset.com/documentation/views-shortcodes/#wpv-if

I expected to see: Download Here text with a link to the file.

Instead, I got: Empty space.

#278658

Found the problem. There was a typo in the code.

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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.