Sociable using Shortcode on Home.php (2 posts)

  1. joetheslacker
    Posted 2 years ago #

    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

    Does anyone know why it would not send the base url?


  2. joetheslacker
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sociable
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic