• Resolved daveace

    (@daveace)


    Hi, thanks for great plugin

    could you please teach on how can i make shortcode.

    i my case, i wanna retrieve check-up status field = true of false based on user login id.

    Any help would be appreciated…

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Vsourz Digital

    (@vsourz1td)

    Hello @daveace,

    You can use our below search short-code to get the records according to the users.

    [acf7db form_id=’2,3′ search=’[email protected]’]

    The above will display all the records from form 2 & 3 searching all the records for “[email protected]”.

    You will need to place the dynamic value(email) in the search term for the users related data.

    Note : Currently we have not provided search functionality for more that 1 term. We are planning to provide this feature in the premium plugin to display the records in front.

    Currently you can try the below code, by placing in your template
    <?php
    $short = ‘[acf7db form_id=’2,3’ search=”‘.$user_email.'”]’;
    echo do_shortcode($short);
    ?>
    Hope this helps you.

    Regards,

Viewing 1 replies (of 1 total)

The topic ‘How to make shortcode?’ is closed to new replies.