Archived

This topic is now archived and is closed to further replies.

  • 0

Display the thumbnail of the current post in a Content Box Section ?


Question

Posted · Report post

Hi
I have a very simple question. Which code I can use to display the thumbnail of the current post (as in the exerpt) but in a box (I use a section type : "Content Box") ? I tested this : <?php echo the_post_thumbnail($id); ?>. But It's doesnt work unfortunately.
 
Thanks a lot
 
FM

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi,

 

That's a question is the sort of thing you should get from Wordpress.org or Google.  I did that for you and quickly found this:

http://codex.wordpress.org/Function_Reference/get_the_post_thumbnail

 

Unfortunately, we cannot provide code or customizations via the Forum. You'd need a developer. One of our Pros might help on a fee basis.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks a lot Rob for your advice. I'll keep exploring 

 

FM

Share this post


Link to post
Share on other sites

Posted · Report post

The link I provided at the top before, should give you the correct code.  Are you wrapping it in a div? Applying CSS to it?

Share this post


Link to post
Share on other sites