[Plugin: ShareThis: Share Buttons and Sharing Analytics] Sharing the post on a category page/blog pa
I want the ShareThis button to appear at the top of each posts , after the date (and ** comments) as shown here
I think i have to do this manually, ( as said here )
(i’m using “u-design” theme, so that may be a little bit different)
I’ve put the span tags i need in archive.php, page-Blog.php, and single.php. It looks like this :
</span> / <?php comments_popup_link( __( 'Leave a comment', 'udesign' ), __( '1 Comment', 'udesign' ), __( '% Comments', 'udesign' ) ); ?> / <span class='st_twitter' ></span> <span class='st_facebook' ></span> <span class='st_fblike' ></span> <span class='st_plusone' ></span> <?php edit_post_link(__('Edit', 'udesign'), '<div style="float:right;margin:0 10px;">', '</div>'); ?>
The place is ok, for the single article pages, its ok too.
But when i’m on the blog page (which shows excerpts), if i click on the twitter button for example, it shares the blog page, not the post.
It’s the same with the category pages (which shows excerpts too). For example if i’m on the “sports” category and if i want to share an article from this page, if i click on the twitter button, it’ll share the “Sports page”, not the article.
I think it has something to do with
st_title='<?php the_title(); ?>' st_url='<?php the_permalink();but i dont know what to do…
Thankd i advance, and sorry for my worpress/php newbiness and my bad english
(btw, i have another problem, the facebook like and google+1 buttons are really slow to appear, is it normal?)
- The topic ‘[Plugin: ShareThis: Share Buttons and Sharing Analytics] Sharing the post on a category page/blog pa’ is closed to new replies.