• Hello there my first post to the support forum.Im using a MX4 theme and would like to remove the calender from the sidebar.Can someone please explain how this is done.I’m new to wordpress.

    Appreciate any response,

    thanks,

    Alexander

Viewing 8 replies - 1 through 8 (of 8 total)
  • Look in sidebar.php for the words “get_calendar”. When you find them you should also find a section of code which looks something like this:

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

    What you want to do to begin with is “comment out” the whole calendar-call section, with the uls and lis etc. To do that, you do this:

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

    Then if things are still working as you want them to, you can delete that section, though leaving it in like that won’t hurt anything.

    Thread Starter doctorbean

    (@doctorbean)

    Hey thanks for the quick response vkaryl,will give it a go.

    Alexander

    Post back if you need more help….

    Thread Starter doctorbean

    (@doctorbean)

    Dude I need more help.Attempted what you suggested and it made my sidebar vanish.

    Heres a screengrab of the code.

    http://alexandersvideos.com/images/calendercode.jpg

    thanks for your patience.

    Alexander

    The line you need to comment out is at the top, 7th line down.

    Thread Starter doctorbean

    (@doctorbean)

    When you say “comment out” does that mean delete..

    Do not delete the section, as you may wish to add it back at some point. By comment out, simply put this at the beginning of the section you do not want to show up as in the example above: <!–

    Now this at the end of the section: –>

    In between those, is what you’ve “commented out”. PHP will basically pass over anything between those. Coders use this to place comments about their code and it will not show in the website. Hope that helps.

    Thread Starter doctorbean

    (@doctorbean)

    Ok….finally its worked.

    thanks for your help all.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Removing Calender from MX4 Theme Sidebar’ is closed to new replies.