Change to function.php file results in disaster
-
I made a change in the function.php file, and now my blog is just a blank, white page. Since it is just a blank page, I can’t re-access the function.php file so I can undo the change. Is there another way to access that file or undo the change without going through my blog?
The blog I need help with is: (visible only to logged in users)
-
Here is the code I added at the end of the file …
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Adds Image of size 140×140 to Excerpt postsadd_image_size(‘excerpt-thumbnail’, 140, 140, true);
// Remove […] from Excerpt and add Read More Link
function change_excerpt_more()
{
function new_excerpt_more($more)
{
// Use .read-more to style the link
return ‘…<span class=”continue-reading”> ‘.’Read More »’ . ‘</span>’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);
}
add_action(‘after_setup_theme’, ‘change_excerpt_more’); -
We provide support only for blogs being hosted WordPress.COM and not for WordPress.ORG software installs. You are posting to the wrong support forum. WordPress.com and WordPress.org are completely separate and different http://support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.
-
-
- The topic ‘Change to function.php file results in disaster’ is closed to new replies.