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'           => 'https://www.facebook.com/WordPress/',
        '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.

Отзывы

02.10.2018
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!
03.07.2018 1 ответ
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.
16.08.2017 1 ответ
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.2

  • Teseted up to WordPress 6.3.2
  • PHP8.x Compatibility check
  • Security fixes for minor Authenticated (Contributor+) XSS vulnerability

1.5.1

  • Teseted up to WordPress 4.9.6

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