get_results("SELECT ID, post_name FROM {$wpdb->posts} WHERE post_type='view-template' AND post_status in ('publish')"); $view_available = $wpdb->get_results("SELECT ID, post_name FROM {$wpdb->posts} WHERE post_type='view' AND post_status in ('publish')"); $affiliate_url = wpv_get_affiliate_url(); ?> 0) { echo '

' . __('Views are lists and groups of content, like a listing or showcase page. On your theme the following Views are defined:', 'wpv-views') . "

\n"; echo "\n"; } if (sizeof($view_template_available) > 0) { echo '

' . __('View Templates are applied to pages to create different layouts. On your theme the following View Templates are defined:', 'wpv-views') . "

\n"; echo "\n"; } ?>

Views from %s', 'wpv-views'), 'http://wp-types.com/ »'); ?>