Many small and large businesses are using WordPress internally as a 协作工具 by combining it with tools like 编辑流程, 用户角色管理, and 待办事项清单. Using WordPress as an internal communication system is proving to be very effective for these organizations. In this article, we will show you how to make an internal communication system in WordPress using P2 Theme.
许多大小企业都在内部将WordPress与编辑流程 , 用户角色管理和任务列表类的工具结合使用,以此作为协作工具 。 对于这些组织而言,使用WordPress作为内部通信系统已被证明非常有效。 在本文中,我们将向您展示如何使用P2 Theme在WordPress中构建内部通信系统。

什么是P2主题? (What is P2 Theme?)
P2 是一个 WordPress 主题,它将 WordPress 驱动的网站转变为类似 Twitter 的实时状态更新、博客发布、评论工具。它消除了前往管理区域撰写帖子的需要。您可以直接从网站的主页发布内容。它具有串联的内嵌评论,这些评论出现在首页的每个帖子下方。它由 Ajax 提供支持,使发布和评论变得超级快。
P2 是一个 WordPress 主题,可将您的 WordPress 驱动的网站转变为类似 Twitter 的实时状态更新、博客发布、评论工具。它消除了前往管理区域撰写帖子的需要。您可以直接从网站主页发帖。它带有内嵌评论,出现在主页上每个帖子的下方。它由 Ajax 提供支持,使发帖和评论速度超级快。
The most famous example of a P2 site in action is the WordPress 制作 site. Where developers, contributors, and other WordPress users can participate in discussions surrounding the WordPress development.
运作中的P2网站最著名的例子是WordPress 制作网站。 开发人员,贡献者和其他WordPress用户可以在其中参与有关WordPress开发的讨论。
如何将P2设置为内部通讯系统 (How To Set Up P2 as Internal Communication System)
P2 can be installed on any WordPress site. Since we are showing you how to use it as an internal communication system, we are assuming you might want to keep it private. The first thing you would need to do is install and activate P2主题 on your local intranet or on a subdomain.
P2可以安装在任何WordPress网站上。 由于我们向您展示了如何将其用作内部通信系统,因此我们假设您可能希望对其进行保密。 您需要做的第一件事是在本地Intranet或子域上安装并激活P2主题 。
设置P2主题选项 (Setting up P2 Theme Options)
Once you have activated P2 theme, then you need to go to 外观 » 主题选项. On this page, you can choose a custom background color, select a background image if you want, hide the sidebar and titles, etc. But most importantly, you can set posting access here. Check the box next to allow any registered member to post and save your settings.
激活P2主题后,您需要转到外观 » 主题选项 。 在此页面上,您可以选择自定义背景色,根据需要选择背景图像,隐藏侧边栏和标题等。但是最重要的是,您可以在此处设置发布访问权限。 选中旁边的框,以允许任何注册成员发布并保存您的设置。

Now that we have enabled posting access in P2, the next step is to open up your site for user registration. All you need to do is go to 设置 » 常规 and check the box next to 任何人都可以注册 field.
现在我们已经启用了P2中的发布访问权限,下一步是打开您的网站进行用户注册。 您所需要做的就是转到“设置”»“常规”,然后选中“ 任何人都可以注册”字段旁边的框。

Since P2 is designed to encourage discussions, comments are an integral part of its design. You can go to 设置 » 讨论 and check the box next to ‘用户必须注册并登录才能发表评论‘.
由于P2旨在鼓励讨论,因此注释是其设计的组成部分。 您可以转到设置»讨论,然后选中“ 用户必须注册并登录才能发表评论 ”旁边的框。
添加前端登录和注册表格 (Adding Front-end Login and Registration Forms)
So far we have enabled user registration and allowed those users to post on the site. Next you would want to add login and registration forms to your website. To add front-end login and registration form, we recommend that you install and activate the 主题 我的登录 plugin. Upon activation, the plugin adds a TML menu item in your WordPress admin sidebar. Clicking on it will take you to plugin’s settings page.
到目前为止,我们已经启用了用户注册并允许这些用户在网站上发布。 接下来,您想将登录和注册表格添加到您的网站。 要添加前端登录和注册表单,我们建议您安装并激活主题 我的登录插件。 激活后,该插件会在您的WordPress管理员侧边栏中添加一个TML菜单项。 单击它会将您带到插件的设置页面。

