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! While you're at it, check out some resources Treehouse students have shared here.

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

WordPress WordPress Theme Development Custom Post Type Templates in WordPress Coding Your Own Custom Post Type Templates

Simon Tucker
Simon Tucker
9,113 Points

image not appearing when I insert it into portfolio post

My description is fine but when I insert an image using the media insert it doesn't appear at all.

Simon Tucker
Simon Tucker
9,113 Points

I can insert an image from a url but no files from my computer.

Jacobus Hindson
Jacobus Hindson
14,429 Points

Have you tried another browser per chance? Also are the files you are attempting to upload large in size? Perhaps pushing past the local WordPress upload limit.

Simon Tucker
Simon Tucker
9,113 Points

Worked out what the problem was and has also answered why I was getting a white screen when updating/editing and trash.

The answer is I had white space at the end of my functions.php file.

This code is useful to work out the errors just put it in your config file.

error_reporting(E_ALL); ini_set('display_errors', 1);

define( 'WP_DEBUG', true);