跳到内容

Sewn In Template Log In

v1.1.4

Jupitercow · 2015年6月18日 上架

Creates a log in page at /login/ and manages password recovery and user notification feedback for the log in process.

正在使用
20+
评分
5.0 / 5
累计下载
5,391
最近更新
2015年12月22日
1 条评价需要 WordPress 3.6.1+已测试到 4.4.34

截图

A log in form example
A log in form example
Password recovery form
Password recovery form

Creates a log in page at /login/ and manages password recovery and user notification feedback for the log in process. Everything gets managed within your page.php template or page-login.php template in order to fit into the theme better.

By default, this plugin creates a virtual page, but if you add a page with slug ‘login’, the plugin will begin to use that.

Add a redirect for logged in users

Controls where logged in users go when they login or when they visit the ‘/login/’ page. You can either return the post_id of the post/page to send them to, or the slug of the post/page to send them to.

// Redirect using post id
add_filter( 'sewn/login/logged_in_redirect', 'custom_sewn_logged_in_redirect_id' );
function custom_sewn_logged_in_redirect_id()
{
    return 4;
}



// Redirect using post slug
add_filter( 'sewn/login/logged_in_redirect', 'custom_sewn_logged_in_redirect_slug' );
function custom_sewn_logged_in_redirect_slug()
{
    return 'post-slug';
}

Sewn In Notification Box Support

If you install the Sewn In Notification Box, this plugin will start using that. This is handy to keep all of your notifications in a centralized location.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums