This topic contains 2 replies, has 2 voices. Last updated by Eduan 3 years, 11 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Jan 17th, 2013 at 9:29 pm #37987 | |
Hey guys, Basically I’m have content which should be accessible with any of 3 custom capabilities. For example,Section 1 > Video 1 – Should be accessible by anyone with “section1” OR “section1_video1” OR “all_sections” custom capabilities. So currently, my code looks like this:
Instead of that, is there a way I can have one conditional line? Like…
If so, what is the correct syntax for shortcode? Thanks for your help! Lee |