• Hi!
    I’m working on local so I can’t give you a URL.
    I’m using your plugin to show elements only if ACF fields are not empty. The problem is that I have multiple elements that I may need to show or not. I’ve tried this code that I’ve found in another topic: function_exists(‘get_field’) && get_field(‘link’) !== ”
    It works fine but only in the first element (a button), the second element (another button) it’s always visible no matter if the field it’s empty or not, in this case, I am using: function_exists(‘get_field’) && get_field(‘pdf_file’) !== ”.
    How can I solve this? Am I suppose to use a different code?
    I’ll really appreciate any help on this.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t hide more than one element in the same page – ACF’ is closed to new replies.