[Closed] Make Page custom field only show for that page

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Chris 8 years ago.

Assigned support staff: bruce.

Author
Posts
#13692

I don't see anything that allows me to limit a custom field's display only somewhere on the page where it is entered. My view ends up pulling from all the fields from all the pages not just the one on the particular page.

Possible?

#13722

bruce
Supporter

Languages: English (English )

Timezone: Australia/Perth (GMT+08:00)

Hi Chris,

You can use conditional output to display only fields that have values - https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

If you are using Types for the fields you would use something like this:

[wpv-if f1="wpcf-my-field" evaluate="!empty($f1)"][types field="my-field][/types][/wpv-if]

Best regards,
Bruce.

#13789

ok will try that -- thank you.

The topic ‘[Closed] Make Page custom field only show for that page’ is closed to new replies.