* Template Redirect
* Use archive-books.php for all books and 'book-category' taxonomy archives.
* @author CCDN
* @link https://codexcafe.net
*
* @param string, default template path
* @return string, modified template path
*
*/
function be_template_redirect( $template ) {
if ( is_tax( 'book-category' ) )
$template = get_query_template( 'archive-books' );
return $template;
}
add_filter( 'template_include', 'be_template_redirect' );