Skip to main content

Timeline for How to share post?

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Apr 23, 2014 at 16:39 comment added Pieter Goosen I would suggest that you need to have a look at a social sharing plugin. This would really make your job easier. There are a couple out there, you will just need to download a few and test which one works best
Apr 23, 2014 at 15:28 history edited bear CC BY-SA 3.0
added 2706 characters in body
Apr 23, 2014 at 15:03 comment added bear @PieterGoosen i tried this code from that post but i just get error : <a href="facebook.com/sharer/sharer.php?s=100&p[url]=<?php echo get_permalink() . '&p[title]=' . get_the_title(); ?>"><img src="alskadehem.se/wp-content/uploads/2014/04/facebook.png" alt="Facebook" /></a>
Apr 23, 2014 at 14:56 comment added bear thank for that, but that it so advanced for me to understand
Apr 23, 2014 at 14:54 comment added Pieter Goosen There is a more elegant way to do this. Have a look at my answer here.
Apr 23, 2014 at 14:49 comment added Chip Bennett Much better, thanks. Now: assuming you want to replace "url=http://www.alskadehem.se" with a post-specific URL, what have you tried?
Apr 23, 2014 at 14:45 answer added Sam timeline score: 1
Apr 23, 2014 at 14:45 comment added bear Did you mean like that?
Apr 23, 2014 at 14:44 history edited bear CC BY-SA 3.0
deleted 2726 characters in body
Apr 23, 2014 at 14:37 comment added Chip Bennett Please trim your code to highlight just the post-sharing.
Apr 23, 2014 at 14:32 history asked bear CC BY-SA 3.0