WordPress.org

Ready to get started?Download WordPress

Forums

Inserting Image onto loop.php (1 post)

  1. d0rksta
    Member
    Posted 5 years ago #

    Hello, I've been trying to find answers on how to post an image in my loop.php template. I want to post an image at the end of each post but then I want to put it before the GD Star Ratings plugin and the Share/Save Bookmark plugin. Here is the code to where I want to put it in:

    <?php if (is_home() || is_single()) {
    
                        the_content('<font color=#6A287E>Continue reading...</font>');
    
                } elseif (is_archive() || is_search()) {
    
                        the_content();
    
                }
    
                ?>

    Whenever I put the image code after the code, the image shows up after the plugins I mentioned and I don't want that so please help me! Oh yeah, and I want the image to be after the "Continue Reading..." thing. Here is my website:

    http://www.d0rksta.com

Topic Closed

This topic has been closed to new replies.

About this Topic