O'Reilly logo

Mastering Magento Theme Design by Andrea Saccà

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding the Facebook Like box to the left sidebar

You have surely seen Facebook with the Like button and the classic box with smileys on a fan page. Now we are going to insert them in our theme in the left sidebar by performing the following steps:

  1. First, you need to go to https://developers.facebook.com/docs/plugins/like-box-for-pages/.
  2. Then, set all the parameters to customize your Like box. Set Width, Height, and the other options. In the Facebook Page URL option, you can add your Facebook page link. The following screenshot shows the plugin configuration page:
    Adding the Facebook Like box to the left sidebar

    After you have inserted all the fields, click on the blue button to get the code. In the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required