I’m using Pro 4.3.2
I have 2 Global Blocks in a Layout, and I want to show or hide each one based on the value of meta data.
I want to show “Seth” only if any certain postal codes are coming through in the meta data, otherwise I want to show “Mariah & Jonathan”.
As you can see, I have the preview for this layout set to a post that is pulling in 33477 as the postal code.
This screenshot shows the conditions I have set for “Seth”. The last condition is set to number expression {{dc:post:meta key=“ffd_postalcode_pb”}} == 33477, and “Seth” is showing as expected.
This screenshot shows the conditions I have set for “Mariah & Jonathan”. The last condition is set to number expression {{dc:post:meta key=“ffd_postalcode_pb”}} != 33477, but “Mariah & Jonathan” are still showing on the page when they should be hidden.
The “Mariah & Jonathan” Global Block is hidden when I delete all the other conditions and only keep the 33477 condition, but I also need it to be hidden if the value != the other postal codes as well. The arguments are set to OR not AND, so I don’t see why I can’t have multiple conditions there.
