hide tohome from pages

This commit is contained in:
infeeeee
2019-09-11 18:39:10 +02:00
parent 1b6cb710f5
commit cb2b7f13ac
2 changed files with 11 additions and 2 deletions

View File

@@ -129,13 +129,19 @@
$post = $orig_post;
wp_reset_query(); ?>
<?php
if ($categories) {
?>
<div class="toHome">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
← <?php _e('Back to home:', 'dis2019');?>
</a>
<hr class="related-wrap single-end">
</div>
<?php
};
?>