Oki 2nd try:
<code>
function custom_social_media_links() { ?>
<div id="custom_social_media_links">
Teile mit:
<a href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>&t=<?php the_title(); ?>" title="Click to send this article to Facebook!" target="blank"><img src="http://mariosta.ch/bilder/icons/facebook_32.png" alt="Share this article on Facebook" /></a>
<a href="http://twitter.com/home?status=<?php the_title(); ?> – <?php the_permalink(); ?>" title="Click to send this article to Twitter!" target="_blank"><img src="http://mariosta.ch/bilder/icons/twitter_32.png" alt="Share this article on Twitter" /></a>
</div>
<?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('thematic_postfooter','add_social_media_links_to_postfooter');
function custom_face_youtube_links() { ?>
<div align="center" id="custom_face_youtube_links">
<a href="http://www.facebook.com/group.php?gid=352037097808" title="Trete der Facebookgruppe bei!" target="blank"><img src="http://mariosta.ch/bilder/icons/facebook_64.png" alt="Trete der Facebookgruppe bei!" /></a>
<a href="http://www.youtube.com/user/lakaraviro" title="Schau dir unseren YouTube Kanal an!" target="_blank"><img src="http://mariosta.ch/bilder/icons/youtubex64.png" alt="Schau dir unseren YouTube Kanal an!" /></a>
<a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'thematic'); ?>" rel="alternate nofollow" type="application/rss+xml"><img src="http://mariosta.ch/bilder/icons/rss_64.png" alt="RSS Feed!" /></a>
<p> </p>
</div>
<?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('thematic_betweenmainasides','add_face_youtube_links_to_betweenmainasides');
</code>
@helgatheviking:
Thanks :) i like your Site too, hehe and also the subject of fitness.
@Jonny:
I'm a Noob so, i don't know :) how efficient my way is.
I have a Noob question, about this Code above, since i am working with Copy&Paste method:
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 "$xxx"?
have a nice day!