Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • in reply to: Redirect After Login #7986
     knuhkles
    Participant

    Here guys… this is my snippet… it works

    add_action( ‘template_redirect’, ‘my_redirect_home’ );

    function my_redirect_home()
    {
    if( is_user_logged_in() && is_front_page() )
    {
    wp_redirect( site_url( ‘/logged-in’ ) );
    exit();
    }
    }

    in reply to: Redirect After Login #7172
     knuhkles
    Participant

    ok so the final code should be this…

    COPY CODE
    
    /* Filter the redirect url for login*/
    add_filter("login_redirect","kleo_redirect_to_profile",100,3);
     
    function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){
    /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/
        if(!is_super_admin($user->ID))
           return '/my_page_link';
        else
            return $redirect_to_calculated; /*if site admin*/
    }
    
    in reply to: Redirect After Login #7056
     knuhkles
    Participant

    looking for it to redirect to a specific page (other than the homepage) after a successful login…

    in reply to: "Read More" Not working on mobile view #3062
     knuhkles
    Participant

    ok thank you.. also how do you take compatibility match under buddy press profiles.. since this is a fitness site i don’t need compatibility with hearts on it…:). And how can i add a feature to upload pictures directly into the forums with out it being an attachment in bbpress?

    in reply to: "Read More" Not working on mobile view #3016
     knuhkles
    Participant

    Ok using chrome on all 3

    in reply to: "Read More" Not working on mobile view #3013
     knuhkles
    Participant

    Ok…I have the s3 and my wife has the s4 and my friend had the note… all the same

    in reply to: "Read More" Not working on mobile view #3011
     knuhkles
    Participant

    Correct… I noticed some mobile devices it works on…. most not.. you click on it and nothing happens.

    in reply to: "Read More" Not working on mobile view #2973
     knuhkles
    Participant

    website: fitassets.com

     knuhkles
    Participant

    Ok this how i fixed it.. i tried your solution it didnt work. I contacted my hosting provider and they were running a script to disable it due to security reasons.. So they disabled it. Now it works…

    One thing i would like to point out. In your video embed… the power button to close the video doesn’t work on ipad… also the read more link on your posts carousel doesn’t work either when you click on it (Only from a mobile device)

     knuhkles
    Participant

    No still didn’t work

     knuhkles
    Participant

    the website is fitassets.com

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

Log in with your credentials

Forgot your details?