Hide an element from specific page in WordPress

<?php if( !is_page(6677) )?> <style> /* the code to display this div goes here. */ </style> <?php endif;?>

1 Response

Using this snippet you can hide some elements from specific page in WordPress

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.