Remove breadcrumbs on member detail pages
authorLaury GvR <laury@gaslightmedia.com>
Tue, 30 Jan 2018 14:32:01 +0000 (09:32 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 30 Jan 2018 14:32:01 +0000 (09:32 -0500)
template-parts/content-page.php

index 70142d3..2adb385 100644 (file)
@@ -21,7 +21,7 @@
             ?>
        </header><!-- .entry-header -->
 
-       <?php if ( function_exists('yoast_breadcrumb') )
+       <?php if ( function_exists('yoast_breadcrumb') && !is_member() )
        {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?>
 
        <div class="entry-content">