這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LH Personalised Content

外掛說明

This plugin allows one to personalise content for a logged in user or emails for a email recipeient that is in the user database. It uses shortcode type functionality in any email, page, post, or custpm post type. It extract stored details of the viewer or reader. A default text can be specified for situations where there are no stored details.

This can allow you to offer a more customised service for example with a more helpful unsubscribe link. Or you could create your own “profile” page for logged in users only.

Check out our documentation for more information.

All tickets for the project are being tracked on GitHub.

安裝方式

  1. In the wordpress admin plugin section of your site, click “Add New” or download and Unzip the file into your wordpress plugins folder.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the shortcode to your posts, pages, cpt’s or emails as described in the how to use section

How to use

Simplest: Put [lh_personalised_content]Content[/lh_personalised_content] in your page, post, or email template. eg: If you want to welcome only logged in users you could put [lh_personalised_content]Welcome logged in users[/lh_personalised_content]

This plugin also allows you to create personalised templates for logged in users or email recipients. By the use of placeholders based on wordpress user data. The following data is supported: %user_login% – the users username, %user_email% – the users email, %first_name% – the users first name, %last_name% – the users last name, %display_name% – the users display name, %ID% – the users ID, %description% – the users bio or description.

More attributes will be added in time.

The shortcode also has a loggedout attribute. This is only displayed to logged out users.

例如:

  • [lh_personalised_content]%display_name%[/lh_personalised_content] will display display name to logged in users and nothing to logged out users
  • [lh_personalised_content loggedout=”Hello guest”]%first_name%[/lh_personalised_content] will display the users first name to logged in users and “hello guest” to logged out users

  • [lh_personalised_content loggedout=”Hello guest”]the is %reset_url%[/lh_personalised_content] will display the users password reset url (via email) to the user and “hello guest” if the users email is not recognised

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LH Personalised Content〉的開發相關工作。

參與者

將〈LH Personalised Content〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Launch of the plugin

1.1

  • Enhanced documentation

1.2

  • Filter title

1.3

  • Output reset url

1.31

  • Paid membership pro fix