PaulSpoerry.com

Social Media, technology, and geeky stuff for your brain.

  • Home
  • About
    • Privacy Policy
  • Categories
    • Google+ Posts
    • Site news
    • Tech
      • Android
      • Apple
      • Chrome
      • Gadgets
      • Hacking
      • Linux
      • OSX
      • Privacy
      • Web Life
        • Bittorrent
        • Facebook
        • FireFox
        • GMail
        • Google
        • Google+
        • Twitter
        • WordPress
        • Windows
          • Windows 7
    • Google+: Getting Started Guides
    • Games
    • Meditation
    • Politics
    • Science
    • That’s freakin hilarious
  • Code
    • FreeImageZoom
    • Post Editor for Google+™
    • The Plus Editor
  • Contact
You are here: Home / Tech / Fix for Freshy2 theme, Customize plugin for Wordpress 2.6

Fix for Freshy2 theme, Customize plugin for WordPress 2.6

August 1, 2008 by Paul Spoerry 1 Comment

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.

Filed Under: Tech, Web Life, Wordpress

About Paul Spoerry

I’m a groovy cat who’s into technology, Eastern Thought, and house music. I’m a proud and dedicated father to the coolest little guy on the planet (seriously, I'm NOT biased). I’m fascinated by ninjas, the Internet, and anybody who can balance objects on their nose for long periods of time.

I have a utility belt full of programming languages and a database of all my knowledge on databases... I practice code fu. Oh, I've also done actual Kung Fu, and have a black belt in Tae Kwon Do.

I run. I meditate. I dance. I blog at PaulSpoerry.com, tweet @PaulSpoerry, and I'm here on Google+.

I'm currently work for IBM developing web enabled insurance applications for IBM and support and develop a non-profit called The LittleBigFund.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2023 · Epik on Genesis Framework · WordPress · Log in