include_post_type(); foreach ($yarpp->get_taxonomies() as $taxonomy) { $this->exclude($taxonomy->name, sprintf(__('Disallow by %s:', 'yarpp'), ucwords($taxonomy->labels->name)), $taxonomy->_builtin); } $this->checkbox('show_pass_post', __('Display password protected posts', 'yarpp')); $this->checkbox( 'include_sticky_posts', __( "Display sticky posts", 'yarpp' ) ); $recent = yarpp_get_option('recent'); if ((bool) $recent) { list($recent_number, $recent_units) = explode(' ', $recent); } else { $recent_number = 12; $recent_units = 'month'; } $recent_number_html = ''; $recent_units_html = ''; ?>
/>
checkbox( 'past_only', __( "Display only posts older than current post", 'yarpp' )."  " ); $this->checkbox( 'same_post_type', __( "Limit to same post type", 'yarpp' )."  ", '', array('option_value' => ! yarpp_get_option('cross_relate')) ); ?>