how to add a line to functions.php without causing white screen
-
I purchased and am using a plugin called WordPress Car Dealer for one of my sites. After installing it I had a problem with the media uploader when adding a new page or publishing a new blog entry. When I tried to upload a file, the uploader would get stuck at the “crunching” part of the upload. I contacted the plugin’s author and he said I need to add the following line to functions.php:
<?php add_theme_support('post-thumbnails'); ?>
I guess I don’t know the right way to add the line. I tried just adding it to the end or the beginning of the file, but when I did that I started having a different problem. At first I would just get a blank screen after publishing a new blog post or creating a new page, so I would have to go back to the Dashboard (wp-admin) by re-entering the URL. Today it resulted in me seeing a blank white screen instead of being able to log in to the Dashboard.
How do I add that line to functions.php without getting a white screen instead of wp-admin?
If it helps, the theme is Celestial Aura (but I modified the CSS file).
- The topic ‘how to add a line to functions.php without causing white screen’ is closed to new replies.