I have a set of profiles that all have a few blurb widgets embedded within their details template.
I am however looking for a way to exclude one of those widgets within a particular subset of the profiles.
Examples:
The “sequoia” accordion is not necessary on example 2; so I’d like to have it not display.
(I tried wrapping the widget in the template with a set up, but it actually hid the widget on all profiles, rather than the subset.)
Sure thing, I think some XPHP logic in your profile details template would likely do the trick. Tagged items get a has_tag_TagName variable set you could check against, or you could do something like checking against the profile type (tid) to do it for certain types. Some XPHP details examples are on this page. Hope this helps!
Ah, it looks like the core code that sets the has_tag_ variables (a) replaces spaces with underlines and (b) puts the tag in lowercase – does it work if you check for has_tag_wfr ?