Support » Fixing WordPress » Add/share function code posts a mess on FB

  • When I share a blog post, this is what shows up on Facebook with the relevant pic.

    The Sweetness of HootSuite | Inksnatcher
    <!–//–><![CDATA[//><!– PDRTJS_settings_2684520_post_2937={“id”:2684520,”unique_id”:”wp-post-2937″,”title”:”The%20Sweetness%20of%20HootSuite”,”permalink”:”http:\/\/\/blog\/the-sweetness-of-hootsuite”,”item_id”:”_post_2937″}; //–><!]]>I’ve been using HootSuite for about t…

    The code is written into the template:

    <?php if ($tz_enable_fb == “true”) { /* Display Facebook link if checked in theme options */ ?>
    <li class=”fb”>?t=<?php the_title(); ?>” title=”Post to Facebook”>Post to Facebook
    <?php } ?>

    What can I do to simply have the title and first sentence or two of the post?

  • The topic ‘Add/share function code posts a mess on FB’ is closed to new replies.