08/16/2017 at 6:54 pm
#432536
Participant
It’s 6am here so please excuse any gaps in train of thought :) but here is the rough logic how I envision it could work, and thus even within one shortcode instance I could control if a picture is shown based on the individual entry’s category:
if (cn_show_image = true) {
if (user is logged in) {
show_image
}
} else {
if (cn_category = senior_management) {
show_image
} else {
do not show image
}
}
-
This reply was modified 9 years ago by
Trevor Wilcox.
