Current Contact Group

Welcome
Beside you will see your Contact Group composed by all the contacts you are interested in contacting for the same openning. You can add/remove the contacts as you browse the website.
Send a Message to this GroupCancel»

Private HTML – Examples

1. No arguments supplied – content visible to any logged in user


            <private>Private Text!!!</private>
        


Private Text!!!

2. User ids supplied – content visible to logged in user from this comma separated list


            <private ids="1,3,5">Private Text!!!</private>
        


Private Text!!!

3. SQL WHERE condition specified (u – wp_users, um – wp_usermeta) – content visible to user ids returned by this query with condition applied to current user

  • Content will be displayed only for users whose display name starts from B.

    
                        <private where="(u.diplay_name LIKE 'B%')">Private Text!!!</private>
                    


    Private Text!!!

  • Content will be displayed only for administrators.

    
                        <private where="( EXISTS( um.meta_key = 'wp_capabilities' AND um.meta_value LIKE '%administrator%' ) )">Private Text!!!</private>
                    


    Private Text!!!

  • Content will be displayed only for users who has no subscriber role.

    
                        <private where="( EXISTS( um.meta_key = 'wp_capabilities' AND um.meta_value NOT LIKE '%subscriber%' ) )">Private Text!!!</private>
                    


    Private Text!!!

  • Content will be displayed only for users who has no ‘guest’ user meta key assigned.

    
                        <private where="( NOT EXISTS( um.meta_key = 'guest' ) )">Private Text!!!</private>
                    


    Private Text!!!