Sharing buttons

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Tongara
Posts: 33
Joined: Wed Jan 22, 2020 11:09 am
Location: Birmingham, UK
Contact:

Re: Sharing buttons

Post by Tongara » Sat Jun 06, 2020 11:41 am

Arvid wrote: ↑
Fri Jun 05, 2020 5:43 pm
Thank you very much, this is really useful.
I created a how-to page on the wiki for this.
Just to note, Panther didn't alter the approach by using FontAwesome icons, I did.

User avatar
Arvid
FlatPress Coder
Posts: 114
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Sharing buttons

Post by Arvid » Sat Jun 06, 2020 11:57 am

I am very sorry :shock:
I changed the wiki page accordingly.
Helpful FlatPress links: Project blog πŸ“ - FlatPress wiki πŸ“– - FlatPress@Twitter 🐦
Stay up to date with our feeds: Forum RSS feed πŸ“œ - Project blog RSS feed πŸ“œ


πŸ‡©πŸ‡ͺ Habe aktuell fΓΌr meinen Arbeitgeber hier im Ruhrgebiet eine Stelle zu besetzen! πŸ‡©πŸ‡ͺ
- Softwareentwickler (Webanwendungen) - unbefristet, sofort

Tongara
Posts: 33
Joined: Wed Jan 22, 2020 11:09 am
Location: Birmingham, UK
Contact:

Re: Sharing buttons

Post by Tongara » Mon Aug 31, 2020 9:59 pm

Just thought I'd add to this with a small update...

If you happen to want to include these sharing buttons on your Static pages, directly inserting this code won't exactly work. It's very easy to fix that, though!

Once this code has been added to your static page template (I find after the {$content|tag:the_content} tage, and before the </article> tag to be the best placement), simply change any instance of "$id|link:post_link" to "$id|link:page_link", and you're done!

User avatar
Arvid
FlatPress Coder
Posts: 114
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Sharing buttons

Post by Arvid » Sun Sep 06, 2020 10:32 am

Please feel free to add this to the wiki page! :)
Helpful FlatPress links: Project blog πŸ“ - FlatPress wiki πŸ“– - FlatPress@Twitter 🐦
Stay up to date with our feeds: Forum RSS feed πŸ“œ - Project blog RSS feed πŸ“œ


πŸ‡©πŸ‡ͺ Habe aktuell fΓΌr meinen Arbeitgeber hier im Ruhrgebiet eine Stelle zu besetzen! πŸ‡©πŸ‡ͺ
- Softwareentwickler (Webanwendungen) - unbefristet, sofort

Tongara
Posts: 33
Joined: Wed Jan 22, 2020 11:09 am
Location: Birmingham, UK
Contact:

Re: Sharing buttons

Post by Tongara » Wed Sep 09, 2020 5:44 am

Arvid wrote: ↑
Sun Sep 06, 2020 10:32 am
Please feel free to add this to the wiki page! :)
D-D-D-Done~

User avatar
Arvid
FlatPress Coder
Posts: 114
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Sharing buttons

Post by Arvid » Wed Sep 16, 2020 4:58 pm

Thanks :)
Helpful FlatPress links: Project blog πŸ“ - FlatPress wiki πŸ“– - FlatPress@Twitter 🐦
Stay up to date with our feeds: Forum RSS feed πŸ“œ - Project blog RSS feed πŸ“œ


πŸ‡©πŸ‡ͺ Habe aktuell fΓΌr meinen Arbeitgeber hier im Ruhrgebiet eine Stelle zu besetzen! πŸ‡©πŸ‡ͺ
- Softwareentwickler (Webanwendungen) - unbefristet, sofort

Panther
Posts: 26
Joined: Mon Aug 12, 2019 11:05 pm

Re: Sharing buttons

Post by Panther » Wed Nov 04, 2020 10:28 pm

New Version withf Flipboard icon (works only on smartphone, not on desktop)......I don't know why. If someone has a solution, can write it here:

Code: Select all

<div align=center>
<a href="http://www.facebook.com/sharer.php?u={$id|link:post_link}&title={$subject|tag:the_title}" target="_blank">
<img src="/Immagini/facebook.png" border="0" alt="Facebook" width="40" height="40">
</a>
<a href="http://twitter.com/share?text={$subject|tag:the_title}&url={$id|link:post_link}" target="_blank">
<img src="/Immagini/twitter.png" border="0" alt="Twitter" width="40" height="40" >
</a>
<a href="whatsapp://send?text={$subject|tag:the_title} {$id|link:post_link}" data-action="share/whatsapp/share" target="_blank">
<img src="/Immagini/whatsapp.png" border="0" alt="Whatsapp" width="40" height="40">
</a>
<a href="fb-messenger://share/?link={$id|link:post_link}&app_id=your-app-id-here" target="_blank">
<img src="/Immagini/messenger.png" border="0" alt="Messenger" width="40" height="40">
</a>
<a href="https://t.me/share/url?url={$id|link:post_link}&text={$subject|tag:the_title}" target="_blank">
<img src="/Immagini/telegram.png" border="0" alt="Telegram" width="40" height="40">
</a>
<a href="http://pinterest.com/pin/create/link/?url={$id|link:post_link}&description={$subject|tag:the_title}" count-layout="horizontal" target="_blank">
<img src="/Immagini/pinterest.png" border="0" alt="Pinterest" width="40" height="40">
</a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url={$id|link:post_link}&title={$subject|tag:the_title}" target="_blank">
<img src="/Immagini/linkedin.png" border="0" alt="Linkedin" width="40" height="40">
</a>
<a href="https://share.flipboard.com/bookmarklet/popout?v=&url={$id|link:post_link}&title={$subject|tag:the_title}" target="_blank">
<img src="/Immagini/flipboard.jpg" border="0" alt="Flipboard" width="40" height="40">
</a>
<a href="mailto:?subject={$subject|tag:the_title}&amp;body={$id|link:post_link}" title="{$subject|tag:the_title}">
<img src="/Immagini/email.png" border="0" alt="Email" width="40" height="40">
</a>
<a titlt="print screen" alt="print screen" onclick="window.print();"target"_blank" style="cursor:ponter;">
<img src="/Immagini/print.png" border="0" alt="Print" width="40" height="40">
</a>
</div>

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest