• Resolved blasbarragan

    (@blasbarragan)


    Does your plugin work with Advanced Custom Fields?

    Simply, I want to display a module only if a corresponding custom field has a value. Any value.

    I tried entering get_field(“director”) – one of my field names – into the Content Visibility field, but no luck. Instead, the module disappears whether or not “director” has a value.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Try:

    function_exists('get_field') && get_field('director') == 'Some Desired Value'

    Placing this in the visibility part within DIVI “should” work.

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Custom Fields’ is closed to new replies.