Gotcha! I don’t know where my brain was that I couldn’t figure that out, too little sleep will do that to ya!
Now I have another question; is there any way I can change the graphic for the bar? I don’t mind that bar itself, but I would like it to be a little bigger so that my visitors don’t miss it. In the futute I might decide to use a different pictoral representation for the bar, but for right now having the bar bigger would help.
You can adjust the bar size by editing the CSS style sheet. You may need to experiment with the widths and heights to get the desired size.
Hi sorry guys..
I am using 2.7.1 and I have no idea where to insert that code..
Please could you guide me
thanks
gibby
Example of the loop with the vote button in it:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- If the post is in the category we want to exclude, we simply pass to the next post. -->
<?php if (in_category('3')) continue; ?>
<div class="post">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y'); ?></small>
<div class="entry">
<?php the_content(); ?>
<?php DisplayVotes(get_the_ID()); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', '); ?></p>
</div> <!-- closes the first div box -->
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>