Skip to content

Commit

Permalink
Remove support for Yoast Breadcrumbs plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mebishalnapit committed Jan 8, 2017
1 parent bb32054 commit 391760b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions header.php
Expand Up @@ -145,16 +145,14 @@
<?php do_action('the_newsmag_after_header'); ?>
<?php do_action('the_newsmag_before_main'); ?>

<?php if (!is_front_page() && (function_exists('bcn_display') || function_exists('yoast_breadcrumb'))) : ?>
<?php if (!is_front_page() && function_exists('bcn_display')) : ?>
<div class="breadcrumbs-area">
<div class="inner-wrap">
<?php if (function_exists('bcn_display')) { ?>
<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
<?php bcn_display(); ?>
</div>
<?php } elseif (function_exists('yoast_breadcrumb')) {
yoast_breadcrumb('<div class="breadcrumbs">','</div>');
} ?>
<?php } ?>
</div>
</div>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -52,7 +52,7 @@ If you would like to contribute to the translations of this theme to your native
## CHANGELOG
#### VERSION 0.5
* Added the option to make the content and sidebar area sticky
* Added support for Yoast Breadcrumbs and Breadcrumb NavXT plugin
* Added support for Breadcrumb NavXT plugin

#### VERSION 0.4
* Font Awesome icons updated to version 4.7.0
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Expand Up @@ -52,7 +52,7 @@ If you would like to contribute to the translations of this theme to your native
== CHANGELOG ==
= VERSION 0.5 =
* Added the option to make the content and sidebar area sticky
* Added support for Yoast Breadcrumbs and Breadcrumb NavXT plugin
* Added support for Breadcrumb NavXT plugin

= VERSION 0.4 =
* Font Awesome icons updated to version 4.7.0
Expand Down

0 comments on commit 391760b

Please sign in to comment.