Skip to main content

Ricardo Mendes

Learning how templates works @withknown http://docs.withknown.com/en/latest/developers/templating/#templates-in-known planning to add a share to silo to this website

status :

currently found where to display the social share buttons in :
/rmendes.net/Themes/Cherwell/templates/default/content/end.tpl.php

problems :
after half an hour I can display what I want where I want but the social share code is not behaving like it should: meaning it only share the default site URL, not the current post. I have to figure out how can I make it to take the title and the current post URL into the share dialog & allow me to use it on post by post basis.

todo:
bring the social share code to my server instead of github hosting
find out the best implementation possible for this (template, plugin or dirty)
the goal is that the the social share privacy plugin should be template agnostic
and should be activated on demand (like a plugin) without much configuration to do.

naturally the best implementation should be a plugin ?

maybe a good exercice for me at the Nuremberg meetup ?

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.