[wp-hackers] Sidebar video widget w/ its own sharing buttons?
Alexander Höreth
a.hoereth at gmail.com
Fri Apr 19 15:16:01 UTC 2013
For Twitter you can easily generate the html code for a button on this
page: https://twitter.com/about/resources/buttons#tweet
The content of the WordPress text widget is html-enabled, so just paste the
code there.
For Facebook it is a bit more complicated because you need an facebook app
to use their social plugins: https://developers.facebook.com/docs/plugins/
But you could still stylize your own share button which just trigger a
link: <a href=”http://www.facebook.com/share.php?u=http://URL” title=”Share
on Facebook”>Facebook</a>
Same works for twitter: <a href=”
http://twitter.com/home?status=http://IHREURL” title=”Auf Twitter
weitersagen”>Twitter</a>
Alex
2013/4/19 Patty Ayers <patty at ayersvirtual.com>
> Hello,
>
> I think this is on-topic for this list. If not, my apologies and please
> ignore.
>
> I've produced a simple WordPress site for a client using a theme based on
> the Genesis framework.
>
> http://womenadvancenc.org
>
> My client has a request which I'm pretty certain requires custom coding,
> and I'm a PHP novice. Can anybody give me a sense of what it would take to
> provide what she wants?
>
> In the right sidebar, I've set her up with a plugin (Video Sidebar Widget)
> which allows her to easily place a video in the space near the top. What
> she wants is buttons just beneath the video allowing people to share the
> video on their social-media accounts (probably 3-4 different soc media
> platforms).
>
> The sharing buttons embedded in almost all YouTube, Vimeo, etc. videos
> aren't satisfactory for this client; she wants the buttons separate from
> the video. The current video is not a publicly-shared one, so bad example
> of this, but they plan to post lots of "viral videos" which will typically
> be publicly-available and shareable.
>
> Thanks very much in advance for any advice on this.
> Best,
> Patty Ayers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list