irkanu / simple-facebook-page-widget Goto Github PK
View Code? Open in Web Editor NEWShows the Facebook Page feed in a sidebar widget and/or via shortcode.
Home Page: https://wordpress.org/plugins/simple-facebook-twitter-widget/
Shows the Facebook Page feed in a sidebar widget and/or via shortcode.
Home Page: https://wordpress.org/plugins/simple-facebook-twitter-widget/
PHP Deprecated: Function create_function() is deprecated.
Also, make sure there are no other PHP 7.2 Notices or Errors.
https://wordpress.org/support/topic/eprecated-function-create_function-is-deprecated/
I get this Issue if I try the Widget
Notice: Undefined index: app_id in /Applications/MAMP/htdocs/wordpress-4/wp-content/plugins/simple-facebook-twitter-widget/simple-facebook-page-plugin.php on line 170
Facebook allows you to set the language https://developers.facebook.com/docs/plugins/page-plugin#language
So you can simply grab WordPress's language setting and use that as a parameter while grabbing the Page Plugin to make the plugin multilingual.
Hello,
I noticed that wp_enqueue_script invocation as done by plugin is a bit problematic:
wp_enqueue_script( 'sfpp-fb-root', SIMPLE_FACEBOOK_PAGE_DIR . 'js/simple-facebook-page-root.js', array( 'jquery' ), true );
$ver
(4th) parameter of wp_enqueue_script is set to true - it doesn't make much sense to me :) It basically sets version number to 1, I guess this was not intended and the true value was perhaps meant for the $in_footer
(5-th) parameter.Why this is an issue to me: the invocation as it is now makes it impossible to requeue jQuery in site footer, because it enqueues script declared as jQuery-dependent in site head.
Greetings,
Česlav
Hi
I can't seem to get the plugin to set a different width size when using it as a widget in my footer. I've set it to 400 height and 400 width and it isn't taking the width settings. Tried numerous settings - any ideas? It's set in my footer section at www.risengrind.co.uk
thanks
Adam
Facebook social plugins slow down page load, eroding user experience. Load the Page Plugin JS asynchronously. See hints at http://www.pcsteps.com/3260-add-facebook-page-plugin-asynchronous-code/
https://wordpress.org/plugins/facebook-fan-box-cache/ was a super plugin that managed to cache the Likebox. Can you learn from that to cache Page Plugin? Would be invaluable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.