I am using Sociable plugin on my home.php under my theme. I added this to the code <?php if( function_exists( do_sociable() ) ){ do_sociable(); } ?> and it works fine. The problem is what it sends to facebook is not the default url but instead it sends the first permalink from the first post in the list. Below is what it sends http://www.cateringservicenj.com/catering-service-manalapan-nj-07726.
Does anyone know why it would not send the base url?
So, i know why know it is happening, just don’t know how to fix it. I am using the /%postname% for the permalink setting. Apparently the home.php just picks up the first post name to pass to facebook. Anyone know how to override that just for the homepage? Is there any way to add a permalink to the home.php?
Viewing 1 replies (of 1 total)
The topic ‘Sociable using Shortcode on Home.php’ is closed to new replies.