I want to edit my WP calendar?

62 views
asked Jun 18, 2013 in Website Builder by Susan3 (880 points)
Hello,
My WordPress calendar  widget currently links the day it is to the daily archives.  I want the day link to direct to a meeting schedule page and not to the archives.
For example, a Monday link should go to the Monday meeting schedule page and  so on.
Where can I find the files that I can use to edit my calendar?
Any suggestions are welcome
Thank you

1 Answer

0 like 0 dislike
answered Jun 18, 2013 by expert (14,380 points)
Try  filtering  the function get_day_link() in the functions.php like this:
add_filter('your_day_link','your_filter_day_link',10,4);
function your_filter_day_link($link, $year, $month, $day) {
  $day = date('l', mktime(00, 00, 00, $month, $day, $year)); // Monday,Thuesday,Wednesday, etc

  // your link here

  return $link;
}
...