/ Published in: PHP
If contents is "page-name" do stuff
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (! is_page ('your-page-name')) { ?> // do stuff <?php } ?>
URL: http://alexmuraro.me/posts/wordpress-code-snippets