Support » Themes and Templates » get_calendar(): What file?

  • Hi:

    Anyone know what PHP file get_calendar() may be found? I am wanting to make a minor modification to the table structure.

    TIA,

    Jules

Viewing 7 replies - 1 through 7 (of 7 total)
  • You mean you want to change something other than the CSS for the calendar in wp-layout.css?

    /wp-includes/template-functions-general.php for old WP nightly builds I think…Just google.

    You mean you want to change something other than the CSS for the calendar in wp-layout.css?

    Yes, I want to add

    rules="groups"

    to the <table> tag.

    Jules

    Sorry for not stating this earlier: thanks for the help, the location of the get_calendar function is in the template-functions-general.php file.

    wp-includes/template-functions-general.php

    On line number 374 by changing $daylength from 1 to 3 you have Mon instead of M listed for the days.

    before
    function get_calendar($daylength = 1) {

    after
    function get_calendar($daylength = 3) {

    Why are you posting in a 2 month old topic?

    Because age doesn’t matter, it’s relevance.

    Thanks for posting the previous info, I’m finding it very helpful.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘get_calendar(): What file?’ is closed to new replies.