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

@@ -16,7 +16,7 @@ $defaults = array(
'captiontag' => 'dd',
'caption' => null,
'size' => 'thumbnail',
'link_posts' => get_option( 'sportspress_list_link_players', 'yes' ) == 'yes' ? true : false,
'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false,
);
extract( $defaults, EXTR_SKIP );