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 How to Make a Website with WordPress WordPress Widgets and Custom Menus How to Create Widgetized Areas in WordPress

Eric Schweitzer
Eric Schweitzer
4,027 Points

When I FTP these files to my WP installation, my site is broken. All I see is some basic text from the site.

My files are the same size as those on the screen so not thinking they are corrupted. When I remove the new functions.php file and replace with the one from the main theme, the site is restored, but there's no new widget.

2 Answers

Eric Schweitzer
Eric Schweitzer
4,027 Points

Here's the error I'm getting: Fatal error: Call to undefined function twentythirteen_entry_meta() in /htdocs/wordpress4/wp-content/themes/twentythirteenchild/content.php on line 30.

But I didn't edit any of these files and I don't see a call (direct, anyway) to the twentythirteen_entry_meta() function in the functions.php file in the project files zip.

Same here...don't know...

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Sounds like there might be an error in your functions.php file. In your wp-config.php file try setting define( 'WP_DEBUG' ) to true and see if you get any helpful errors.