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...
-
Terri Seymour Terri Seymour has almost 20 years of internet marketing experience and has helped many people start their own business. ...
-
Hello there! My blog post 'Spikes' was published on Sept. 22nd; however, the post before it called 'Flow' was published on...
-
Hi, I am trying to use the Skylark theme to create a portfolio, I want the home page to have my projects shown with a picture and titl...
-
No one likes a slow blog. Your visitors don't like a slow loading site and will most likely abandon it before it even loads. And you...
-
Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing t...
-
The default WordPress setup features file management for images and videos only. Rest of the files are not that supported. Today, you...
-
Hot Off the Press Two New WordPress.com Bloggers on 'Diving into the Giant Pool of the Blogosphere' May 11, 2016 @...
-
In this article, I'm going to cover a topic that doesn't get a lot of love – WordPress multisite. I recently attended a session ...
-
Out of the Office is a new series on the WHIR where we set our out of office auto-reply in order to visit hosting and cloud service prov...
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