WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. filebed
    Member
    Posted 1 year ago #

    HI,

    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

    http://wordpress.org/extend/plugins/2-click-socialmedia-buttons/

  2. H.-Peter Pfeufer
    Member
    Plugin Author

    Posted 1 year 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

About this Topic