Search This Blog
Popular Posts
-
Elegant Themes has been developing WordPress themes for a long time. It has developed lots of popular themes including Divi, Nexus, Fa...
-
It has not only changed the traditional perspective of buyers and sellers, but also revolutionized the entire concept of retail busine...
-
Hello there! My blog post 'Spikes' was published on Sept. 22nd; however, the post before it called 'Flow' was published on...
-
This is part of our "Learn WordPress" series. In this post, you will find out how to properly set up WordPress after creati...
-
This is a popular and the best bookstore WordPress themes that suit you for your e-commerce such as eBooks website. This feature...
-
AS part of streamlining our reporting function the Hedon Blog is to become formally part of HU12 Online with all of our Hedon news beginning...
-
The best Black Friday / Cyber Monday WordPress Deals in 2016 all in one place. If you missed the huge deals last year, be sure to get in...
-
What is the exact URL of the site you deleted? If you are referring to a site that was hosted by wordpress.COM, the relevant wordpress.C...
-
The Anti-Defamation League (ADL) today urged the blog publishing platform WordPress to remove ISIS propaganda from its website, after the ...
-
What comes to mind when you hear of WordPress? For a majority of people, blogging comes to mind. To other people who are professionals in we...
Blog Archive
- December (18)
- November (29)
- October (27)
- September (29)
- August (31)
- July (30)
- June (29)
- May (29)
- April (30)
- March (31)
- February (28)
- January (31)
- December (31)
- November (30)
- October (31)
- September (30)
- August (43)
- July (42)
- June (33)
- May (43)
- April (36)
- March (37)
- February (31)
- January (4)
- December (1)
- November (1)
- October (24)
- September (24)
- August (25)
- July (28)
- June (18)
- September (1)
Total Pageviews
Blogroll
Editing Theme File, Crashed Website?
omarochoaMemberPosted 4 hours ago #
Hello all,
I was editing a blog of mine on WordPress at http://jonathangcameron.com/ and went into custom-header.php and wanted to edit the color on the header bar of the website. The theme is a free theme on WordPress called Flatter. It initially read:
//If no custom options for text are set, let's bail //get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hexvalue if ( HEADER_TEXTCOLOR === $header_text_color ) { return; }I edited the portion " === $header_text_color " to say " === #0f5971 " and when I hit Update File to see the changes, the website showed this error message.__
"Parse error: syntax error, unexpected 'return' (T_RETURN) in /home/camerondowning/public_html/jonathangcameron.com/wp-content/themes/flatter/inc/custom-header.php on line 43"__
How can I fix it? I can't even log into the WordPress site to undo any changes.
Regards
Access your server via SFTP or FTP, or a file manager in your hosting account's control panel, and edit the file with a plain text editor.
When you have undone what you changed and saved the file, I recommend reporting the issue at https://wordpress.org/support/theme/flatter so the theme's developers and support community can help you with this.
Source: Editing Theme File, Crashed Website?
0 comments:
Post a Comment