This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Added to archive-speakers.php | |
function my_facetwp_query_args( $query_args, $class ) { | |
$query_args['orderby'] = 'lastname'; | |
$query_args['meta_key'] = 'lastname'; | |
$query_args['order'] = 'asc'; | |
return $query_args; | |
} | |
add_filter( 'facetwp_query_args', 'my_facetwp_query_args', 10, 2 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open breadcrumbs | |
$breadcrumb = '<div class="breadcrumb">You are here: '; | |
// Separator HTML | |
$separator = '<span class="sep"> / </span>'; | |
// Join all trail items into a string | |
$breadcrumb .= implode( $separator, $trail ); | |
// Close breadcrumbs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* LearnDash Breadcrumbs with uncannyowl.com plugin and Genesis | |
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); | |
add_action( 'genesis_before_loop', 'xll_learndash_breadcrumbs' ); | |
function xll_learndash_breadcrumbs() { | |
echo do_shortcode('[sfwd-breadcrumbs]'); | |
} |