How to Fix CodePress Error in Thesis WordPress Theme

by Shivendu Madhava on July 8, 2010

WordPress 3.0 Thelonious was released and most of wordpress users upgraded to it but it caused an error to those using Thesis wordpress theme.After upgrading to WordPress 3.0 Thelonious Thesis wordpress theme users are not able to use file editor to edit custom.css and custom_functions.php files.

When trying to use file editor to edit custom.css and custom_functions.php an error is displayed the error message looks like the message below.

Fatal error: Call to undefined function use_codepress() in /home/xxxx/public_html/yourdomain.com/wp-content/themes/thesis_17/lib/admin/admin.php on line 42To fix the error follow the steps below:

Login to your file server using FTP and under Thesis Theme folder, open file thesis_17/lib/admin/admin.php

Comment out the line no 42 by adding //

The line should look like the code below

//if (use_codepress()) add_action(‘admin_print_footer_scripts’, ‘codepress_footer_js’);

Save the admin.php file and update it on file server this will fix the CodePress error in thesis wordpress theme.

Grab Thesis Now


Article by Shivendu Madhava

Shivendu has written 628 awesome articles.

Subscribe to feed via RSS or EMAIL to receive instant updates.

TechnoZeast is a revenue sharing blog, Write for us and make money. Read here for more info

Leave a Comment

Previous post:

Next post: