Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Custom Fields plugin - Only images not showing up


I was following the tutorial -> Build A Custom Wordpress Theme

I have installed following plugins

  • Custom Post Types
  • Custom Fields

So i added Testimonial on the page. (works great with text) But if i change one custom field to image...IT DOES NOT SHOW UP :/

Seems like you have to sleep..

and you will discover that when you open Custom Fields plugin. Navigate to custom field you created and see for options. You can find a row with possible options.:

Return Value: Image Object / Image URL / Image ID

I had previously checked Image object.... But what i needed was Image URL

2 Answers


Matt Campbell
Matt Campbell
9,767 Points

kristjan reinsberg , what was your solution to the problem in case others have an issue, they can see this for reference and help.

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

Couple of possibilities:

  1. Your field is setup to be an image
  2. In your template file you're using the correct the_field('image') parameter
  3. Does the file actually upload (inside your media section)?