is printed for you. Image and excerpt are never shown for a password-protected post. * * @package ajax-filter-search */ defined( 'ABSPATH' ) || exit; $afs_terms = isset( $afs_terms ) ? (array) $afs_terms : array(); $afs_taxonomy = isset( $afs_taxonomy ) ? (string) $afs_taxonomy : ''; $afs_options = isset( $afs_options ) ? (array) $afs_options : array(); $afs_names = ! empty( $afs_options['show_category'] ) ? AFS_Card::term_names( $afs_taxonomy, $afs_terms ) : array(); $afs_excerpt = ! empty( $afs_options['show_excerpt'] ) ? AFS_Card::excerpt( isset( $afs_options['excerpt_length'] ) ? $afs_options['excerpt_length'] : 25 ) : ''; $afs_image = ! empty( $afs_options['show_image'] ) ? AFS_Card::image( 'medium_large', true, $afs_names ? $afs_names[0] : '' ) : ''; ?>