Support » Fixing WordPress » how to disable the calendar?

  • Hi, I used search and have read a thread where someone suggests “commenting” a line in some file to make calendar disappear.
    I want to do it but I don’t know which file is this line (and exactly what symbool I have to write to comment it).
    Anyone knows how?
    Thanks and greetings from Barcelona, Spain

Viewing 5 replies - 1 through 5 (of 5 total)
  • Find
    <li id="calendar">
    <?php get_calendar(); ?>


    in index.php and put < ! – – and – – > around it
    (Edited so it shows. Remove the spaces in the characters either side of ‘and’ )

    Arg.. I forgot to reload… so you showed it…

    The other way, without modifying index.php is to use the style sheet.
    Add the following code:

    #calender {
    display: none;
    }

    This will not display the calender. You can also supress the SEARCH or OTHER sections by using “#search” and/or “#other”.
    Regards

    Thanks very much! it worked both ways 🙂

    And the way I do it – I just delete the code calling the calendar from index.php 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to disable the calendar?’ is closed to new replies.