• Just upgraded to 1.5, everything looks good, but what happened to the calender in the default template? I would really like to put it back in and would appreciate some guidance. (I of course learned of the upgrade about 3 hours after installing WP for the very first time *laugh*) So I am sorry if I sound ignorant, but…well…I am!

    Also, any hints on how I get a new template to work in 1.5 would be appreciated, but the calender is by far the most important thing.

    Thank you in advance!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Add <?php get_calendar(); ?> to sidebar.php.

    Thread Starter seanpaune

    (@seanpaune)

    Ok folks…I am a moron…I have NO clue where to put that code in…I am totally lost! I am perfectly willing to learn though! Does anyone have a good php tutorial online I could go look at? And maybe, just this once, you could show me the full snippet I need to enter?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Stick it between Archive and Categories, that’ll at least give you an idea on how to position it. Ex:
    <li><h2><?php _e('Archives'); ?></h2>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li>

    <?php get_calendar(); ?>

    <li><h2><?php _e('Categories'); ?></h2>
    <ul>
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
    </ul>
    </li>

    Thread Starter seanpaune

    (@seanpaune)

    Ok, I put it EXACTLY where you showed…still nothing….is there any chance that when I installed 1.5 it didn’t have calendar?

    http://www.seanpaune.com btw

    Nope, no chance of that. get_calendar() is a WordPress function. If you were missing it, you’d be missing template-functions-general.php, and have far more problems than your calendar not working.

    You say you put it where you were shown, but was it in this file:

    /wp-content/themes/classic/sidebar.php

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    My apologies, try adding it as:
    <li id="calendar">
    <?php get_calendar(); ?>
    </li>

    Ex:
    <li><h2><?php _e('Archives'); ?></h2>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li>

    <li id="calendar">
    <?php get_calendar(); ?>
    </li>

    <li><h2><?php _e('Categories'); ?></h2>
    <ul>
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
    </ul>
    </li>

    Sorry about missing that tiny detail.

    Thread Starter seanpaune

    (@seanpaune)

    *slams head into laptop repeatedly* still nothing. I don’t get this…I am copying and pasting your stuff so no chance of typos….I am using the editor in WP so I know it isn’t a conflict there. Anything else you can think of?

    And let me just say thank you for your extreme patience!

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Are you sure that you’re adding it to /wp-content/themes/classic/sidebar.php ?

    Thread Starter seanpaune

    (@seanpaune)

    Kafka – You are the man…I was in default…went into classic, updated and boom.

    Thank you both for your patience with the total and complete n00b!

    Thread Starter seanpaune

    (@seanpaune)

    also…mac you are the man:) you both rock!

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    glad I could help

    Just good to see you got things working the way you want them.

    Thread Starter seanpaune

    (@seanpaune)

    and you both got plugs for your sites in my blog….expect WAVES of traffic….alright…a drip:)

    “Every deluge begins with a raindrop.”

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Thanks! Enjoy that new calendar. ^_-

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘1.5 installed…where did calender go?’ is closed to new replies.