Hello! I want to change the date and the tweet button in the side of the post with three simple buttons for Facebook, Twitter and Google Plus or to add a like, a follow and a +1 button for each post! How can i do this?
How to change the date and tweet button?
2 posts from 2 voices-
Posted 1 year ago #
-
Hey,
I'm not sure how to implement the social services but you can place the code in single.php. Please search for:
<div class="date_container"> <span class='day'><?php the_time('d') ?></span> <span class='month'><?php the_time('M') ?></span> <span class='year'><?php the_time('Y') ?></span> <?php if($k_option['single']['acc_tw'] != '') { ?> <div class="tweetmeme"> <script type="text/javascript"> tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>'; tweetmeme_url = '<?php echo get_permalink() ?>'; </script> <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script> </div> <?php } ?> <span class='date_container_bottom'></span> </div><!-- end date -->The first three spans:
<span class='day'><?php the_time('d') ?></span> <span class='month'><?php the_time('M') ?></span> <span class='year'><?php the_time('Y') ?></span>build the date. The code under it:
<?php if($k_option['single']['acc_tw'] != '') { ?> <div class="tweetmeme"> <script type="text/javascript"> tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>'; tweetmeme_url = '<?php echo get_permalink() ?>'; </script> <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script> </div>builds the social icons.
Posted 1 year ago #
Reply
You must log in to post.














