Exemplo n.º 1
0
function genesis_taxonomy()
{
    if (is_category() || is_tag()) {
        echo '<div id = "taxonomy-archive">';
        genesis_do_breadcrumbs();
        echo '</div>';
    }
}
Exemplo n.º 2
0
function bfg_do_breadcrumbs()
{
    if (function_exists('yoast_breadcrumb')) {
        yoast_breadcrumb('<p class="breadcrumbs">', '</p>');
    } else {
        genesis_do_breadcrumbs();
    }
}
<?php

/**
 * Template Name: Venue Details
 *
 * This is template will display all of your Venue's details
 *
 * @ package		Event Espresso - Event Registration and Management Plugin for WordPress
 * @ link			http://www.eventespresso.com
 * @ version		EE4+
 */
get_header();
genesis_do_breadcrumbs();
?>

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
		
			<div id="espresso-venue-details-wrap-dv" class="">
				<div id="espresso-venue-details-dv" class="" >				
			<?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    //  Include the post TYPE-specific template for the content.
    espresso_get_template_part('content', 'espresso_venues');
    // If comments are open or we have at least one comment, load up the comment template.
    if (comments_open() || get_comments_number()) {
        comments_template();
    }
}
Exemplo n.º 4
0
/**
 * Wrapper for genesis breadcrumbs functions so that the theme options have control over breacrumbs display
 * @return none
 * @since 1.0
 */
function cuttz_do_breadcrumbs()
{
    $display_breadcrumbs = apply_filters('cuttz_do_breadcrumbs', true);
    if ($display_breadcrumbs) {
        genesis_do_breadcrumbs();
    }
}