new fb promo page

This commit is contained in:
g
2020-04-14 17:50:38 +03:00
parent bf300a06ff
commit 7b68d0bd98
10 changed files with 139 additions and 8 deletions

View File

@@ -49,6 +49,10 @@ require_once 'inc/walker-nav-menu.php';
<div class="wrapper white new-footer">
<?php
$the_page = sanitize_post( $GLOBALS['wp_the_query']->get_queried_object() );
$slug = $the_page->post_name;
if ($slug != 'publish-your-book'):?>
<header>
<div id="header-menu" class="cont">
<a href="<?= site_url(); ?>" class="main-logo"><img src="<?= get_theme_file_uri('/assets/img/logo.png'); ?>"></a>
@@ -176,5 +180,4 @@ require_once 'inc/walker-nav-menu.php';
});
</script>
</header>
<?php endif;?>