Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
doc:tips:sharebuttons [2021/02/20 16:43] – [Alternative without images] lubomir_ludvik | doc:tips:sharebuttons [2022/12/25 13:49] (current) – updated twitter sharing link arvid |
---|
<img src="/sharebuttons/facebook.png" border="0" alt="Facebook" width="40" height="40"> | <img src="/sharebuttons/facebook.png" border="0" alt="Facebook" width="40" height="40"> |
</a> | </a> |
<a href="http://twitter.com/share?text={$subject|tag:the_title}&url={$id|link:post_link}" target="_blank"> | <a href="https://twitter.com/intent/tweet?text={$subject|tag:the_title}&url={$id|link:post_link}" target="_blank"> |
<img src="/sharebuttons/twitter.png" border="0" alt="Twitter" width="40" height="40" > | <img src="/sharebuttons/twitter.png" border="0" alt="Twitter" width="40" height="40" > |
</a> | </a> |
| |
===== Alternative without images ===== | ===== Alternative without images ===== |
Tongara altered Panther's approach by using FontAwesome icons instead of images for the buttons. See this solution [[https://forum.flatpress.org/viewtopic.php?f=4&t=144#p413|on the forum]].<br> | Tongara altered Panther's approach by using FontAwesome icons instead of images for the buttons. See this solution [[https://forum.flatpress.org/viewtopic.php?f=4&t=144#p413|on the forum]]. |
"[[http://flatpress.cz/fp-content/attachs/example%20font%20awesome.html|Share this:]]" with Awesome font in template | |
[[view-source:http://flatpress.cz/fp-content/attachs/example%20font%20awesome.html|View-source]] and copy with .css link to entry-default.tpl | Add "Share this:" to template with Awesome font |
| [[http://flatpress.cz/fp-content/attachs/example%20font%20awesome.html|View this source]] and copy with .css link to entry-default.tpl |
| |
| |