Without access to your Theme files it's hard to know exactly whats going on.
It looks like you have the code for the button in two separate places.
One is within the .article-teaser div, and another within the .box-left div.
This could be due to a bunch of things, but it might be as simple as you having the code pasted twice within a single template, or you having it within two separate templates and the single post page is using both.
- edit
Yeah, looking at your homepage, you have a tweetme button for each entry, which is within the .box-left div (most likely from your main template)
Check out your Single Post (single.php) template and try removing the button code from there. (this would be the one within the .article-teaser div)
I am an idiot and turned it off whilst fiddling with the settings to get it to work.
It appears to be behaving exactly how I want it to now, so thanks a lot. It's a little wierd, and I'd prefer to know why it went wrong in the first place, but unless any problems come up then this is fine.
Yeah, if it was just a plugin that automatically added the button to your posts, it's probably just a conflict with how the plugin was made and how the theme was made.
Posts
It looks like you have the code for the button in two separate places.
One is within the .article-teaser div, and another within the .box-left div.
This could be due to a bunch of things, but it might be as simple as you having the code pasted twice within a single template, or you having it within two separate templates and the single post page is using both.
- edit
Yeah, looking at your homepage, you have a tweetme button for each entry, which is within the .box-left div (most likely from your main template)
Check out your Single Post (single.php) template and try removing the button code from there. (this would be the one within the .article-teaser div)
But I could be wrong!
This is the contents of single.php:
<div id="content-left">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="box-left clearfix">
<h2 class="article-title"><?php the_title(); ?></h2>
<div class="article-meta"><?php the_date(); ?> <?php _e('in'); ?> <?php the_category(', '); ?></div>
<div class="article-teaser"><?php $more = 0; the_content(''); ?></div>
<?php after_more_content($post->post_content); ?>
<?php the_tags('<p class="tags">'.__('Tags','destyle').': ', ', ', '</p>'); ?>
<?php edit_post_link(__('Edit Post','destyle'), '<p>', '</p>'); ?>
</div>
<?php if(!get_option('destyle_auth_dsp')) : ?>
<div class="box-left box-author clearfix">
<?php echo get_avatar(get_the_author_email(), '100'); ?>
<h3><?php the_author_posts_link(); ?></h3>
<p><?php the_author_description(); ?></p>
</div>
<?php endif; ?>
<?php comments_template('', true); ?>
<?php endwhile; ?>
<?php else : ?>
<div class="box-left">
<h2 class="article-title"><?php _e('Not found!','destyle'); ?></h2>
<p><?php _e('Sorry, no posts matched your criteria.','destyle'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
</div>
<?php endif; ?>
</div><!-- end content-left -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<div class="article-teaser"><?php $more = 0; the_content(''); ?></div>
more specifically the <?php $more = 0; the_content(''); ?> part...
Not sure how to edit that...
Looking deeper, the_content('') just calls get_the_content() which is something you don't want to touch.
If you don't want to worry about actually getting rid of it, you can take the easy way out just hide one of the buttons using CSS.
So it will still be there in the code, just not displaying on the page.
Everything else is working fine too....
Erm...Do you (or anyone else) know what that bit of code is doing?
Edit: It was a plugin I had, but then I resintalled my theme and changed a few things, and then there was two.
Edit2: wait, that broke something else, the tweetmeme buttons now don't display on the homepage, I'll try the easy way out.
and make sure to add that code I gave you to your css file (right at the bottom), not the template file.
Adding that to the css file has made it just show one, but now they aren't showing on the homepage.
Remove that css I gave you and lets take another look..
It appears to be behaving exactly how I want it to now, so thanks a lot. It's a little wierd, and I'd prefer to know why it went wrong in the first place, but unless any problems come up then this is fine.
Cheers.
But this should be fine.
Category pages appear to be broken.
http://savygamer.co.uk/category/deals/pc/
I don't remember fiddling with them. Any idea?