Use global linking options per post type

This commit is contained in:
Brian Miyaji
2014-08-14 19:34:42 +10:00
parent 3eba75ca36
commit 6f49c5e0fe
14 changed files with 56 additions and 80 deletions

View File

@@ -15,7 +15,7 @@ $defaults = array(
'status' => 'default',
'date' => 'default',
'number' => -1,
'link_teams' => get_option( 'sportspress_calendar_link_teams', 'no' ) == 'yes' ? true : false,
'link_teams' => get_option( 'sportspress_link_teams', 'no' ) == 'yes' ? true : false,
'paginated' => get_option( 'sportspress_calendar_paginated', 'yes' ) == 'yes' ? true : false,
'rows' => get_option( 'sportspress_calendar_rows', 10 ),
'order' => 'default',