该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Fan Page” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Fan Page”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

Very first release

1.0.1

readme.txt updated