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.