WordPress.org

Ready to get started?Download WordPress

Forums

add a calendar to a theme (6 posts)

  1. trellos
    Member
    Posted 9 years ago #

    I'm currently toying with the style sheet on my blog. I'd like to add a calendar function (http://www.voxakis.com/blog/) either as a completely new tab on the right sidebar or above the "search" function in the same tab. Can someone help me with this?

    Thanks a mill...

  2. Lorelle
    Member
    Posted 9 years ago #

    First, check to see if your current theme has the calendar there but it is "commented out". It is usually in the sidebar.php template file.

    If not, you can use the get_calendar() template tag instructions to get a default calendar on your site.

    If you are not happy with either of those, copy the calendar from the Classic or Default themes in their sidebar.php template file and paste it into your sidebar or wherever you want it.

    Oh, there are also some calendar plugins to look at:

    http://codex.wordpress.org/Plugins/Calendar_Event

  3. trellos
    Member
    Posted 9 years ago #

    Thanks a ton! I appreciate the help, it gives me something else to play with while I'm on a temp duty assignment in a very boring Chinese city :) I'll tinker with it a bit and see how it goes.

  4. trellos
    Member
    Posted 9 years ago #

    OK, the calendar worked, but it's kinda pushed to the left margin. Is there any way to center the calendar in the tab, or at least move it over?

  5. trellos
    Member
    Posted 9 years ago #

    Never mind...I got it! (I just created an

  6. )

  • trellos
    Member
    Posted 9 years ago #

    Never mind...I got it! (I just created an li tag)

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags