Adding The Facebook “Like” Button – CQ5

If you’re comfortable with HTML and want an easy way to add the Facebook “Like” button to your page, Facebook makes this easy for you with plugins. In CQ5, there’s a component available to custom migrations called “script” which makes this plugin available to use in your site.

  1. Copy this code snippet:
    <script src=”″></script><fb:like href=”” layout=”button_count” show_faces=”false”  font=””></fb:like>
  2. Add the “Script” component to your page in CQ and paste this snippet above into the component.
  3. Change the link in bold above to the correct page.
  4. Refresh the page and activate!

Here it is on the Web Communications home page:

Additional options are available from the Facebook Plugin page if you wish to try other display options:

One thought on “Adding The Facebook “Like” Button – CQ5

  1. Sweet post! I am just learning html and need all the help i can get. Facebook is awesome and I def want the button on my site so this helped a lot in trying to figure all that out thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *