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