Facebook Button
开发者 |
Geremy Miles
|
更新时间 |
2012年11月14日 00:50 |
PHP版本: |
2.5 及以上 |
WordPress版本: |
3.4 |
详情介绍:
You own a page in Facebook and you write about your website or blog.You want to show the Facebook Button with recent updates and fans, with a simple way just activate the plugin or insert this line of code anywhere in your theme:
<?php facebook_button('PROFILE_ID'); ?>
If you want to change updates visibility, maximun number of fans, width or css properties, you can simply do this:
<?php facebook_button('PROFILE_ID', 'STREAM', 'CONNECTIONS', 'WIDTH', 'HEIGHT', 'HEADER', 'LOCALE'); ?>
安装:
- Upload the facebook-button folder to your wp-content/plugins/ directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Visit http://www.facebook.com/pages/create.php to create a new page in Facebook.
Then edit your page and obtain the PROFILE_ID from the adress bar.
- Use this information to call the function inside your template or activate the widget.