Jump to content


Photo
- - - - -

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

thumbnail

  • Please log in to reply
3 replies to this topic

#1 calientes

calientes

    Newbie

  • Members
  • 7 posts
  • Country: Country Flag

Posted 01 April 2013 - 08:59 PM

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


#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 01 April 2013 - 09:08 PM

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:

Please Login or Register to see this Hidden Content

 

Unfortunately, we cannot provide code or customizations via the Forum. You'd need a developer. One of

Please Login or Register to see this Hidden Content

might help on a fee basis.



#3 calientes

calientes

    Newbie

  • Members
  • 7 posts
  • Country: Country Flag

Posted 01 April 2013 - 09:12 PM

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

 

FM



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 01 April 2013 - 09:34 PM

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?







Also tagged with one or more of these keywords: thumbnail