Commit 423de1e Alex Perfilov
committed
1 parent 20663cf commit 423de1e Copy full SHA for 423de1e
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ function roots_title()
10
10
} else {
11
11
return __ ('Latest Posts ' , 'roots ' );
12
12
}
13
- } elseif (is_archive () OR is_single () OR is_page ()) {
14
- if (is_single () OR is_page ()) {
13
+ } elseif (is_archive () || is_single () || is_page ()) {
14
+ if (is_single () || is_page ()) {
15
15
global $ post ;
16
16
if ($ post ) {
17
17
$ term = get_the_category ($ post ->ID );
Original file line number Diff line number Diff line change 66
66
"water " ,
67
67
"climate "
68
68
);
69
- if ($ subnav OR (isset ($ subnav_extra ) && $ subnav_extra )):
69
+ if ($ subnav || (isset ($ subnav_extra ) && $ subnav_extra )):
70
70
?>
71
71
72
72
<div class="subnav banner">
Original file line number Diff line number Diff line change 75
75
<div class="page-header">
76
76
77
77
78
- <?php if (is_category () OR is_tax ()): ?>
78
+ <?php if (is_category () || is_tax ()): ?>
79
79
<div class="tagline">
80
80
<?php echo category_description (); ?>
81
81
</div>
You can’t perform that action at this time.
0 commit comments