Custom Fields
Re-Envisioned
Support Meta Box – Beaver Themer Integrator Conditional logic shortcode issue

  • Creator
    Topic
  • #14877
    Nick
    Participant

    I am trying to use the technique found here to display content if one of my fields has a certain value.

    In my specific use case, I have a Switch field and want different content to display depending on On/Off status. This is what I have:

    [wpbb-if post:meta_box field='super_fox' exp='equals' value='1']<i class="fab fa-firefox" style="margin:0 .5rem;"></i>[/wpbb-if]

    The Firefox fontawesome icon does not disappear if I flip the Switch to Off despite the database showing a value of 0.

    Am I making a simple mistake in the shortcode syntax?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #14882
    Anh Tran
    Keymaster

    Hi Nick,

    I’m not sure about the syntax, you probably need to get help from BB team.

    But in this case, you can use the Meta Box – Beaver Themer Integrator to do the same using the Conditional Logic popup. Here is what I’ve tested:

    View post on imgur.com

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.