'manage_options', 'from_date' => '-2 years', 'hide_posts_only' => true, 'show_singular_content' => false ); $settings = get_option( HOP_SETTINGS, array() ); return wp_parse_args( $settings, $defaults ); } function hop_update_settings( $settings ) { update_option( HOP_SETTINGS, $settings ); } function hop_settings_page_default() { $settings = hop_get_settings(); extract( $settings ); ?>

none' ); ?>
strtotime' ); ?>
/> none' ); ?>
/> is_singular()', 'true' ); ?>

'".date( 'Y-m-d', strtotime( $from_date ) )."' OR post_type NOT LIKE 'post' ) "; } else { $where .= " AND post_date > '".date( 'Y-m-d', strtotime( $from_date ) )."' "; } } return $where; } ?>