Fix for Thesis Custom File Editor in WordPress 3.0

by Kinetic Webs on June 19, 2010

After installing version 3.0 of WordPress, Thesis theme has a minor conflict. When trying to access the Custom File Editor from the admin toolbar, you may see a message similar to this:

Fatal error: Call to undefined function use_codepress() in /ANY_OLD_DIRECTORY/public_html/wp-content/themes/thesis_XX/lib/admin/admin.php on line XX

The editor is still usable but will no longer have syntax highlighting until DIYThemes finds a solution. until then, this fix allows you to again access the file when in WP admin.

You will need to access your site via FTP; dowload admin.php from this directory path. (wp-content/themes/thesis_XX)/lib/admin/admin.php).

Using a plain text editor, comment out the line that calls for syntax highlighting; place two forward slashes just before it:

// if (use_codepress()) add_action('admin_print_footer_scripts', 'codepress_footer_js');

Save and send the revised file to the server to replace the current file. Should work again now!

Modifying this file will require using both a plain text editor and FTP. Many web hosts offer free FTP clients in their Control Panel or do a search based on your Operating System and find a free one online.

This fix will work until there is a more permanent one from the folks at Thesis.

{ 0 comments }

Upgrading Thesis Theme for WordPress from version 1.6 to 1.7

April 29, 2010

I use the Thesis theme for WordPress for all of the sites I deploy so an upgrade to a new version means a lot of sites need this upgrade activated. The instructions on the theme website seemed awkward and I’ve found this method to be easier and works like a charm. Here are the simple [...]

Read the full article →

Time for a Change

March 5, 2010

I’ve been blogging for some time now and with that blogging has come relationships all over the world so thought it was time to move my web development company site to a blogging platform and provide a source for client information in the most timely manner. Look for tips and tricks on developing a WordPress [...]

Read the full article →