• Resolved mindilyons

    (@mindilyons)


    I am using the Pink World theme, although I’ve seen many other people with other themes have the same problem. I believe it is a coding issue, so I’m hoping somebody will tell me how to fix it.

    Here is what I do…

    I go into a post and click on “Set Feature Image”. I select a file from my computer or from the gallery and click “Set as featured image”. I click “save all changes” and then exit out of that window. Then I “update” the post and go to my website, refresh the page if necessary, and the image doesn’t show up at all.

    PLEASE HELP! This is driving me nuts!!

    Here is a link to my site: http://www.gottablingiton.com

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You should really create child theme if you want to change things, because you will loose all the changes you made if you update the original theme.
    Anyway… in your index.php i would change line 63 (it looks like this)

    <div class="wide-post">
    
                            <a class="left"  href="<?php the_permalink();?>"><img src="<?php echo get_post_meta($post->ID, 'thumbnail', true);?>" alt="Post Pic" width="125" height="125" /></a>
    
    						<div class="right">

    to something like this

    <div class="wide-post">
    
                            <a class="left"  href="<?php the_permalink();?>"><?php the_post_thumbnail( array(125,125) ); ?> </a>
    
    						<div class="right">

    Thread Starter mindilyons

    (@mindilyons)

    Oh interesting! I’ve never heard of child theme. It sounds like it would be great for me to do that. Honestly, although I have put hours into this already trying to figure this out, I really haven’t put any actual content there, so I’m not losing a whole lot. Whatever I have there would take minutes to put back up if everything was working properly, so I will need to look further into how to implement child theme and then add my Pink theme on top of that.

    Thank you so much for looking over my website and providing some code for me to try. I will do that and let you know if it works!

    –Mindi

    Thread Starter mindilyons

    (@mindilyons)

    Ok, I replaced the line 63 code with what you suggested, and the “thumbnail” size images are showing up on the home page, but they still aren’t showing up in the slider at the top. Maybe there is some code in the slider that needs to be changed? Would you mind taking another peek at my website and letting me know what you think?

    I greatly appreciate it!

    Mindi

    There is a slider.php file, not sure about that without a bit of playing with the code, but try to replace line 133. I don’t know what are you using for working with files but i’m using notepad++ and i have line numbers… 🙂
    Find this in slider.php

    <div class="fdates"><?php the_time('M d, Y'); ?></div>
             <p><?php the_content_rss('', TRUE, '', 45); ?></p>
             </div> <!-- /fcontent -->
    
        			 <a href="<?php the_permalink();?>"><img src="<?php echo get_post_meta($post->ID, 'thumbnail', true);?>" alt="<?php the_title(); ?>" width="922" height="409" /></a>
    
        	</div><!-- /panel -->

    and again change

    <a href="<?php the_permalink();?>"><img src="<?php echo get_post_meta($post->ID, 'thumbnail', true);?>" alt="<?php the_title(); ?>" width="922" height="409" /></a>

    with

    <a href="<?php the_permalink();?>"><?php the_post_thumbnail( array(922,409) ); ?> </a>

    and in line 165 change

    <div><a href="#<?php echo $i; ?>" class="cross-link active-thumb" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, 'thumbnail', true);?>" class ="nav-thumb" width="83" height="83" /></a></div>

    with

    <div><a href="#<?php echo $i; ?>" class="cross-link active-thumb" title="<?php the_title(); ?>"><?php the_post_thumbnail( array(125,125), array('class' => "nav-thumb") ); ?></a></div>

    Hopefully that will work. 🙂

    Thread Starter mindilyons

    (@mindilyons)

    Can I just say….YOU ARE MY HERO!!!! I wish I had you on speed dial to resolve my other issues like…how do I get that dang box on the slider to be a little smaller so it doesn’t cover the featured image so much, and how do I delete the advertising box? Every time I delete the URLs in the theme’s package, they keep showing up again.

    Annnnnnyway….I really super duper appreciate all your help! Wish I could download your knowledge and experience. 🙂

    Have a great day!

    Mindi

    wow great buddy thanks a lot it works i dnt what does it makes change all seems to be as its but still its coming up with image

    thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Featured Image is not showing up’ is closed to new replies.