katrinahx
Forum Replies Created
-
Forum: Themes and Templates
In reply to: ERROR: "Cannot load theme-settings"so in “Appearance” -> “Editor” and then in CSS I changed this:
if ( is_admin() )
require_once( trailingslashit( get_template_directory() ) . ‘admin/functions-admin.php’Also, one more thing — the code you used above is not CSS code, this code is related to functions so would need to be added to the functions.php file, not the CSS file. CSS code includes things like font styles, border styles, colors, font sizes, appearance related styling changes.
Some tips on making changes to the functions.php file (since In my experience, making changes to the functions.php file can be tricky):
1) It’s always best to make a copy of the orginal functions.php file before changing it.
2) Sometimes, when making functions customizations within the WordPress dashboard, errors can occur. It’s best to use a text editor outside of WordPress and make the change to the functions.php file there, then upload that file to your site via your web host cpanel (your web host can guide you in this process) or via FTP.Hope this helps!
Forum: Themes and Templates
In reply to: ERROR: "Cannot load theme-settings"Hi Phil, I just checked your site and it appears the wp-content folder is inside the wp-admin folder. The wp-content folder should be in the root folder called “public_html”, not inside the wp-admin folder. I would move the wp-content folder to the root folder and/or contact your web host to guide you through this process.
Here is the error message I see on your site:
Parse error: syntax error, unexpected ‘)’ in /home2/boddah27/public_html/wp-admin/wp-content/themes/hatch/functions.php on line 89Here is what the directories should look like:
/home2/boddah27/public_html/wp-admin
/home2/boddah27/public_html/wp-content