Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Fan Page

Skildring

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

Skjermbilete

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

Installasjon

  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 );
} ?>

Vanlege spm.

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.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Fan Page” is open source software. The following people have contributed to this plugin.

Contributors

Omset “Fan Page” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

1.0.0

Very first release

1.0.1

readme.txt updated