forked from LiveCarta/LiveCartaWP
debug.qa. not to prod
This commit is contained in:
@@ -123,7 +123,11 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
||||||
|
<pre>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
var_dump($GLOBALS['wp_the_query']);
|
||||||
|
|
||||||
$the_page = sanitize_post( $GLOBALS['wp_the_query']->get_queried_object() );
|
$the_page = sanitize_post( $GLOBALS['wp_the_query']->get_queried_object() );
|
||||||
$slug = $the_page->post_name;
|
$slug = $the_page->post_name;
|
||||||
if ($slug != 'publish-your-book'):?>
|
if ($slug != 'publish-your-book'):?>
|
||||||
|
|||||||
Reference in New Issue
Block a user