Support » Plugins and Hacks » [1.5] Calendar

  • falloutme

    (@falloutme)


    I was wondering if anyone can tell me where the calendar file is located at? I want to include the file in my header.php file but i can’t find the calendar file to include it in.

Viewing 7 replies - 1 through 7 (of 7 total)
  • davestinner

    (@davestinner)

    The code to call up the calendar is <?php get_calendar();?>

    falloutme

    (@falloutme)

    I know that but that only works when it’s displayed in the wordpress index page i need it to work in other pages

    Moderator James Huff

    (@macmanx)

    If you need it to work in other WordPress pages, just add <?php get_calendar();?> to them. The calendar, being a core WordPress function, can not be displayed outside of WordPress.

    Starlet

    (@starlet)

    So i can’t put it in my header.php file that i include? dayum.

    davestinner

    (@davestinner)

    Your header.php file is part of WordPress, so yes, you could put it there if you choose. What macmanx was getting at was you can’t just drop it onto any page on your site and expect to see the calendar. I have mine in my sidebar.php file.

    acrylamid

    (@acrylamid)

    Where can I find the calendar?
    I looked in wp-includes för template-function-calendar.php
    I want to change the calendars weekname. Today it is
    “M T W T F S S” (english style)
    and i want to translate it to swedish.

    acrylamid

    (@acrylamid)

    mhm, I think I found where I should do my edits.
    The locale.php file.

    Yes, it worked.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[1.5] Calendar’ is closed to new replies.