If the_author statement
-
I want to make post by certian authors premium content while some are free.
Im trying to use
<?php if ( the_author(‘XXXXX’) ) { ?>
Premium Content
<?php } else { ?>
This is premium only
<?php } ?>Whihc does seem to work but it also prints the authors name.
can i use this without printing the name?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘If the_author statement’ is closed to new replies.