Checks if there is at least one link before showing the navigation items.
This commit is contained in:
parent
c92866cae4
commit
fbde79d3a9
|
@ -95,6 +95,7 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<?php if($previous_link_url !== false || $next_link_url !== false): ?>
|
||||
<div class="tainacan-single-post">
|
||||
<h2 class="title-content-items"><?php echo __('Also in this collection', 'tainacan-interface') ?></h2>
|
||||
<div id="item-single-navigation" class="d-flex justify-content-between margin-two-column">
|
||||
|
@ -106,3 +107,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue