I would like to verify that the user owns the blog by doing something similar to the following:
< Code> & lt; B: if cond = 'is_admin' & gt; (Display an admin button) & lt; / B: if & gt;Any recommendations?
Thank you!
The answer is:
& lt; B: if cond = 'data: post.editUrl' & gt; & Lt; Span expr: class = '& amp; Quot; Item-control & amp; Quot; + Data: post.adminClass' & gt; (Display an admin button) & lt; / Span & gt; & Lt; / B: If & gt;I apologize for the inconvenience!
Thanks
Comments
Post a Comment