Add options to widgets

This commit is contained in:
Brian Miyaji
2014-03-17 22:55:24 +11:00
parent da10162988
commit b885665f21
4 changed files with 25 additions and 4 deletions

View File

@@ -197,7 +197,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) {
$calendar_output .= "\n\t</tr>\n\t</tbody>\n\t</table>";
if ( $id && $r['show_all_events_link'] )
$calendar_output .= '<a class="sp-all-events-link" href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a>';
$calendar_output .= '<a class="sp-calendar-link" href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a>';
return apply_filters( 'sportspress_events_calendar', $calendar_output );