From c5bd46e7c90b5505f5448a670a5e0d973ec81ec8 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 25 Oct 2018 11:19:55 +0200 Subject: [PATCH] functions/social: add diaspora* support --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 50c5654..8b37b9a 100644 --- a/functions.php +++ b/functions.php @@ -75,15 +75,17 @@ function mypost_social_sharing_buttons($content) { $bufferURL = 'https://bufferapp.com/add?url='.$mypost_URL.'&text='.$mypost_Title; $whatsappURL = 'whatsapp://send?text='.$mypost_Title . ' ' . $mypost_URL; $linkedInURL = 'https://www.linkedin.com/shareArticle?mini=true&url='.$mypost_URL.'&title='.$mypost_Title; + $diasporaURL = 'http://sharetodiaspora.github.io/?title=' . $mypost_Title . '&url=' . $mypost_URL; // Based on popular demand added Pinterest too $pinterestURL = 'https://pinterest.com/pin/create/button/?url='.$mypost_URL.'&media='.$mypost_Thumbnail[0].'&description='.$mypost_Title; // Add sharing button at the end of page/page content - $content .= ''; + $content .= ''; $content .= '
'; $content .= ''; $content .= ''; + $content .= ''; $content .= ''; // $content .= ''; $content .= '';