Home Forums ACF PRO Fields visible only after login front-end


Fields visible only after login front-end

  • Hello all,

    I have a question.
    I would like that when you’re on my website to the membership page that you can not see the acf fields only if you are logged in, but not for all acf groeps or fields only for a certain group or fields

    Now I use acf pro and have installed a plugin wp-members on my server but if you look now he hides the page and there appears a login screen or registarie screen but the fields are still there. how can i solve this problem or is there a free membership plugin that i can use.

    mij test server is :

    if anyone can help me with that would be great
    ps sorry for my bad english, I do my best to improve it lol

    regards Manuel

  • Hi @manuelgort

    You can use the is_user_logged_in() function to check if the user is logged in or not. Maybe something like this:

    if ( is_user_logged_in() ) {

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Fields visible only after login front-end’ is closed to new replies.