I am working on fixing the theme I am using, GStyles (available here) and trying to make it work with WordPress 2.3.
So far I have fixed index.php and singles.php.
Here is an original code snippet from singles.php (sorry, the code runs over the edge, the theme is fixed width so it runs over… I might make this column flexible in due time, one thing at a time… or see if there is a “word wrap” feature in the program highlighter)…it should be the same in index.php:
[php]Category: | |‘); ?>
Tags:
>[/php]
This was fixed in my new version to look like this:
[php]Category: | |‘); ?>
‘); } else {echo “Tags: None”;} }?>
‘; } ?>[/php]
That should allow it to fall back to UTW if somebody is still using an older version of WordPress. However, I don’t have an old install to test it on, but near as I can tell it should be good.
I am now working on fixing the functions.php and finding a fix for the post2cat
problems in it.
The problem with GStyles in WordPress 2.3 as it stands now also comes from the following in singles.php:
[php]No related posts
‘;
} else {
echo ‘
‘;
}
}
}
?>[/php]
The fix is simple enough for now, just take that bit out. It kills the Related Posts function, but cattag_related_posts
needs the post2cat
. Now that is the part that may be past my programming experiences so far… then again, I did figure out how to get the rest working.