[wordpress插件] Buddypress xProfile Rich Text FieldBuddypress xProfile富文本字段

wordpress 插件 文章 2020-03-11 00:20 509 0 全屏看文

AI助手支持GPT4.0

评分
90
描述

The Buddypress xProfile Rich Text Field plugin adds a Rich-text Editor custom field type to Extended Profiles in BuddyPress.

Buddypress xProfile Rich Text Field插件将Rich-text Editor自定义字段类型添加到BuddyPress中的Extended Profiles。

Please note: this plugin is no longer required because its functionality has been implemented since BuddyPress 2.4.

请注意:不再需要此插件,因为自BuddyPress 2.4起已实现了其功能。

Having said that, if you already have data in xProfile fields of this type, you will need to keep this plugin active.

话虽如此,如果您已经在xProfile字段中拥有此类型的数据,则需要保持此插件处于活动状态。

See:

参见:

https://buddypress.trac.wordpress.org/ticket/5625

https://buddypress.trac.wordpress.org/ticket/5625

If you are using BuddyPress 2.0+ and your theme does not use compatibility mode (ie it supplies its own BuddyPress template files) then you will have to update your theme's members/single/profile/edit.php

如果您使用的是BuddyPress 2.0+,并且您的主题不使用兼容模式(即,它提供了自己的BuddyPress模板文件),那么您将必须更新主题的 members / single / profile / edit.php

code> and registrationegister.php (or membersegister.php) templates so that they match the new way of displaying xProfile fields.

code>和 registration / register.php (或 members / register.php )模板,以便它们与显示xProfile字段的新方式匹配。

You can refer to the relevant BuddyPress files to see how that’s now being done.

您可以参考相关的BuddyPress文件,以了解目前的情况。

These are bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

这些是 bp-templates / bp-legacy / buddypress / members / single / profile / edit.php

and bp-templates/bp-legacy/buddypress/membersegister.php.

bp-templates / bp-legacy / buddypress / members / register.php

安装步骤

    1. Extract the plugin archive
    2. 提取插件存档

    3. Upload plugin files to your /wp-content/plugins/ directory
    4. 将插件文件上传到您的 / wp-content / plugins / 目录

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/bp-xprofile-rich-text-field.0.2.5.zip
-EOF-

AI助手支持GPT4.0