SITE IS ONLY DISPLAYING ERROR. URGENT HELP!!!!!!!!!!!!!!!!!!!!!!!1
-
I tried to edit the functions.php file and now i’m receiving the following when trying to go to my page ‘// Get URL of first image in a post function catch_that_image() { global $post, $posts; $first_img = ”; ob_start(); ob_end_clean(); $output = preg_match_all(‘//i’, $post->post_content, $matches); $first_img = $matches [1] [0]; // no image found display default image instead if(empty($first_img)){ $first_img = “/images/default.jpg”; } return $first_img;
Fatal error: Call to undefined function catch_that_image() in /home/vanti86/public_html/wp-content/themes/bandana/functions.php on line 47′ PLEASE HELP!!!!!!!!!!!!!!!!!!!!The blog I need help with is: (visible only to logged in users)
-
Your blog is a wordpress.ORG one, you should seek help at http://wordpress.org/support as this is the wordpress.COM support forum, you may need to create an account to post in the forum.
- The topic ‘SITE IS ONLY DISPLAYING ERROR. URGENT HELP!!!!!!!!!!!!!!!!!!!!!!!1’ is closed to new replies.