• My site will be accessed by two different sets of users on the front end. I want there to be a small number of fields viewable for non-logged in users, but when a user is logged in the full amount of fields can be seen.

    Is this possible with Participants database?

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, it’s possible, but it does require a bit of code to set up the shortcode.

    For example, if you use a plugin that allows you to insert php into your content, you could use something like this to achieve that:

    <?php
    if ( is_user_logged_in() ) {
       echo do_shortcode( '[pdb_single]' );
    } else {
       echo do_shortcode( '[pdb_single groups="main"]' );
    }
    ?>

    that is just an example, I don’t know what you have in mind, but you get the idea. There are several different ways to get that done of course.

Viewing 1 replies (of 1 total)
  • The topic ‘Only showing certain fields for non-logged in users’ is closed to new replies.