• Resolved bobibrown0

    (@bobibrown0)


    Hello,

    I am using the built in calendar of wordpress. When you click on a day, you have the posts of this day. But What I would like to do, is to search for posts of this day and older, so the user will see the website as it was on day X.

    I think I’ll have to change something in the core to do so, but I don’t know what?

    If anybody have a clue, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • asarosenberg

    (@dotnordic)

    You should never change core files because any change you do will be reverted with the next WordPress update. Locate the function that produces the calendar, copy it in to your own theme files (functions.php or other files you use to store theme specific functions). Give the function a new name. Customize it as much as you want.

    Thread Starter bobibrown0

    (@bobibrown0)

    You’re right, it’s obvious but I did not thought about that, thanks for the advice. By the meantime, I haven’t been able to locate the function.

    asarosenberg

    (@dotnordic)

    Calendar widget is in /wp-includes/default-widgets.php

    Thread Starter bobibrown0

    (@bobibrown0)

    Alright, I haven’t tried anything yet, but I found the function, I’ll work on it later, thanks a lot for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calendar Showing results on picked day and before’ is closed to new replies.