I had a simple need these last few days… to display the feed of a Facebook page on a client site. Of course, I looked at the existing extensions and… I must admit that there are a ton of them!
A ton is good… but nothing really corresponded to my needs, because it was too complex to set up, required a Facebook account to create an application. In short, what I needed was simply what Facebook offers on its “plugin page”.
So of course… I could have coded my thing in my corner… and I said to myself… if I have the need, then surely others too… so make an extension my brave Séb !
A new extension by thivinfo.com
It is a very simple extension, there is a shortcode and a block for the new editor (thanks to Marie Comet).
The shortcode [\simple_wall]
waits for at least one slug
parameter which waits for the slug of your Facebook page…
Example : the short code [\simple_wall slug="MotoGP"]
(without the slash which has been added so that WP doesn’t interpret it) should display the feed of the Facebook page dedicated to this sport of which we are world champion (how do I get away from that ?).
Here it is in action:
[simple_wall slug=’MotoGP’]
The Gutenberg block “Simple Wall” is available in the list of blocks and also waits for the slug of the page to display.
The 2 other optional parameters are the width and the height of display.
The planned evolutions…
I use Twitter more (which is quite simple since I don’t have a FB account) and I wonder if I could evolve the extension to display the Twitter feed as well… tell me in comments if you’re interested.