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

Fan Page

描述

Fan Page Plugin enables Facebook Page admins to promote their Pages and embed a simple feed of content from a Page into any WordPress blog. Fan Page plugin enables users to:

  • See how many users already like this Page, and which of their friends like it too
  • Read recent posts from the Page
  • Like the Page with one click, without needing to visit the Page
  • See Page Events
  • Send messages to your Page*

*To enable messaging on your Facebook page go to your Page Settings. In the row Messages check Allow people to contact Facebook Page privately by showing the Message button

You can easily integrate Like Page using WordPress Widgets and Shortcodes. Visit Plugin Page for more info and examples.

Other Plugins

  • WP To Do – Responsive WordPress To Do List
  • Embed Twitter Timeline – Embed Twitter Timeline helps you easily embed and promote Twitter Profile or twitter timeline

螢幕截圖

  • Widget in the dashboard.
  • Widget with posts on the sidebar.

安裝

  1. Upload fan-page directory to your /wp-content/plugins directory
  2. Activate plugin in WordPress admin

Customization

  1. In WordPress dashboard, go to Appearance > Widgets.
  2. Drag and Drop Fan Page into your sidebar.
  3. Click triangle near Fan Page header.
  4. Enter your Facebook Page URL (not your profile URL).
  5. Choose width, height and other options you like.

or

Use [fanpage] shortcode inside your post or page. This shortcode support all default parametrs:

  • url – any Fan Page URL (not your personal page!)
  • width – number (min 280, max 500)
  • height – number
  • hide_cover – true or false
  • show_facepile – true or false
  • small_header – true or false
  • timeline – true or false
  • events – true or false
  • messages – true or false
  • locale – valid language code (e.g. en_US or es_MX) see .xml file with all Facebook locales

If you want Fan Page Plugin 320 pixels width and showing posts you need to use it next way:

[fanpage width=320 show_posts=true url=http://www.facebook.com/yourPageName]

or

Use fanpageplugin() template tag in your theme files.

<?php if ( function_exists("fanpageplugin") ) {
    $args = array(
        'url'           => 'http://www.facebook.com/Delower-103206595201617',
        'width'     => '300',
        'hide_cover'=> true,
        'locale'        => 'en_US'
    );
    fanpageplugin( $args );
} ?>

常見問題

I see the message “Error: Not a valid Facebook Page url.”. What am I doing wrong?

Fan Page Plugin is only for Pages and not for Profiles, Events and Groups.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Fan Page” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Fan Page 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

Very first release

1.0.1

readme.txt updated