Display a list of Custom Post Type entries as a widget or a shortcode