JiveDig
11/11/2013 - 6:14 PM

// Change 'Sorry, no posts' text for books

// Change 'Sorry, no posts' text for books

// Change Sorry no posts text for books
add_filter( 'genesis_noposts_text', 'child_noposts_text' );
/**Changes the No Posts text for search pages */
function child_noposts_text() {
	 
	 if ( is_post_type_archive('download') OR ( is_tax('download_category' ) ) ) {
	     return '<span class="no-posts">' . __( 'Sorry, no books matched your criteria.', 'genesis' ) . '</span>';
	 }
	 
}