Oct 28
If I’ve said it once I’ve said it a million times, so why can’t I follow my own advice, after updating wordpress to 2.6.3 I decided to check everything else and upgrade them as well and it turns out k2 has rc7 out, so off to the command line and after I type “rm -rfv k2″ I smack myself in the head.
My custom skin of K2 isnt backed up anywhere, SO back to the default k2 skin for a bit while I redesign the old skin, actually maybe this is a good time for a site redesign, keep an eye pealed you may see a new look to kaotickreation soon. but in the mean time I’m going to hunt around for a decent looking premade skin.
Anyway let this be a lesson to you, Backup, Backup & whats that last step again, oh yea BACKUP!
written by Brandon Leon
\\ tags: Backup, k2, wordpress
Apr 05
K2 is back, but is RC5 out? nope, I did a bit of research and discovered the reason k2 was not working with Wordpress 2.5 was actually the fault of the new Wordpress 2.5 dashboard. While the new Dashboard is pretty impressive it now uses widgets.
Herein lies the problem k2 blocks the wordpress widgets to instead use its built in sidebar, now I love this sidebar. so the solution to getting k2 to function is to disable its ability to block widgets when displaying the admin screen. this can be done by modifying the widgets-removal.php located in:
wp-content/themes/k2b/app/includes
simply update the entire contents of that file to the following.
<?php
if(get_option
(‘k2sidebarmanager’) !==
1) {
remove_action
(‘plugins_loaded’,
‘wp_maybe_load_widgets’,
0);
if( is_admin
() ){ // If someone is trying to access the admin page
global $pagenow;
if( $pagenow ==
‘index.php’ ) wp_maybe_load_widgets
();
}
}
?>
I’ve also noticed that in a few cases you will still receive errors when trying to view the admin panel. I was able to solve this by renaming the k2 directory to something different k2b for example. then under the themes section of the admin control panel reactivate k2.
written by Brandon Leon
\\ tags: Code, Hack, Howto, k2, wordpress
Apr 04
Hello all welcome to the new, and might I add temporary look to blog.kaotickreation.com After upgrading to 2.5 I realized K2 has not been updated to work with WordPress 2.5 yet, they are currently working at getting an updated release to the k2 them and as soon as one is available I’ll have the site looking back the way it was before.
written by Brandon Leon
\\ tags: k2, wordpress