Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   AddToAny plugin integration (http://forum.bytesforall.com/showthread.php?t=20821)

anteem29 Aug 25, 2013 09:53 AM

AddToAny plugin integration
 
Would it be possible to get AddToAny plugin integration for Atahualpa? That would be so great. Isn't AddToAny one of the most downloaded sharing plugins on WordPress? It's frustrating to have custom code overwritten with theme updates I use this plugin on multiple sites. Simple code - if it could just be integrated.

// For the "AddToAny" plugin
if ( strpos($postinfo_string,'%addtoany%') !== FALSE ) {
ob_start();
if ( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) {
ADDTOANY_SHARE_SAVE_KIT();
$addtoany = ob_get_contents();
} else {
$addtoany = "";
}
ob_end_clean();
$postinfo = str_replace("%addtoany%", $addtoany, $postinfo);
}

paulae Aug 25, 2013 10:05 AM

I use this plugin on several Atahualpa sites, without changing code in the theme.


All times are GMT -6. The time now is 10:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.