Created
July 25, 2013 13:43
-
-
Save jclapp23/6079757 to your computer and use it in GitHub Desktop.
WP_Cal_Demo #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$calendar_output .= '<td>'; | |
if ( in_array($day, $daywithpost) ){ | |
$title_div = "<div>"; | |
foreach($ak_titles_for_day[$day] as $ak_title){ | |
$title_div .= "<a href='".$ak_title['url']."' title='".$ak_title['title']."'>".$ak_title['title']."</a><br/>"; | |
} | |
$title_div .= "</div>"; | |
$calendar_output .= "<span>$day</span>".$title_div; | |
} | |
else{ | |
$calendar_output .= $day; | |
} | |
$calendar_output .= '</td>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment