WordPress.org

Ready to get started?Download WordPress

Forums

Sociable
Sociable using Shortcode on Home.php (2 posts)

  1. joetheslacker
    Member
    Posted 1 year 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
    http://www.cateringservicenj.com/catering-service-manalapan-nj-07726.

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

    http://wordpress.org/extend/plugins/sociable/

  2. joetheslacker
    Member
    Posted 1 year 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

About this Topic