2 Click Social Media Buttons
Ajax powered WordPress Theme + 2 Click Social Media Buttons (2 posts)

  1. filebed
    Posted 3 years ago #


    I wrote a complete wordpress theme/site that ist using the 2 Click Social Media Buttons plugin. And it works fine!

    Now I was asked to make the whole thing work with Ajax, because the sidebar (containing category options) should always stay in place and not reload with every selection made. This is also working fine, because I found the Advanced Ajax Page Loader ( http://wordpress.org/extend/plugins/advanced-ajax-page-loader/ ) plugin.

    But now the social media buttons don't show up!

    I guess that's because the 2 Click Social Media Buttons plugin binds to the single.php (more precisely to the <head>-part perhaps?), so that in the end, when I go to a post, only the content of the post is loaded via Ajax, but not the social media buttons ... ???

    So, is there any chance I can make the social media buttons make show up, using Ajax the way I do? Or is there any other way to achieve this?

    Thanks for thinking about this :)

    Filipp Lebed


  2. H.-Peter Pfeufer
    Plugin Author

    Posted 3 years ago #

    The Ajax-Loader manipulates the DOM of your page so the conten can be displayed. But the needed scripts for the plugin can not be embedded this way. I only can guess, because I don't know the ajax-plugin and don't even know how it really works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • 2 Click Social Media Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic