• Resolved raymondtuk

    (@raymondtuk)


    Hi,

    I’m having an issue displaying a sticky list, where the list only contains entries that have been inputted by the current user.

    I have used the following code, which as explained in the documentation, and other threads in this support forum, should work:

    $user_id = get_current_user_id(); echo do_shortcode( "[stickylist id='3' user='" . $user_id . "']");

    What am I doing wrong??

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, im not expert, but i see U are writing wrong “shortcode”.

    Im showing sticky list for current user by this code:

    [stickylist id=”1″ user=”85″ showto=”creator”]

    Regards

    Plugin Author fried_eggz

    (@fried_eggz)

    Yes. That is correct. First var is what form, seccond is by what user, and third is who can see/edit it

    This doesn’t work if you are an admin. Admin always sees all results. I’d like for admin to only see their results on the frontend same as everyone else.

    If admin needs to see other peoples results they can always view in the backend.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘user ID not working, displaying posts by all users’ is closed to new replies.