More Customers. Less Cost. Zero Headaches.
Affordable, Full Service Customer Generation.

free-estimate

Fact:

Today there will be millions of searches performed on the Internet, many of them looking for exactly what you are selling. ex. Everest Treks

Get Found

Latest Customer

Coconu’s coconut oil-based formula is the only USDA-certified organic lubricant you can buy.

site: http://www.coconu.com 

Let's get social

How to Add a Facebook Recommend Button with Dynamic URL's

facebook recommend button

After hours of searching and trying many techniques I have found the snippet of code you need to easily add the Facebook recommend button to every page of a dynamicly generated page. Should work with Joomla, Wordpress, Drupal and any other PHP based CMS.

Here is the code you need to paste:

 <iframe src="http://www.facebook.com/widgets/like.php?href=<?php  echo "http://" . $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>&layout=button_count&show_faces=false&width=110&action=recommend&font=tahoma&colorscheme=light&height=30"
scrolling="no" frameborder="0" style="border:none; width:125px; height:30px" allowTransparency="true"></iframe>

This is the code I have used on this page to get the "Recommend" button in the top right hand side of the article below the star rating. Let me know if you have any trouble getting it to work.

Last modified on Wednesday, 03 August 2011 23:10