I have a few custom attributes that I'd like to make visible to people who are logged in (editor, contributor, admin, etc.).
I tried editing the Single Events page through the Formatting tab to include the proper PHP (below) but it wasn't working:
<p>
<strong>Category(ies)</strong><br/>
#_CATEGORIES
</p>
<p>
<strong>Childcare Offered</strong><br/>
#_ATT{Childcare}
</p>
<?php
if ( is_user_logged_in() ) {
?>
<p><strong>Setup Instructions</strong><br/>#_ATT{Setup Instructions (Chairs, tables, equipment needed)}</p>
<?
} ?>
Then I tried editing event-single.php to include the same PHP, but then the shortcodes didnt' work (no surprise there).
Any ideas? Sorry, I'm a bit of a PHP newb.