On the plugin settings page, check the box next to Themed Profiles option and hit the save changes button. You will notice that a new menu item for “主题简介” would appear under TML menu. Click the button, and it will take you to themed profiles settings. Here you need to restrict admin area access to all user roles.
在插件设置页面上,选中“主题配置文件”选项旁边的框,然后单击“保存更改”按钮。 您会注意到, “主题配置文件”的新菜单项将出现在TML菜单下。 单击按钮,它将带您进入主题配置文件设置。 在这里,您需要将管理区域访问权限限制为所有用户角色。

这将保护您的 WordPress 管理区域,并且包括管理员在内的所有用户都将被重定向到您网站前端的登录表单。作为管理员,您可以通过在浏览器中输入 URL 来转到管理区域。登录后您将被重定向到管理仪表板。其他用户将被重定向到他们的主题个人资料。
这将保护您的 WordPress 管理区域,并且所有用户(包括管理员)将被重定向到您网站前端的登录表单。作为管理员,您可以通过在浏览器中输入 URL 来进入管理区域。登录后,您将被重定向到管理控制台。其他用户将被重定向到他们的主题配置文件。
Now it’s time to add login form to the sidebar. Simply go to 外观 » 小部件 and drag and drop Theme My Login Widget to your sidebar.
现在是时候将登录表单添加到侧边栏了。 只需转到外观 » 小部件 ,然后将主题我的登录小部分拖放到侧边栏中。

修改P2主题的外观 (Modifying P2 Theme’s Appearance)
P2 Theme has a very simplistic layout and there are very few things you can do to enhance its appearance. You can upload a custom header image from 外观 » 标题. You can also choose a custom background from 外观 » 定制. However, if you would like a complete make over, then there are a few P2 child themes available for you to use. Alternatively, you can create your own child theme.
P2主题的布局非常简单,您几乎无法做任何事情来增强其外观。 您可以从外观»标题上传自定义标题图片。 您也可以从外观»定制选择自定义背景。 但是,如果您想彻底改头换面,那么可以使用一些P2子主题。 或者,您可以创建自己的子主题。
向P2主题添加更多功能 (Adding More Features to P2 Theme)
You can use all WordPress plugins with your P2 Theme. For example, you may want to 监控用户活动 or add 社交媒体插件. However, there are some plugins that are specifically written for P2 and you would want to give them a try.
您可以将所有WordPress插件与P2主题一起使用。 例如,您可能想监控用户活动或添加社交媒体插件 。 但是,有些插件是专门为P2编写的,您可以尝试一下。
- 更多隐私选项 – Allows you to make your P2 Intranet Site viewable only by registered users.更多隐私选项 –允许您使P2 Intranet网站只能由注册用户查看。
- P2 点赞数 – Adds an option for users to like a post or comment.P2点赞 –为用户添加喜欢帖子或评论的选项。
- 谁在线上 – Shows currently online users on your P2 site谁在线 -显示您P2网站上当前在线的用户
- 已解决的帖子 – Add a resolve or unresolved status to posts in P2
- 已解决的帖子 –向P2中的邮政添加已解决或未解决的状态
就这样。您现在已经设置了一个功能强大的基于 WordPress 的应用程序,可以与您的同事和团队成员进行内部通信。你很快就会发现 P2 不仅可以改善团队成员之间的沟通,还可以让事情变得有趣。
就这样。现在,您已经构建了一个功能强大的基于 WordPress 的应用程序,用于与同事和团队成员进行内部通信。您很快就会发现 P2 不仅改善了团队成员之间的沟通,而且还让事情变得有趣和有趣。
请在下面的评论中告诉我们您如何使用 P2。
请在下面的评论中告诉我们您如何使用 P2。