WordPress.org

Ready to get started?Download WordPress

Forums

Very "blond" question... (7 posts)

  1. CarolineG
    Member
    Posted 8 years ago #

    Where can I find the code for the wp calendar?
    Searches so many files but can't seem to find it...

  2. vkaryl
    Member
    Posted 8 years ago #

    Whole bunch of calendar stuff in wp-includes/functions.php - tweaking it is hacking core, though.... (not that I don't do that myself, but lots of folks aren't happy or comfortable with it....)

    Also some stuff in wp-includes/template-functions-general.php....

  3. CarolineG
    Member
    Posted 8 years ago #

    Thanksie *S* Gonna read till I'm blind hehe

  4. moshu
    Member
    Posted 8 years ago #

    Do you want just to display a calendar or do you want to modify its code?
    For displaying it just put
    <li id="calendar">
    <?php get_calendar(); ?>
    </li>

    wherever you want to see it.

  5. CarolineG
    Member
    Posted 8 years ago #

    Thanks Moshu, but I know how to make it display *S*
    I needed the code.

  6. ramlev
    Member
    Posted 8 years ago #

    CarolineG:

    here you find the function wp-includes/template-functions-general.php

    search for get_calendar

  7. CarolineG
    Member
    Posted 8 years ago #

    Thank you very much!
    I'll go and check it out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags