I am using WP 2.2.1. I have a small image inserted in all my posts (over 1000) I recently built a template and installed, the images on the main page display fine and I can go back through previous pasts and all display fine. When I click on an individual post, the images disappear. Thinking I coded wrong, I loaded up a couple other themes and same thing happens. It does not happen in original template OR in WP default templates (All images display correctly) What is wrong?
is the url of the image maybe relative to the path of the theme? Could you show me/us where it is to see if what's wrong
Here is what I narrowed it down to. Main page all is well as far as images. If I click an individual post all works well. If I click on a category- List will not show images in any of the listed posts. *Edynas - If we can get together I will be glad to show you but I am not keeping the new theme activated till I get it right. Old theme works fine still so keeping it active.
I think I have figured out the problem but not how to fix it. (and why it is happening with multiple templates but not the one I am using).. When I click on categories, it shows a "preview" of my post, this must be eliminating my images, my current template does not do this. Now to find out how to stop this option..(posts not long so no need for it). I have learned A LOT so if someone knows what code I need to change, I will appreciate the help.
Ahh, I finally understood what you were talking about I figured out how to get rid of this problem : You have to look through the page responsible for category archive (category.php) and search for something like this : <div class="post-content"> <?php the_excerpt(','); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> read more from this topic.....</a></p> </div> Code (markup): That is what I had in my case. Now, check out your main index file (index.php). Search for something like that : <div class="post-content"><?php the_content('Continue reading this post...') ;?></div> Code (markup): Now, in the category page, replace the first code with the second Worked for me. Don't forget to make some backups, and if you fail then let me know... PS Rep expected