Like & Sharing Buttons

  • Unknown's avatar

    I have enabled the sharing and like functions for all of my posts Under Settings>Sharing. I have also enabled Like button in the Jetpack Plugin. Even though I have enabled these they do not show up on any of my posts. I’m not sure what the problem is, but if you could help me that would be great!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    It appears that your theme Naya Lite isn’t set up to use Jetpack’s sharing and like features. It appears the theme developer used some custom PHP that isn’t in typical WordPress themes – they’re prefixing normal Loop items with sampression_.

    Jetpack, by default, just attaches sharing/likes to two filters — the_content() and the_excerpt() — so that the Sharing icons and Like button get displayed. If they’re using custom filters, this would explain why the buttons aren’t showing up for you.

    To add that functionality to your theme, you will need to edit your theme files. If you want to add sharing and like buttons, you can insert the following code somewhere in the Loop:

    <?php echo sharing_display(); ?>

    You would need to add that to every post template page in your theme (index.php, single.php, etc).

    If you have further trouble, you would need to contact your theme developer for assistance due to those custom PHP items they’re using.

    I hope that clarifies things!

  • The topic ‘Like & Sharing Buttons’ is closed to new replies.