Jump to content
Sign in to follow this  
calientes

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

Recommended Posts

calientes    0
calientes
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
Rob    547
Rob

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.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
calientes    0
calientes

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

 

FM

Share this post


Link to post
Share on other sites
Rob    547
Rob

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?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • frakture
      By frakture
      Hi there, 
      I'm looking to use the Powerloop option to display my blog posts on our homepage – however, I only want the title (in a smaller font size) and the Read More button to display. Is there a way to do this? We had achieved it on a previous version, but I'm not figuring it out now (and don't know if standard settings have changed since then). Our homepage is www.frakture.com . Forgive me if there is a super simple solution! ;-) 
      Thanks in advance!
      Dawn
    • tforasiepi
      By tforasiepi+
      How do you move the thumbnail on a blog post?  I need the thumbnails for the blogroll page, but they show up at the top of the actual post page.  Normally, this would be fine, but I've been requested to put it under the blog title.  Any suggestions?
      Thanks.
    • tristanrodgers
      By tristanrodgers+
      Hi there!
      Hi would like to have the thumbnail photos on the left side and not on the top of the topic to the blog post. Where can i fix that?
      http://mc1r-magazine.com/blog/
      Greetings from Hamburg,
      Tristan
    • Seejman
      By Seejman
      Hi guys,
      Am loving the theme. Slight issue, however: when I view a list of blog posts in a category archive the image thumbnails aren't displaying. Is there anything you might be able to suggest that would fix the problem? Perhaps changing the maximum dimensions or something? :/
       
      Any help would be amazing. 
      Cheers,
      Sam.
    • aldisney
      By aldisney+
      Hi--
      I was wondering if there was a relatively easy to way automatically assign a thumbnail to a post category when displaying posts in the Masonic Gallery format, when the post doesn't have a featured image? I've got a client with a ton of posts that just won't have any featured images, but each category has a header image. I'd like to display the header image as the thumbnail for all these posts, since, going forward, my client does actually plan to use featured images.
       
      Thanks!
×