Skip to content

Commit 1ed3a63

Browse files
author
Brylie Christopher Oxley
authored
Merge pull request #188 from MuluhGodson/double_breadcrumb
Remove double breadcrumbs
2 parents cb8a87e + c136d4b commit 1ed3a63

File tree

9 files changed

+5
-57
lines changed

9 files changed

+5
-57
lines changed

archive.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
<div class="columns is-centered">
66
<div class="column">
77
<h2><?php echo CC_Site::page_title(); ?></h2>
8-
<?php
9-
if ( function_exists( 'yoast_breadcrumb' ) ) {
10-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
11-
}
12-
?>
138
</div>
149
</div>
1510
</div>

author.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
?>
1313
<header class="page-header bg-grey">
14-
<?php
15-
if (function_exists('yoast_breadcrumb')) {
16-
yoast_breadcrumb('<p id="breadcrumbs">', '</p>');
17-
}
18-
?>
1914
<div class="container">
2015
<div class="columns m-0 is-centered">
2116
<?php if (!empty($author_image_url)) : ?>

category.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
<div class="columns is-centered">
66
<div class="column">
77
<h2><?php echo CC_Site::page_title(); ?></h2>
8-
<?php
9-
if ( function_exists( 'yoast_breadcrumb' ) ) {
10-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
11-
}
12-
?>
138
</div>
149
</div>
1510
</div>

inc/partials/post_formats/content-default.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,4 @@
77
} else {
88
echo '<span class="entry-date">' . get_the_date( CC_Site::get_date_format() ) . '</span>';
99
}
10-
?>
11-
<?php
12-
if ( function_exists( 'yoast_breadcrumb' ) ) {
13-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
14-
}
15-
?>
10+

index.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
<div class="columns is-centered">
99
<div class="column">
1010
<h2><?php echo CC_Site::page_title(); ?></h2>
11-
<?php
12-
if ( function_exists( 'yoast_breadcrumb' ) ) {
13-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
14-
}
15-
?>
1611
</div>
1712
</div>
1813
</div>

page.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@
44
?>
55

66
<section class="main-content">
7-
<header class="page-header">
8-
<div class="container">
9-
<div class="columns is-centered">
10-
<div class="column">
11-
<?php
12-
if ( function_exists( 'yoast_breadcrumb' ) ) {
13-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
14-
}
15-
?>
16-
</div>
17-
</div>
18-
</div>
19-
</header>
207
<section class="entry-page-content">
218
<div class="content">
229
<?php the_content(); ?>

search.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
<div class="columns is-centered">
66
<div class="column">
77
<h2><?php echo CC_Site::page_title(); ?></h2>
8-
<?php
9-
if ( function_exists( 'yoast_breadcrumb' ) ) {
10-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
11-
}
12-
?>
138
</div>
149
</div>
1510
</div>

sidebar.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@
44
the_post();
55
?>
66
<section class="main-content">
7-
<header class="page-header">
8-
<div class="container">
9-
<div class="columns is-centered">
10-
<div class="column">
11-
<?php
12-
if ( function_exists( 'yoast_breadcrumb' ) ) {
13-
yoast_breadcrumb( '<p id="breadcrumbs">', '</p>' );
14-
}
15-
?>
16-
</div>
17-
</div>
18-
</div>
19-
</header>
207
<div class="container">
218
<div class="columns is-centered is-variable is-5">
229
<div class="column is-3">

style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ This theme, like WordPress, is licensed under the GPL.
123123
.has-black-color {
124124
--textColor: #000000;
125125
}
126+
/* CSS for breadcrumbs */
127+
#breadcrumbs {
128+
padding: 1.25em 2.375em;
129+
}
126130

127131
/* CSS for same-height columns in a column group. This class has to be added to each column seperately. */
128132
.column-same-height {

0 commit comments

Comments
 (0)