Small, very basic help (I think it is small...) needed

Hi,
I try to create custom categories in Thesis theme for wordpress.
I have found the following code, BUT his code assumes that the blog is in the root.
My blog installed in wprs directory. Don’t ask me why I did it that way…
Please, help me to adjust the following code to my installation.

/* Custom Categories */
function custom_archive_info() {
if (is_category(‘apples’)) {
?>

<?php single_cat_title(); ?>

YOUR CUSTOM APPLES TEXT HERE

<?php } elseif (is_category('oranges')) { ?>

<?php single_cat_title(); ?>

YOUR CUSTOM ORANGES TEXT HERE

<?php } else thesis_default_archive_info(); } remove_action('thesis_hook_archive_info', 'thesis_default_archive_info'); add_action('thesis_hook_archive_info', 'custom_archive_info');
Sponsor our Newsletter | Privacy Policy | Terms of Service