FlatPress Wiki

Everything you need to know :)

.:: FlatPress Home :: Support forum :: Twitter :: Mastodon ::.

User Tools

Site Tools


doc:tips:sharebuttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:tips:sharebuttons [2020/06/05 19:58]
arvid
doc:tips:sharebuttons [2021/02/20 16:46] (current)
lubomir_ludvik [Alternative without images]
Line 48: Line 48:
  
 ===== Alternative without images ===== ===== Alternative without images =====
-Panther altered his 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]].+Tongara altered Panther'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]]. 
 + 
 +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 
 + 
 + 
 +===== Adding the "sharebuttons" code to Static pages ===== 
 +Tongara also posted a fix/update later on that would enable users to use the sharebuttons code on Static Pages. This was a very simple fix which works by placing the exact same code onto a static page template file (wherever the blog owner desires the share buttons to be displayed), and then finding any instance of 
 +<code> 
 +$id|link:post_link 
 +</code> 
 +And simply changing them to 
 +<code> 
 +$id|link:page_link 
 +</code>
doc/tips/sharebuttons.1591379909.txt.gz · Last modified: 2020/06/05 19:58 by arvid