PaulSpoerry.com

You found me… insights on technology, philosophy, Windows, hacking and more.
  • rss
  • Home
  • Archive
  • Links
  • Contact
  • Categories
  • Search
  • About

Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

PaulSpoerry | August 1, 2008

freshy2 preview Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

I’m obviously a fan of Jide’s Freshy2 theme, it’s the theme I use on this site. However, in order to do some of the fancy stuff within the theme you’re required to also use Jide’s Customize plugin. The Customize plugin provides css based customization for themes. It’s allows themers offer customization options with their theme really easily, just with a few css tricks! Sounds cool right? It is… unless you’re using Wordpress 2.6. Apparently, WP 2.6 uses a new version of scriptaculous and it conflicts with the theme/plugin. What you’ll see is an inability to see the media buttons when writing posts, among other things. No word from Jide on when an official fix will be issued, however Nestle Poell has compiled a collection of fixes which should make the plugin work (at least mostly work) so that you can use the Freshy2 theme.

From Nestle’s page:

If you’re using the Freshy 2.0.6 theme + Customize Plugin + Wordpress 2.6 then you’re stuck with the blank page when you click the “Freshy Theme Options” or you get the “Your theme does not support customization” when you click “Customize Theme“; Here’s a simple fix that you can use until an official patch/fix is provided by Jide himself: You need to edit a few lines on 3 php file.

File: functions.php
Location : Inside your Freshy2 theme folder
Line  473, Change

$path = ABSPATH.$theme_info->template_dir.’/’;

to

$path = ABSPATH.’wp-content’.$theme_info->template_dir.’/’;

File: nice_theme.php
Location: inside your Customize plugin folder
Line 24, Change

Change $this->path = ABSPATH.$this->theme_info->template_dir.’/’;

to

$this->path = ABSPATH.’wp-content’.$this->theme_info->template_dir.’/’;

You’d be surprise that with the 2 changes you did above, it’ll fix your WP 2.6 in no time! However, you’ll notice that the “add media” buttons is missing. To fix that problem :

File: nice_forms.php
Location: Inside your Customize plugin
Comment or remove line 92. It’s the line that has something to do with scriptaculous.js.

/* print ‘<script type=”text/javascript” src=”‘.$this->url.’js/scriptaculous.js?load=effects,dragdrop”></script>’; */

I haven’t personally tested this as my theme was already customized all I needed but for those of you looking to use Freshy2 give the above a shot. It’s your best bet until Jide releases an update.

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to Ping.fm]  [Post to Reddit]  [Post to StumbleUpon] 

Related posts:

  1. Wordpress stats plugin release for all Wordpress users
  2. Customize your Google personal page with themes
  3. Download Wordpress plugins
  4. 350+ Free Wordpress themes by rating, downloads, viewed, tested, and voted
  5. Wordpress enabled for iPhone 2

Categories
Code, Tech, Web Life, Wordpress
Tags
change path, conflicts, css tricks, customization, customize, customize plugin, customize plugin fix, freshy2 theme, jide, plugin work, scriptaculous, theme folder, wordpress customize plugin, wordpress freshy theme, wp
Comments rss
Comments rss
Trackback
Trackback

« What do Atheists and Christians Really Believe? MIT develops way to mimic essence of plants’ energy storage system »

One response

[...] Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

Top 5 Wordpress Tab Systems | WORDPRESS EXTENSIONS-PLUGINS-THEMES-TEMPLATES | March 25, 2009

[...] Fix for Freshy2 theme, Customize plugin for Wordpress 2.6 [...]

Leave a comment

You must be logged in to post a comment

Recent Posts

  • Pre-Order Windows 7 for $49.99
  • FireFox 3.5 Geolocation – scary accurate
  • Google Voice Adding 1 Million Phone Numbers
  • Your Credit Score vs each State in the US
  • Mario Game USB sticks a must have of Mario lovers

Popular Posts

  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • How to get an invite to what.cd
  • Google won’t search for Chuck Norris because it knows you don’t find Chuck Norris, he finds you.
  • 15+ Must-Have Thumb Drive Apps for Geeks

Recommended Hosting

rss Comments rss