Hello friends,
Im looking for someone that could help me with a little code in my wordpress website...
My website: www.estapessoa.com
Theme: Gallery from UpThemes
Please visit my website, when you pass with your mouse over an image, you will see the post title below.
I want to replace that (title) with a facebook share button.
I already have the facebook code, only need help adding the code
Please take a look at the code:
This is the code line that makes the title appear:
Can someone please help me?
I tried to replaced with this:
But didnt work...
Also tried this wordpress plugin but got same problem:
http://wordpress.org/extend/plugins/facebook-share-new/
I need this working at 100% (facebook share integration) with showing the correct image thumbs, website title and description.
Can someone please help me? I can pay you via paypal
Thank you!
Im looking for someone that could help me with a little code in my wordpress website...
My website: www.estapessoa.com
Theme: Gallery from UpThemes
Please visit my website, when you pass with your mouse over an image, you will see the post title below.
I want to replace that (title) with a facebook share button.
I already have the facebook code, only need help adding the code
Please take a look at the code:
Code:
<div id="post-<?php the_ID() ?>" <?php echo post_class($vidclass); ?>>
<div class="entry-content">
<?php childtheme_post_header() ?>
<a href="<?php echo the_permalink() ?>">
<span class="slide-title"><?php echo the_title(); ?></span>
<?php
$thumbnail = get_post_meta($post->ID, 'thumbnail', true);
if( $thumbnail ):
echo '<img class="attachment-thumbnail" src="' .get_post_meta($post->ID, 'thumbnail', true) . '" width="125" height="125" alt="' . get_the_title() .'" /></a>';
elseif( has_post_thumbnail() ):
the_post_thumbnail('thumbnail');
else:
echo '<img class="attachment-thumbnail" src="' . get_bloginfo('stylesheet_directory') . '/images/thumbnail-default.jpg" width="125" height="125" alt="' . get_the_title() .'" />';
endif;
?>
</a>
</div>
</div><!-- .post -->
This is the code line that makes the title appear:
Code:
<span class="slide-title"><?php echo the_title(); ?></span>
Can someone please help me?
I tried to replaced with this:
Code:
<span class="slide-title"><a name="fb_share"></a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"
type="text/javascript">
</script></span>
But didnt work...
Also tried this wordpress plugin but got same problem:
http://wordpress.org/extend/plugins/facebook-share-new/
I need this working at 100% (facebook share integration) with showing the correct image thumbs, website title and description.
Can someone please help me? I can pay you via paypal
Thank you!