Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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);