TIME SENSITIVE: Can register, but I don't get logged in

Really trying to get this working

on this page you register https://www.mindfulscience.es/suscripcion-mensual-registro/

then you are redirected to https://www.mindfulscience.es/suscripcion-mensual its this page that should only show the payment form and it will if the system recognizes that I am logged in. I am trying to integrate this gravity form with Restrict Content Pro.. I had this working weeks ago and now I can’t figure out how to get the system to recognize I am logged in after I register.

This is the tutorial I am using https://beckydavisdesign.com/integrating-gravity-user-registration-with-restrict-content-pro/

And that’s what I have setup.

Please help, this is time sensitive, been working on this since midnight, setting up form, styling etc.,

Thanks in advanced.


  • Nahid
    • Tech Support

    Hi ME Admin !

    Hope you are having a great day!

    I believe you want to show the Gravity Form only if the user is logged in. To achieve this you can use this pretty handy plugin. Install the plugin and wrap up your Gravity Forms shortcode with the Private Content shortcode like this

    [private role="subscriber"]
    [Your Gravity Form Shortcode]

    This will show your form only to the logged-in users. If you are using custom template for your page, you can wrap up your code for the Gravity Form like the following:

    // Check if user is logged in
    if ( is_user_logged_in() ){
    // Gravity Forms code
    // Alternative Content

    Hope this solves your issue.




Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.