Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show ads (or other things) to only guests


  • ArnyVee
    Member

    @arnyvee

    What do I type to make something visible to only guests? For example, I have ads by Google in the sidebar that I’d like to display only to guests. How can I achieve this?

Viewing 2 replies - 1 through 2 (of 2 total)

  • _ck_
    Participant

    @_ck_

    wrap any html or javascript (or even php) that you only want guests to see in this

    <?php if (!bb_is_user_logged_in()) { ?>

    blah stuff here

    <?php } ?>


    ArnyVee
    Member

    @arnyvee

    Thank you so much _ck_ :D

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.