Hide a div that is part of all pages on one specific page
Guess from the URL structure, your %postname% permalink structure is active. So, a bit of internal CSS can help alternatively, and the syntax is in_page(‘page_slug’): <?php // Do action only on specific page in WP ?> <?php if( in_page(‘resourses’) ) { ?> <style> #static-footer-image{ display: none; } </style> <?php } ?>