Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would like to know how to restrict the next event button to same category also.

    Hi Alberto, Thanks for your response but would you mind being a bit more specific, I have only just begun to edit plugins…

    The text that needs to be edited is – if I am correct? – the last line of the following:
    // LOGIN
    if ( isset( $_REQUEST[‘action’] ) && $_REQUEST[‘action’] == ‘login’ ) {
    $login_url = get_option( ‘cl_login_url’, ”);
    if ( $login_url != ” )
    $url = $login_url;
    $user = wp_signon();
    if ( is_wp_error( $user ) )
    $url = add_query_arg( ‘authentication’, ‘failed’, $url );
    else
    $url = add_query_arg( ‘authentication’, ‘success’, $url );

    wp_safe_redirect( $url );

    Please could you tell me exactly what I would need to write to redirect to a specific page or original page.

    Your help is much appreciated.

    Hi, I would like the answer to this too please. Could you please tell me what the line would look like to either redirect to homepage/specific page or the page that was logged in from.

    Thanks

    Thread Starter Tasty Badger

    (@tasty-badger)

    Thanks for your quick reply.

    I changed it to root directory instead of install directory and all has reappeared :/ It was working fine on install directory previously so not sure what happened there.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)