<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Adding facebook like button / social widgets next to post meta</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 17:05:31 +0000</pubDate>

<item>
<title>carrisi on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-24030</link>
<pubDate>Thu, 01 Dec 2011 11:20:53 +0000</pubDate>
<dc:creator>carrisi</dc:creator>
<guid isPermaLink="false">24030@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;great bit of code from Karaviro but i dont seem to be able to chnge the image link?
&#60;/p&#62;</description>
</item>
<item>
<title>logostar on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-22372</link>
<pubDate>Tue, 19 Jul 2011 14:33:53 +0000</pubDate>
<dc:creator>logostar</dc:creator>
<guid isPermaLink="false">22372@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Never mind, I got it figured out.
&#60;/p&#62;</description>
</item>
<item>
<title>logostar on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-22354</link>
<pubDate>Mon, 18 Jul 2011 04:25:06 +0000</pubDate>
<dc:creator>logostar</dc:creator>
<guid isPermaLink="false">22354@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Already have social media links written up in html, how do one put this in header file before the main content start?
&#60;/p&#62;</description>
</item>
<item>
<title>newb on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-22339</link>
<pubDate>Fri, 15 Jul 2011 13:50:06 +0000</pubDate>
<dc:creator>newb</dc:creator>
<guid isPermaLink="false">22339@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Jonny,&#60;/p&#62;
&#60;p&#62;I'm using addthis and want to insert it to postfooter meta. Using your code gave me good results except one problem - all icons are at the next line after meta. How to add it to the same line?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-19474</link>
<pubDate>Wed, 02 Mar 2011 23:03:17 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">19474@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks!   the weight training site is mostly defunct, though i wish i would revive it, but i've gotten so busy w/ theme development.  &#60;/p&#62;
&#60;p&#62;your code will come in handy and save me having to look it up myself.  to answer your newb question- that is just how filters work.  in WP and in thematic there are spots that say apply_filters('filter_name',$variable); basically you &#60;em&#62;return&#60;/em&#62; a value and that variable changes the value of the variable before the function is run.  i hope that makes sense... had a little whiskey earlier.
&#60;/p&#62;</description>
</item>
<item>
<title>Karaviro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-19458</link>
<pubDate>Wed, 02 Mar 2011 15:09:19 +0000</pubDate>
<dc:creator>Karaviro</dc:creator>
<guid isPermaLink="false">19458@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Oki 2nd try:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;code&#38;gt;
function custom_social_media_links() { ?&#38;gt;
&#38;lt;div id=&#38;quot;custom_social_media_links&#38;quot;&#38;gt;
Teile mit:
&#38;lt;a href=&#38;quot;http://www.facebook.com/sharer.php?u=&#38;lt;?php the_permalink(); ?&#38;gt;&#38;#38;t=&#38;lt;?php the_title(); ?&#38;gt;&#38;quot; title=&#38;quot;Click to send this article to Facebook!&#38;quot; target=&#38;quot;blank&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;http://mariosta.ch/bilder/icons/facebook_32.png&#38;quot; alt=&#38;quot;Share this article on Facebook&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a href=&#38;quot;http://twitter.com/home?status=&#38;lt;?php the_title(); ?&#38;gt; – &#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot; title=&#38;quot;Click to send this article to Twitter!&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;http://mariosta.ch/bilder/icons/twitter_32.png&#38;quot; alt=&#38;quot;Share this article on Twitter&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php } 

function add_social_media_links_to_postfooter($footer) {
$social_media_links = custom_social_media_links();
$footer = $social_media_links . $footer;
return $footer;
} 

add_action(&#38;#39;thematic_postfooter&#38;#39;,&#38;#39;add_social_media_links_to_postfooter&#38;#39;);

function custom_face_youtube_links() { ?&#38;gt;
&#38;lt;div align=&#38;quot;center&#38;quot; id=&#38;quot;custom_face_youtube_links&#38;quot;&#38;gt;
&#38;lt;a href=&#38;quot;http://www.facebook.com/group.php?gid=352037097808&#38;quot; title=&#38;quot;Trete der Facebookgruppe bei!&#38;quot; target=&#38;quot;blank&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;http://mariosta.ch/bilder/icons/facebook_64.png&#38;quot; alt=&#38;quot;Trete der Facebookgruppe bei!&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a href=&#38;quot;http://www.youtube.com/user/lakaraviro&#38;quot; title=&#38;quot;Schau dir unseren YouTube Kanal an!&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;http://mariosta.ch/bilder/icons/youtubex64.png&#38;quot; alt=&#38;quot;Schau dir unseren YouTube Kanal an!&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a href=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;rss2_url&#38;#39;) ?&#38;gt;&#38;quot; title=&#38;quot;&#38;lt;?php echo wp_specialchars(get_bloginfo(&#38;#39;name&#38;#39;), 1) ?&#38;gt; &#38;lt;?php _e(&#38;#39;Posts RSS feed&#38;#39;, &#38;#39;thematic&#38;#39;); ?&#38;gt;&#38;quot; rel=&#38;quot;alternate nofollow&#38;quot; type=&#38;quot;application/rss+xml&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;http://mariosta.ch/bilder/icons/rss_64.png&#38;quot; alt=&#38;quot;RSS Feed!&#38;quot; /&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;p&#38;gt;&#38;amp;nbsp;&#38;lt;/p&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php } 

function add_face_youtube_links_to_betweenmainasides($side) {
$face_youtube_links = custom_face_youtube_links();
$side = $face_youtube_links . $side;
return $side;
} 

add_action(&#38;#39;thematic_betweenmainasides&#38;#39;,&#38;#39;add_face_youtube_links_to_betweenmainasides&#38;#39;);
&#38;lt;/code&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;@helgatheviking:&#60;br /&#62;
Thanks :) i like your Site too, hehe and also the subject of fitness.&#60;/p&#62;
&#60;p&#62;@Jonny:&#60;br /&#62;
I'm a Noob so, i don't know :) how efficient my way is.&#60;/p&#62;
&#60;p&#62;I have a Noob question, about this Code above, since i am working with Copy&#38;#38;Paste method:&#60;br /&#62;
I don't understand what is the purpose of the second Part of the Function, there where you write the second time Function and end it with Return. And why you are creating something like &#34;$xxx&#34;?&#60;/p&#62;
&#60;p&#62;have a nice day!
&#60;/p&#62;</description>
</item>
<item>
<title>oldmankit on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta/page/2#post-19446</link>
<pubDate>Wed, 02 Mar 2011 03:01:28 +0000</pubDate>
<dc:creator>oldmankit</dc:creator>
<guid isPermaLink="false">19446@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've noticed code getting mangled when I've tried to copy and paste too.  I hope this works.  &#60;/p&#62;
&#60;p&#62;This is a little section from function my_postfooter().  Please note that it's not super-pretty because I have a load of no-breaking spaces.  I use css background sprites (using a custom span class) instead of normal image links.  See what I mean &#60;a href=&#34;http://peaceandtruth.com/blog&#34;&#62;here&#60;/a&#62;. (I have since learned there is a cleaner way to do this.)&#60;/p&#62;
&#60;p&#62;Please also note that the code I found on that website doesn't validate.  Replace the ampersand and em-dash with the html code.  Actually, before I did this, it broke my entire site layout in IE.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$postfooter .= &#38;#39;&#38;lt;span class=&#38;quot;icon-twitter&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;http://twitter.com/home?status=&#38;#39; . get_the_title() . &#38;#39;&#38;#45;&#38;#39; . apply_filters(&#38;#39;the_permalink&#38;#39;, get_permalink()) . &#38;#39;&#38;quot; title=&#38;quot;share on twitter&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
           $postfooter .= &#38;#39;&#38;lt;span class=&#38;quot;meta-sep&#38;quot;&#38;gt;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;lt;/span&#38;gt;&#38;#39; ;
           $postfooter .= &#38;#39;&#38;lt;span class=&#38;quot;icon-fb&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;http://www.facebook.com/sharer.php?u=&#38;#39; . apply_filters(&#38;#39;the_permalink&#38;#39;, get_permalink()) . &#38;#39;&#38;amp;amp;t=&#38;#39;  . get_the_title() . &#38;#39;&#38;quot; title=&#38;quot;share on facebook&#38;quot; target=&#38;quot;blank&#38;quot;&#38;gt;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;amp;nbsp;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;#39; ;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19445</link>
<pubDate>Wed, 02 Mar 2011 01:50:53 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">19445@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@Karaviro, good to hear you found a solution. thats simple and effective.&#60;/p&#62;
&#60;p&#62;the above code i posted (working this end, unsure about home problem, will take a look) is for adding the 'addthis' network. it opens open the many million shite networks.&#60;/p&#62;
&#60;p&#62;for someone just wanting the usual twitter, facebook, etc, your solution is best.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19444</link>
<pubDate>Wed, 02 Mar 2011 00:57:51 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">19444@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@Karaviro - looks great on your site.  can you repost your code?  it got mangled.  put it between two backtick ( ` ) marks.  on a US keyboard the backtick is to the left of the numeral 1.  but on a german keyboard i have no idea.
&#60;/p&#62;</description>
</item>
<item>
<title>Karaviro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19441</link>
<pubDate>Tue, 01 Mar 2011 23:00:44 +0000</pubDate>
<dc:creator>Karaviro</dc:creator>
<guid isPermaLink="false">19441@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Oki it was just a cache problem from my host.&#60;br /&#62;
But maybe some one needs the same as i do&#60;br /&#62;
so here is, what i did with oldmankit's link:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function custom_social_media_links() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;custom_social_media_links&#34;&#38;gt;&#60;br /&#62;
Teile mit:&#60;br /&#62;
&#60;a&#62;&#38;#38;t=&#38;lt;?php the_title(); ?&#38;gt;&#34; title=&#34;Click to send this article to Facebook!&#34; target=&#34;blank&#34;&#38;gt;&#38;lt;img src=&#34;http://mariosta.ch/bilder/icons/facebook_32.png&#34; alt=&#34;Share this article on Facebook&#34; /&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#60;a&#62; – &#38;lt;?php the_permalink(); ?&#38;gt;&#34; title=&#34;Click to send this article to Twitter!&#34; target=&#34;_blank&#34;&#38;gt;&#38;lt;img src=&#34;http://mariosta.ch/bilder/icons/twitter_32.png&#34; alt=&#34;Share this article on Twitter&#34; /&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php } &#60;/p&#62;
&#60;p&#62;function add_social_media_links_to_postfooter($footer) {&#60;br /&#62;
$social_media_links = custom_social_media_links();&#60;br /&#62;
$footer = $social_media_links . $footer;&#60;br /&#62;
return $footer;&#60;br /&#62;
} &#60;/p&#62;
&#60;p&#62;add_action('thematic_postfooter','add_social_media_links_to_postfooter');&#60;/p&#62;
&#60;p&#62;function custom_face_youtube_links() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div align=&#34;center&#34; id=&#34;custom_face_youtube_links&#34;&#38;gt;&#60;br /&#62;
&#60;a href=&#34;http://www.facebook.com/group.php?gid=352037097808&#34; title=&#34;Trete der Facebookgruppe bei!&#34;&#62;&#38;lt;img src=&#34;http://mariosta.ch/bilder/icons/facebook_64.png&#34; alt=&#34;Trete der Facebookgruppe bei!&#34; /&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.youtube.com/user/lakaraviro&#34; title=&#34;Schau dir unseren YouTube Kanal an!&#34;&#62;&#38;lt;img src=&#34;http://mariosta.ch/bilder/icons/youtube_64.png&#34; alt=&#34;Schau dir unseren YouTube Kanal an!&#34; /&#38;gt;&#60;/a&#62;&#60;br /&#62;
&#38;lt;p&#38;gt;&#38;nbsp;&#38;lt;/p&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php } &#60;/p&#62;
&#60;p&#62;function add_face_youtube_links_to_betweenmainasides($side) {&#60;br /&#62;
$face_youtube_links = custom_face_youtube_links();&#60;br /&#62;
$side = $face_youtube_links . $side;&#60;br /&#62;
return $side;&#60;br /&#62;
} &#60;/p&#62;
&#60;p&#62;add_action('thematic_betweenmainasides','add_face_youtube_links_to_betweenmainasides');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://lebensgarten.ch&#34;&#62;here&#60;/a&#62; is how it looks like!
&#60;/p&#62;</description>
</item>
<item>
<title>Karaviro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19432</link>
<pubDate>Tue, 01 Mar 2011 11:19:00 +0000</pubDate>
<dc:creator>Karaviro</dc:creator>
<guid isPermaLink="false">19432@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hm that would be nice. Just links, no plugins and no java.&#60;/p&#62;
&#60;p&#62;When i put the code from the page into my functions.php and some icons into my icons folder.&#60;br /&#62;
Nothing happens with my page&#60;br /&#62;
i think i have a general difficulty with hooks, some infomation i am missing?&#60;/p&#62;
&#60;p&#62;how did you implement the idea from Xerces Tech?&#60;/p&#62;
&#60;p&#62;I'm using WP 3.1 and a Thematic Childtheme on Thematic 0.9.7.7&#60;/p&#62;
&#60;p&#62;have a nice day :)
&#60;/p&#62;</description>
</item>
<item>
<title>oldmankit on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19300</link>
<pubDate>Mon, 21 Feb 2011 10:16:23 +0000</pubDate>
<dc:creator>oldmankit</dc:creator>
<guid isPermaLink="false">19300@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It's taken me three days, but I've finally found a solution I am happy with.  No plugins, no java, just links.&#60;/p&#62;
&#60;p&#62;I got the idea from &#60;a href=&#34;http://xercestech.com/social-media-links-for-thematic-and-wordpress.geek&#34;&#62;this&#60;/a&#62; page, though it's a little out of date so I couldn't just copy-and-paste code.
&#60;/p&#62;</description>
</item>
<item>
<title>oldmankit on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19299</link>
<pubDate>Mon, 21 Feb 2011 05:26:47 +0000</pubDate>
<dc:creator>oldmankit</dc:creator>
<guid isPermaLink="false">19299@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Jonny,&#60;/p&#62;
&#60;p&#62;I followed your instructions, some really useful stuff there, thanks.&#60;/p&#62;
&#60;p&#62;I tested it. When viewing from the blog front page, it seems like all the links point to the main page, rather than to the individual post.  I would prefer if the link was to the post.&#60;/p&#62;
&#60;p&#62;I want to avoid using plugins as much as possible, but to get the desired behaviour I will probably have to, right?&#60;/p&#62;
&#60;p&#62;Kit
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-19021</link>
<pubDate>Tue, 08 Feb 2011 02:14:21 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">19021@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;monkey says yes :)
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18995</link>
<pubDate>Sun, 06 Feb 2011 05:49:45 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18995@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks jonnyj&#60;/p&#62;
&#60;p&#62;Wow that is a hunk of help. I will give it a try as soon as I get a chance.&#60;/p&#62;
&#60;p&#62;Appreciate it.&#60;/p&#62;
&#60;p&#62;(now, a moment of silence for your monkey)&#60;/p&#62;
&#60;p&#62;Cheers
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18987</link>
<pubDate>Sat, 05 Feb 2011 01:23:39 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">18987@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i can't help with existing problem but can suggest the method i use.&#60;br /&#62;
i dont use plugins.&#60;br /&#62;
(1) visit &#60;a href=&#34;http://www.addthis.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.addthis.com/&#60;/a&#62;&#60;br /&#62;
(2) choose a layout (i think the 4th option is what you are looking to do)&#60;br /&#62;
(3) do you want free analytics? nah, we have enough statistics in this world already.&#60;br /&#62;
(4) get button.&#60;br /&#62;
(5) grab the code&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;addthis_toolbox addthis_default_style &#38;quot;&#38;gt;
&#38;lt;a href=&#38;quot;http://www.addthis.com/bookmark.php?v=250&#38;amp;amp;username=xa-4d4ca34f2673a177&#38;quot; class=&#38;quot;addthis_button_compact&#38;quot;&#38;gt;Share&#38;lt;/a&#38;gt;
&#38;lt;span class=&#38;quot;addthis_separator&#38;quot;&#38;gt;&#124;&#38;lt;/span&#38;gt;
&#38;lt;a class=&#38;quot;addthis_button_preferred_1&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a class=&#38;quot;addthis_button_preferred_2&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a class=&#38;quot;addthis_button_preferred_3&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;a class=&#38;quot;addthis_button_preferred_4&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d4ca34f2673a177&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(6) that could be inserted into the filter you are using currently. but.... that includes inline script and that makes me weez. so... &#60;/p&#62;
&#60;p&#62;i remove the &#38;lt;script&#38;gt; section out of the code above and enqeue it correctly so it loads at the bottom.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function register_scripts() {
if (!is_admin()) {
wp_deregister_script(&#38;#39;jquery&#38;#39;);
wp_register_script(&#38;#39;jquery&#38;#39;, &#38;#39;http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&#38;#39;, false, &#38;#39;1.4.4&#38;#39;, true);
wp_register_script(&#38;#39;addthis&#38;#39;, &#38;quot;http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d4ca34f2673a177&#38;quot;, array(&#38;#39;jquery&#38;#39;), &#38;#39;1.0&#38;#39;, true );
wp_enqueue_script(&#38;#39;jquery&#38;#39;);
wp_enqueue_script(&#38;#39;addthis&#38;#39;);
}

}
add_action(&#38;#39;wp_print_scripts&#38;#39;, &#38;#39;register_scripts&#38;#39;, 100);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or better still, if you only plan to use the addthis on a SINGLE page, lets not have this script load on every page.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function register_scripts() {
if (!is_admin()) {
wp_deregister_script(&#38;#39;jquery&#38;#39;);
wp_register_script(&#38;#39;jquery&#38;#39;, &#38;#39;http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&#38;#39;, false, &#38;#39;1.4.4&#38;#39;, true);
wp_register_script(&#38;#39;addthis&#38;#39;, &#38;quot;http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d4ca34f2673a177&#38;quot;, array(&#38;#39;jquery&#38;#39;), &#38;#39;1.0&#38;#39;, true );
}
if (!is_admin()) {
wp_enqueue_script(&#38;#39;jquery&#38;#39;);
}
if (is_single()) {
wp_enqueue_script(&#38;#39;addthis&#38;#39;);
}

}
add_action(&#38;#39;wp_print_scripts&#38;#39;, &#38;#39;register_scripts&#38;#39;, 100);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;oh, something to note, the above enqeue script code is loading jquery from google, its faster and cached in users browsers already, i haven't heard many arguments against this approach.&#60;/p&#62;
&#60;p&#62;(7) this monkeys gone to heaven&#60;/p&#62;
&#60;p&#62;hope this helps, or anyone who may be reading it.&#60;/p&#62;
&#60;p&#62;note: dont just copy the addthis code above, you to generate ya own
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18974</link>
<pubDate>Fri, 04 Feb 2011 17:13:33 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18974@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The goal is to implement share and retweet buttons side by side.&#60;/p&#62;
&#60;p&#62;Here is a cool implmentation on this page:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.wpbeginner.com/wp-tutorials/how-to-add-facebook-like-button-in-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://www.wpbeginner.com/wp-tutorials/how-to-add-facebook-like-button-in-wordpress/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It's in a fixed position div that persists in the left margin as you go about the post.
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18972</link>
<pubDate>Fri, 04 Feb 2011 14:54:31 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18972@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This was the error with the URL&#60;br /&#62;
&#60;code&#62;The page at &#60;a href=&#34;http://&#38;lt;/?php+echo+urlencode%28get_permalink%28%24post-%3EID%29%29%3B+%3F%3E&#34; rel=&#34;nofollow&#34;&#62;http://&#38;lt;/?php+echo+urlencode%28get_permalink%28%24post-%3EID%29%29%3B+%3F%3E&#60;/a&#62; could not be reached.&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18971</link>
<pubDate>Fri, 04 Feb 2011 14:50:53 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18971@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;And I see I need to close the &#38;lt;div&#38;gt; too...
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18970</link>
<pubDate>Fri, 04 Feb 2011 14:49:32 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18970@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;joperron's code did not work -- as-is --here is how I've modified it so far&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
function child_postheader_postmeta($postmeta) {
    $addtometa = &#38;#39;&#38;lt;div id=&#38;quot;facebook&#38;quot;&#38;gt;
	&#38;lt;iframe src=&#38;quot;http://www.facebook.com/plugins/like.php?href=&#38;lt;?php echo urlencode(get_permalink($post-&#38;gt;ID)); ?&#38;gt;&#38;#38;layout=standard&#38;#38;show_faces=false&#38;#38;width=450&#38;#38;action=like&#38;#38;colorscheme=light&#38;#38;height=80&#38;quot; scrolling=&#38;quot;no&#38;quot; frameborder=&#38;quot;0&#38;quot; style=&#38;quot;border:none; overflow:hidden; width:450px; height:80px;&#38;quot; allowTransparency=&#38;quot;true&#38;quot;&#38;gt;&#38;lt;/iframe&#38;gt;&#38;#39;;
	return $postmeta . $addtometa;
}
add_filter(&#38;#39;thematic_postheader_postmeta&#38;#39;,&#38;#39;child_postheader_postmeta&#38;#39;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The output shows up in the desired place.  But there must be something wrong with the syntax because I get a FB error that it can't find tue URL&#60;/p&#62;
&#60;p&#62;Suggestions appreciated....
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18962</link>
<pubDate>Fri, 04 Feb 2011 08:35:13 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18962@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;did joperron's code work?  you haven't said.
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18957</link>
<pubDate>Fri, 04 Feb 2011 02:44:41 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18957@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Wlanni&#60;br /&#62;
That plugin is a sidebar widget only.  And no options for manually placing it in the theme as is the question.&#60;/p&#62;
&#60;p&#62;But it is a nice plugin for a sidebar -- thanks for bringing it up.
&#60;/p&#62;</description>
</item>
<item>
<title>wlanni on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18924</link>
<pubDate>Wed, 02 Feb 2011 22:59:39 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">18924@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I have to give a huge thumbs up to the Social Media Widget -- the developer Brian is awesome on support, and his plugin supports custom icons:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.idontlikethisgame.com/updates/social-media-widget/&#34; rel=&#34;nofollow&#34;&#62;http://www.idontlikethisgame.com/updates/social-media-widget/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I followed instructions elsewhere in these forums to add my own widget area in the header for my social media stuff.&#60;/p&#62;
&#60;p&#62;I'm pretty sure that you could add his plugin beneath the meta data widget, and just not include a title. That way it would look like it's a part of that widget?
&#60;/p&#62;</description>
</item>
<item>
<title>joperron on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18922</link>
<pubDate>Wed, 02 Feb 2011 22:24:52 +0000</pubDate>
<dc:creator>joperron</dc:creator>
<guid isPermaLink="false">18922@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok, sorry I didn't read the whole thread....&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_postheader_postmeta() {
    $postmeta = &#38;#39;&#38;lt;div class=&#38;quot;entry-meta&#38;quot;&#38;gt;&#38;#39;;
    $postmeta .= thematic_postmeta_authorlink();
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-sep meta-sep-entry-date&#38;quot;&#38;gt; &#124; &#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= thematic_postmeta_entrydate();
    $postmeta .= thematic_postmeta_editlink();
    $postmeta .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;\n&#38;quot;;
    $postmeta .= &#38;#39;&#38;lt;div id=&#38;quot;twitter&#38;quot;&#38;gt;
	&#38;lt;a href=&#38;quot;http://twitter.com/share&#38;quot; class=&#38;quot;twitter-share-button&#38;quot; data-count=&#38;quot;horizontal&#38;quot; data-via=&#38;quot;TwitterUsername&#38;quot;&#38;gt;Tweet&#38;lt;/a&#38;gt;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://platform.twitter.com/widgets.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
	&#38;lt;/div&#38;gt;&#38;lt;!-- twitter --&#38;gt;&#38;#39;;
}
add_filter(&#38;#39;thematic_postheader_postmeta&#38;#39;,&#38;#39;child_postheader_postmeta&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Yes? This uses the official Twitter button, not Tweetmeme....
&#60;/p&#62;</description>
</item>
<item>
<title>joperron on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18921</link>
<pubDate>Wed, 02 Feb 2011 22:13:10 +0000</pubDate>
<dc:creator>joperron</dc:creator>
<guid isPermaLink="false">18921@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I always use this plugin: &#60;a href=&#34;http://wordpress.org/extend/plugins/simple-facebook-connect/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/simple-facebook-connect/&#60;/a&#62;&#60;br /&#62;
Activate the main plugin and the Like button module.&#60;/p&#62;
&#60;p&#62;Then put this in your functions.php (obviously modify to your liking):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function social_links() {
if (is_page()) {?&#38;gt;

&#38;lt;div id=&#38;quot;social_contextual&#38;quot;&#38;gt;

	&#38;lt;div id=&#38;quot;twitter&#38;quot;&#38;gt;
	&#38;lt;a href=&#38;quot;http://twitter.com/share&#38;quot; class=&#38;quot;twitter-share-button&#38;quot; data-count=&#38;quot;horizontal&#38;quot; data-via=&#38;quot;TwitterUsername&#38;quot;&#38;gt;Tweet&#38;lt;/a&#38;gt;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://platform.twitter.com/widgets.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
	&#38;lt;/div&#38;gt;&#38;lt;!-- twitter --&#38;gt;

	&#38;lt;div id=&#38;quot;facebook_like&#38;quot;&#38;gt;
	&#38;lt;?php sfc_like_button(); ?&#38;gt;
	&#38;lt;/div&#38;gt;&#38;lt;!-- facebook_like --&#38;gt;

&#38;lt;/div&#38;gt;&#38;lt;!-- social --&#38;gt;

&#38;lt;?php }}
add_action(&#38;#39;thematic_belowpost&#38;#39;,&#38;#39;social_links&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Enjoy!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18919</link>
<pubDate>Wed, 02 Feb 2011 21:52:52 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18919@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;couldn't you just use this:&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/tweetmeme/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/tweetmeme/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but if not then you could take what i have above and swap out &#34;&#38;lt;span class=&#34;fb&#34;&#38;gt;Facebook Like Stuff&#38;lt;/span&#38;gt;&#34; with your code... which didn't up well.  you can post code between 2 backtick marks (top left of a US keyboard)
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18917</link>
<pubDate>Wed, 02 Feb 2011 21:37:58 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18917@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The inspiration is this site where the index.php shows the tweetmeme button under the postmeta;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://epiclaunch.com/&#34; rel=&#34;nofollow&#34;&#62;http://epiclaunch.com/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18916</link>
<pubDate>Wed, 02 Feb 2011 21:36:14 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18916@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Helgatheviking (nice nickname)&#60;/p&#62;
&#60;p&#62;Being at the copy-and-paste level of coding, I was hoping you might have a suggestion for how to add this&#60;/p&#62;
&#60;p&#62;&#60;a&#62;&#38;#38;service=&#38;lt;service&#38;gt;&#38;#38;service_api=&#38;lt;api&#38;gt;&#34;&#38;gt;&#38;lt;img src=&#34;http://api.tweetmeme.com/imagebutton.gif?url=&#38;lt;url&#38;gt;&#34; height=&#34;61&#34; width=&#34;51&#34; /&#38;gt;&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;to what you have above
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18910</link>
<pubDate>Wed, 02 Feb 2011 20:28:37 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18910@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;well you can override or filter almost any of thematic's functions.  so you don't have to put it in the postmeta. you can put stuff anywhere!
&#60;/p&#62;</description>
</item>
<item>
<title>bluejpro on "Adding facebook like button / social widgets next to post meta"</title>
<link>http://themeshaper.com/forums/topic/adding-facebook-like-button-social-widgets-next-to-post-meta#post-18904</link>
<pubDate>Wed, 02 Feb 2011 17:36:13 +0000</pubDate>
<dc:creator>bluejpro</dc:creator>
<guid isPermaLink="false">18904@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yes, I have been searching for such a plugin.  The postmeta isn't usually the target for the output. &#60;/p&#62;
&#60;p&#62;That's why I want to code my own...
&#60;/p&#62;</description>
</item>

</channel>
</rss>
