Nick Poulos

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Moving Details Title/Breadcrumbs Into Main Header #441254

    Nick Poulos
    Free User
    Post count: 2

    Update:

    Figured out how to replace my theme header and where it was building it out.

    Added a new block to check for single_post() && get_post_type == ‘gd_place’

    <?php if (get_post_type() == ‘gd_place’) : ?>
    <header class=”page-header clearfix”>
    <div class=”page-header-inner”>
    <h1><?php echo get_the_title( get_the_ID() ); ?></h1>
    <?php if(function_exists(‘get_my_crumbs()’)) {
    echo ‘<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=”http://schema.org/”>’;
    get_my_crumbs();
    echo ‘</div>’;
    }?>
    </div>
    </header><!– .page-header –>
    <?php endif; ?>

    This also allows my original breadcrumb function to come through, perfect.

    I think I can figure out how to remove breadcrumbs and title from details post content. But if not I will be back here soon!

Viewing 1 post (of 1 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount