This topic contains 3 replies, has 2 voices. Last updated by Trevor Wilcox 4 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Aug 8th, 2012 at 11:15 pm #21584 | |
Hi there, I’m trying to follow along with the scripting examples of conditionals, and maybe I’m overlooking something, but can’t find the answer to what I’m trying to achieve. I would like to query the permission level of specific posts, and display it in the call-to-action following an excerpt. For example, say I have a post designated as Level 3, and a Level 1 subscriber attempts to access it. The structure might look something like: TITLE ***This article is classified as Level 3 content. In order to access this article, please upgrade.*** Obviously I can’t just write Level 3 into the conditionals like this, because it would then be applied to all levels of content, even those of a lower classification; the level will change according to the specific post. So there must be a way to query it. Is this possible? Thanks!
|