开发者 | timwass |
---|---|
更新时间 | 2018年8月18日 05:47 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
easy-facebook-feed
to the /wp-content/plugins/
directory,[easy_facebook_feed]
on your page,[easy_facebook_feed id=bbcnews limit=3]
.Your facebook id can be found in the url of your facebook page, for example: https://www.facebook.com/bbcnews, is this example 'bbcnews' is the facebook id.
There are 2 optional shortcode parameters, id and limit. Id overwrites your default facebook id. Limit overwrites your default post limit. This way you can use different shortcodes for different pages and situations. Example: [easy_facebook_feed id=bbcnews limit=5]
.
You can add multiple Facebook feeds to the shortcode id separated by comma. For example: [easy_facebook_feed id=bbcnews,natgeo]
.
Yes you can, simple add <?php echo do_shortcode('[easy_facebook_feed]'); ?>
to your template.
Yes, to offer optimal website performance Easy Facebook Feed will automatically cache your feed data.
This is an issue with Jetpack Photon, Photon is breaking some of the image urls. Its recommended to disable Photon.