• Resolved shubhangi06

    (@shubhangi06)


    Hello there,
    I m facing a problem in profile page right now the page is look like this (https://imgur.com/dhffWD2) however i don’t want to look page like this

    so the point when customer land on profile page then are unable to see the field where they fill there data
    however they click on edit profile they are able to see all the field which i have created you can see in this screenshot(https://imgur.com/Wkkdk9x)

    Note:so what i need is whenever customer will land on profile page they are able to fill the data. if you can add the field in profile page about tab section
    (https://i tabmgur.com/Wkkdk9x)

    you can also refer this video
    https://www.awesomescreenshot.com/video/3835055

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @shubhangi06

    You can try adding this code snippet to your theme’s functions.php file or use a Code Snippet plugin to run this code:

    add_action("template_redirect","um_052421_redirect_to_editpage");
    function um_052421_redirect_to_editpage(){
    
        if( ! function_exists('um_is_core_page') ) return;
        if( ! isset( $_REQUEST['um_action'] ) && $_REQUEST['um_action'] !== "edit" ){
                wp_redirect( um_get_core_page("user")."?um_action=edit" );
                exit;
        }
    }

    Regards,

    Thread Starter shubhangi06

    (@shubhangi06)

    hello there,
    after putting this code

    add_action("template_redirect","um_052421_redirect_to_editpage");
    function um_052421_redirect_to_editpage(){
    
        if( ! function_exists('um_is_core_page') ) return;
        if( ! isset( $_REQUEST['um_action'] ) && $_REQUEST['um_action'] !== "edit" ){
                wp_redirect( um_get_core_page("user")."?um_action=edit" );
                exit;
        }
    }

    i m unable to see other pages
    you can check below video link

    https://www.loom.com/share/6a8c3ebe201f4b6bb7f55ed35a02ab84

    please do need ful help sir

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @shubhangi06

    Please try this one:

    add_action("template_redirect","um_052421_redirect_to_editpage");
    function um_052421_redirect_to_editpage(){
    
        if( ! function_exists('um_is_core_page') ) return;
        if( um_is_core_page("user") && ! isset( $_REQUEST['um_action'] ) && $_REQUEST['um_action'] !== "edit" ){
                wp_redirect( um_get_core_page("user")."?um_action=edit" );
                exit;
        }
    }

    Regards,

    Thread Starter shubhangi06

    (@shubhangi06)

    After applying this code i’m seeing page not found

    https://partywithme.co.in/
    Login details
    neha
    Thakur@123

    you can check this error

    so the Point is after login it shows me page not found

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @shubhangi06

    Sorry for the late response. Just checking if you’re still having issues? I tested the code snippet above and I didn’t encounter the issue on our end. Maybe try changing your permalink structure to use %post_name%

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to see a form in profile page’ is closed to new replies.