Add a Custom Header Message

Add a Custom Header Message at the top of each page.

<?php
function custom_header_message() {
    echo '<div class="header-message">Welcome to our website! Check out our latest updates and offers.</div>';
}
add_action('wp_head', 'custom_header_message');

Post Comment