Title: User Info Login Shortcode
Author: D'Arcy Norman
Published: <strong>2010 年 1 月 26 日</strong>
Last modified: 2019 年 10 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/userinfologinshortcode.svg)

# User Info Login Shortcode

 作者：[D’Arcy Norman](https://profiles.wordpress.org/dnorman/)

[下载](https://downloads.wordpress.org/plugin/userinfologinshortcode.zip)

 * [详情](https://cn.wordpress.org/plugins/userinfologinshortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/userinfologinshortcode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/userinfologinshortcode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/userinfologinshortcode/#developers)

 [支持](https://wordpress.org/support/plugin/userinfologinshortcode/)

## 描述

I needed a way to display login form on the front page of a WPMU network if a person
wasn’t already logged in, and a bit of info about the user, a list of their sites,
a link to create a new one, and a link to logout. I could have done it by hacking
the theme’s templates, but that locks you into a specific theme. With the shortcode,
any theme can display this, on any page (or post, but why would you do that? whatever.
it’s your site…)

## 屏幕截图

 * [[
 * User login form, displayed if a person is not logged in yet.
 * [[
 * User info, blogs list, create site, and logout link. Displayed if a person is
   already logged in.

## 安装

This section describes how to install the plugin and get it working.

 1. Download the userinfologinshortcode.zip file to a directory of your
     choice (preferably
    the wp-content/plugins folder)
 2. Unzip the userinfologinshortcode.zip file into the wordpress
     plugins directory:‘
    wp-content/plugins/’
 3. 通过WordPress的的“Plugins”菜单激活插件
 4. Include the [user_info_login] shortcode in any page you wish to include the blog_members
    display. It may make the most sense to do this on the front page of the site.

## 常见问题

  How do I use the plugin?

When you write or edit the content of a page, simply include
 [user_info_login] (
along with the brackets) whenever you want the info/login to be displayed. Make 
sure you activate the plugin before you use the shortcode.

  Why is the Info/Login stuff not displayed, even though I included the shorttag?

The plugin probably has not yet been activated.

## 评价

此插件暂无评价。

## 贡献者及开发者

「User Info Login Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ D’Arcy Norman ](https://profiles.wordpress.org/dnorman/)

[帮助将「User Info Login Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/userinfologinshortcode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/userinfologinshortcode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/userinfologinshortcode/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/userinfologinshortcode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/userinfologinshortcode/)。

## 更新日志

#### 0.2.1

 * fixing minor bug in multisite url generation for login/signup links

#### 0.2

 * cleaned up for non-multisite use (but really, this plugin is kind of useless 
   outside of multisite)
 * updated some of the display code so that it actually works now. again.

#### 0.1

 * First draft of the plugin. It’s not parameterizable yet.

## 额外信息

 *  版本 **0.2.1**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  语言
 * [English (US)](https://wordpress.org/plugins/userinfologinshortcode/)
 * 标签
 * [login](https://cn.wordpress.org/plugins/tags/login/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [wpmu](https://cn.wordpress.org/plugins/tags/wpmu/)
 *  [高级视图](https://cn.wordpress.org/plugins/userinfologinshortcode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/userinfologinshortcode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/userinfologinshortcode/reviews/)

## 贡献者

 *   [ D’Arcy Norman ](https://profiles.wordpress.org/dnorman/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/userinfologinshortcode/)