在Wordpress中共享登录

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Wordpress中共享登录相关的知识,希望对你有一定的参考价值。

paste it in wp-config.php and make sure the prefixes are right (wp_* is default)
also the blogs must be installed on the same database with different prefixes.

For example, you might have a primary blog with the table prefix wp_ on the database wordpress_blog and you install a new blog on the same wordpress_blog database but with a different prefix (this is important) - you can share the the primary blogs already populated user tables (in other words a shared login).
  1. define('CUSTOM_USER_TABLE','wp_users');
  2. define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

以上是关于在Wordpress中共享登录的主要内容,如果未能解决你的问题,请参考以下文章

用于登录的Wordpress共享用户数据库

如何允许 Laravel 和 WordPress 共享登录名?

markdown 在WordPress中使用jQuery代码片段

WordPress电子邮件共享按钮无法在Outlook中打开

如何在片段转换中淡出非共享视图?

WordPress - 代码片段插件