The loop almost always begins:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
and ends:
<?php endif; ?>
So you want to put the notable code in between there – probably just above it, so the icons will be below the post content area.
[See The_Loop for documentation on the loop.]
Thank again for your help. I was wondering which file the loop is in but I may be able to find out from your link, thanks.
Ouch. Sorry, forgot that! Sheesh. It’s in your theme’s index.php file.
Wow. Must be bedtime….
Hi,
NP, I thought that is where it should be but this is the total contents of my theme’s index.php
<?php get_header(); ?>
<?php include(TEMPLATEPATH . '/loop.php'); ?>
<?php get_sidebar(); ?>
<?php if(is_single() || is_page()) { comments_template(); } ?>
<?php get_footer(); ?>
I guess that I should put the code in loop.php but I don’t know where. I have tried a few positions but to no visible effect.
This is the code in the loop.
http://wordpress.pastebin.ca/380653
To moderator: Sorry about that, but you also deleted some of my post.
[moderated: WAY too much code. Consider using a pastebin service such as http://wordpress.pastebin.ca and posting a link back to here.]
OK, It was my mistake. I thought it would display on the main page but I now understand that you have to click on the actual article to see it.
Thanks for your help guys.
I do have one more problem though. The images are not showing and according to the creators it means my mage path is wrong. Does anybody know where to find it and how to fix it?
You can see and example of the problem on my blog.
As this was a separate topic originally I created a new post. You can find the solution to my problem there.
http://wordpress.org/support/topic/108780?replies=1