• Hello!

    I’m trying to figure out to exclude posts from the loop in combination with a True/False ACF Field.

    I am showing posts that have the value “True” in a left column by using this shortcode:
    [loop type=partnerblog taxonomy=partner term="[wpbb post:acf type='text' name='verhaal_voornaam']" field=partnerblog_introductie value=1 count=1 columns=1][/loop]

    This works, but in the right two columns I want to show the posts where the ACF Field is not set to true. I tried this shortcode:
    [loop type=partnerblog taxonomy=partner term="[wpbb post:acf type='text' name='verhaal_voornaam']" field=partnerblog_introductie value=0 count=2 columns=2][/loop]

    But unfortunately the second shortcode doesn’t work. Does anyone have an idea how to get it working?

    Thanks in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Skip post if ACF True/False field is False’ is closed to new replies.