"; echo '
get_option('code_display') ) echo ' style="display: none;"'; echo '>' . __( "Website display code example", 'yarpp' ) . '
' . __( "(Update options to reload.)", 'yarpp' ) . "
"; echo "
"; echo 'Automatically display related content from YARPP Basic on: '; echo "    "; echo "
"; $post_types = yarpp_get_option( 'auto_display_post_types' ); foreach ($yarpp->get_post_types('objects') as $post_type) { echo " "; } echo "
"; $this->checkbox( 'auto_display_archive', __( "Also display in archives", 'yarpp' ) ); $this->textbox( 'limit', __( 'Maximum number of related posts:', 'yarpp' ) ); $this->template_checkbox( false ); echo ""; $chosen_template = yarpp_get_option( "template" ); $choice = false === $chosen_template ? 'builtin' : ( $chosen_template == 'thumbnails' ? 'thumbnails' : 'custom' ); echo ""; echo ""; echo ""; $this->displayorder( 'order' ); $this->checkbox( 'promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' ) . " " . htmlspecialchars( sprintf( __( "Related posts brought to you by Yet Another Related Posts Plugin.", 'yarpp' ), 'http://www.yarpp.com' ) )."" ) ) . "'> ", 'yarpp' ); } }