Skip to content

Instantly share code, notes, and snippets.

@nathaningram
Created December 16, 2020 18:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathaningram/8fa03e22040cfef250b10ef90861419c to your computer and use it in GitHub Desktop.
Save nathaningram/8fa03e22040cfef250b10ef90861419c to your computer and use it in GitHub Desktop.
Call to Action Button Settings
Button Text:
[wpbb-if post:pods_display field=page_cta]
[wpbb post:pods_display field='page_cta']
[wpbb-else] Schedule a Discovery Call
[/wpbb-if]
Button Link:
[wpbb-if post:pods_display field=page_cta_link]
[wpbb post:pods_display field='page_cta_link']
[wpbb-else] https://brilliantly.net/discovery/
[/wpbb-if]
For more info see:
- https://docs.wpbeaverbuilder.com/beaver-themer/field-connections/use-conditional-shortcode-to-test-for-presence-of-content-themer/
- https://docs.wpbeaverbuilder.com/beaver-themer/field-connections/conditional-shortcodes-for-field-connections-overview-themer/
Working with ACF:
https://docs.wpbeaverbuilder.com/beaver-themer/field-connections/connections-to-acf/test-for-values-in-shortcodes-for-advanced-custom-fields/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment