WordPress.org

Ready to get started?Download WordPress

Forums

get_calendar(): What file? (8 posts)

  1. jrickards
    Member
    Posted 9 years ago #

    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

  2. NuclearMoose
    Member
    Posted 9 years ago #

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

  3. XeroCool
    Member
    Posted 9 years ago #

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

  4. jrickards
    Member
    Posted 9 years ago #

    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

  5. jrickards
    Member
    Posted 9 years ago #

    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.

  6. m4c3w4n
    Member
    Posted 9 years ago #

    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) {

  7. XeroCool
    Member
    Posted 9 years ago #

    Why are you posting in a 2 month old topic?

  8. leviw
    Member
    Posted 9 years ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags