I’m trying to get a widget to display on the archive page of a CPT called “people”. I’ve tried using the conditional logic field, entering
is_post_type_archive('people');This isn’t working. (I’ve tried it with and without the trailing semicolon; which is correct?)
I’ve also tried using the ACF method and a field in the People CPT:
Hide/Show
Show when Condition’s met
Choose ACF field
First Name
Condition
Is Equal to
Conditional Value
Andrew (he’s the first person displayed in the archive page)
(I also tried…)
Condition
Is not empty
Conditional value
(left blank)
But nothing seems to work! Any suggestions?
