Add a Facebook “like” button to WordPress

Adding a facebook “like” button to your WordPress post is a snap. Just add this code in your single.php template.
<iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo rawurlencode(get_permalink()); ?>&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" id="facebook-like"></iframe>

Jeff Roberts Web Design
7700 Howe Drive
Prairie Village, KS 66208

Copyright 2018. All Rights Reserved.