Quirk redirect after login | WordPress.org

function loginRedirect( $redirect_to, $request, $user ) {

if ( is_a( $user, ‘WP_User’ ) && $user->has_cap( ‘edit_posts’ ) === false ) {

return get_bloginfo( ‘siteurl’ );

}

return wp_safe_redirect( wp_get_referer() );}

add_filter( ‘login_redirect’, ‘loginRedirect’, 10, 3 );

In this case the link in the page that point to “wp-login.php” redirect directly to the current page and the user haven’t the possibility to log-in.

Source: Quirk redirect after login | WordPress.org

How to Add a Shortcode in WordPress? (Ultimate Guide)

How to Add a Shortcode in WordPress? (Ultimate Guide)

Shortcodes are an easy way to add dynamic content into your WordPress posts, pages, and sidebars.

Many WordPress plugins and themes use shortcodes to add specialized content like contact forms, image galleries, sliders, and more.

In this article, we will show you how to easily add a shortcode in WordPress. We will also show you how to create your own custom shortcodes in WordPress.

Source: How to Add a Shortcode in WordPress? (Ultimate Guide)

Passwordless Login – WordPress plugin | WordPress.org

Passwordless Login – WordPress plugin | WordPress.org

Description

Passwordless Login is a modern way of loggin into your WordPress site without the use of a password.

Join the discussion here: http://www.cozmoslabs.com/31550-wordpress-passwordless-login/

This is how it works:

Instead of asking users for a password when they try to log in to your website, we simply ask them for their username or email

The plugin creates a temporary authorization token and saves it in a WordPress transient that expires after 10 minutes

Then we send the user an email with a link and the token

The user clicks the link and sends the authorization code to your server

The plugin then checks if the code is valid and creates the log in WordPress cookie, successfully authenticating the user.

Source: Passwordless Login – WordPress plugin | WordPress.org