No image
-
I changed many themes but images for post is not appearing in homepage .wot to do ? pls help
[No bumping. If it’s that urgent, consider hiring someone.]
-
Well, your guess is as good as mine, really. You’ve got to be prepared to just keep on trying things until you find something that works.
What error did you get?
I guess you could try getting rid of the call to
the_post_thumbnail()altogether. Worth a try, I suppose. Make sure you just comment it out rather than deleting it so you can put it back later.Have you checked the properties you set up when you inserted the image into your post? What properties did you set?
Cheers
PAE
Don’t know what your first sentence means.
For the image configurations, I mean the image settings that you chose when you inserted the image into your post. To see what they are, edit your post, hover over the image and click on the configuration icon that appears. The dialog that then gets displayed shows you the settings you chose. You can change them of you want. They include things like the image size, whether it is floated and so on.
Cheers
PAE
this is the detail bro
but i think its only for inside post image , but for homepage thumbnail size bro ? π
No idea.
As I say, you can try getting rid of the call to
the_post_thumbnail(), but I’ve no idea if it’ll work.You never told me what error message you got.
Cheers
PAE
oops i cant find the_post_thumbnail() bro , a m i missing any bro ?
It’s in index.php, just above where
the_post_excerpt()was before you replaced it withthe_content()Cheers
PAE
i am getting “Parse error: syntax error, unexpected ‘;’ in /home/mobisdkc/public_html/wp-content/themes/protect/index.php on line 31”
What’s on line 31 of that file? Post some context, like lines 30 to 33 if you can.
Cheers
PAE
It obviously doesn’t like the semicolon. Try putting a space between the semicolon and the ‘?>’. If that doesn’t work, try deleting it – but leave the space.
I’d also try commenting out lines 30 – 32 inclusive to see what you get.
cheers
PAE
You’re missing a closing parenthesis. You should have:
<?php the_post_thumbnail('full', array('class' => 'alignleft')); ?>Try that, and if it doesn’t work try commenting out lines 30 – 32 inclusive and see what happens.
Cheers
PAE
pls chk site bro ,horizontal images are ok , but still vertical images are small bro .
No idea. Sorry. Have you tried asking the theme developers for help?
Cheers
PAE
The topic ‘No image’ is closed to new replies.