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

Simple Like Page Plugin

外掛說明

描述

Simple Like Page Plugin enables Facebook Page admins to promote their Pages and embed a simple feed of content from a Page into any WordPress blog. The Facebook Page Plugin we use in our 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 my 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.

Our Premium Plugins

Visit our CodeCanyon Portfolio to see plugins reviews and prices.

螢幕擷圖

  • Widget in the dashboard.
  • Simple Widget on your website.
  • Widget with posts on your website.

安裝方式

Installation

  1. Upload simple-facebook-plugin 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 SFP – Like Page Plugin into your sidebar.
  3. Click triangle near SFP – Like Page Plugin header.
  4. Enter your Facebook Page URL (not your profile URL).
  5. Choose width, height and other options you like.

or

Use [sfp-page-plugin] 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 Page Plugin 320 pixels width and showing posts you need to use it next way:

[sfp-page-plugin width=320 show_posts=true url=http://www.facebook.com/yourPageName]

or

Use sfp_page_plugin() template tag in your theme files.

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

常見問題集

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

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

使用者評論

2019 年 1 月 10 日
If any free plugin deserves a top rating, its this plugin. I'll be more than happy to donate $$$ if available. wink!
2018 年 10 月 2 日
I had a problem with the plugin in my theme, but topdevs' support helped me out in less than 2 days. Thanks a lot! You are great!
2018 年 7 月 3 日
A shame they decided to add a SPAM ad for Oxygen to the dashboard. Yes, you can dismiss it, but it is very poor practice to put it there in the first place.
2017 年 8 月 16 日
Had to ditch the "official" Facebook plugin as it was not compatible with PHP 7.0 or 7.1. This little Hucker is! Thanks Fornyhucker
閱讀全部 23 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Like Page Plugin〉的開發相關工作。

參與者

將 Simple Like Page Plugin 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.5

  • Added Events and Messages tabs
  • Added Small Header Option
  • Fixed PHP7 Warning and Notice messages
  • Removed deprecated Like Box widget

1.4.1

  • Redirect issue fixed

1.4

  • Deprecated “Like Box” replaced with new Facebook “Page Plugin”

1.3

  • Add-on support added

1.2.2

  • Option to show Like Box with no border changed to native Facebook data-show-border=false

1.2.1

  • Added option to show Like Box with no border
  • Added Norwegian(bokmal) locale to widget

1.2

Plugin structure reorganized. Shortcode and template tag functionality added

1.1

More than 20 Facebook Locales added