
內容簡介
Buddypress xProfile Rich Text Field 外掛將在 BuddyPress 的 Extended Profiles 中新增一個 Rich-text 編輯器自訂欄位類型。
請注意:由於自從 BuddyPress 2.4 版以後,這個外掛的功能已經被實作,所以不再需要使用此外掛。但假如您已經在使用此外掛,並且已輸入此欄位的資料,那麼您仍需要讓此外掛保持啟用。詳情請參閱:
https://buddypress.trac.wordpress.org/ticket/5625
假如您正在使用 BuddyPress 2.0+,而您的佈景主題沒有使用相容模式(也就是它提供自己的 BuddyPress 樣板檔案),那麼您需要更新您的佈景主題的 members/single/profile/edit.php 和 registration/register.php(或 members/register.php)樣板,以使它們能夠配合這個新的顯示 xProfile 欄位的方式。您可以參考相關的 BuddyPress 檔案來了解新的顯示方式。這些檔案為:bp-templates/bp-legacy/buddypress/members/single/profile/edit.php和
bp-templates/bp-legacy/buddypress/members/register.php。
外掛標籤
開發者團隊
② 後台搜尋「Buddypress xProfile Rich Text Field」→ 直接安裝(推薦)
原文外掛簡介
The Buddypress xProfile Rich Text Field plugin adds a Rich-text Editor custom field type to Extended Profiles in BuddyPress.
Please note: this plugin is no longer required because its functionality has been implemented since 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. See:
https://buddypress.trac.wordpress.org/ticket/5625
If you are using BuddyPress 2.0+ and your theme does not use compatibility mode (i.e it supplies its own BuddyPress template files) then you will have to update your theme’s members/single/profile/edit.php and registration/register.php (or members/register.php) templates so that they match the new way of displaying xProfile fields. You can refer to the relevant BuddyPress files to see how that’s now being done. These are bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
and bp-templates/bp-legacy/buddypress/members/register.php.
