WordPress User Logged In (other method any script)

html-logo

<div>
<?php if (!(current_user_can('level_0'))){ ?>

<!-- visitors start -->
your html code here. (any script visitor)
<!-- visitors end -->

<?php } else { ?>

<!-- logged user start -->
your html code here. (any script logged user)
<!-- logged user end -->

<?php }?>
</div>

Leave a Reply