sinanisler logo

Add ASCII ART to WordPress < head > HTML Source Code

I like signing my client websites time to time 🙂

But I don’t like putting ugly footer links, the best way to sign a website is to just put a signature in the HTML.

That’s where ASCII ART comes in.

I like using this site usually: https://patorjk.com/software/taag/#p=display&f=ANSI%20Regular&t=sinanisler.com

This code adds the signature inside wp_head and top of it in the loading list.

function sinn_inline_frontend_code() {
    ?>

<style type="text/css">

/************************************************************************************

	
███████ ██ ███    ██  █████  ███    ██ ██ ███████ ██      ███████ ██████      ██████  ██████  ███    ███ 
██      ██ ████   ██ ██   ██ ████   ██ ██ ██      ██      ██      ██   ██    ██      ██    ██ ████  ████ 
███████ ██ ██ ██  ██ ███████ ██ ██  ██ ██ ███████ ██      █████   ██████     ██      ██    ██ ██ ████ ██ 
     ██ ██ ██  ██ ██ ██   ██ ██  ██ ██ ██      ██ ██      ██      ██   ██    ██      ██    ██ ██  ██  ██ 
███████ ██ ██   ████ ██   ██ ██   ████ ██ ███████ ███████ ███████ ██   ██ ██  ██████  ██████  ██      ██ 
                                                                                                         
                                                                                                        

**********************************************************************************/ 
</style>

    <?php
}

// Add directly to wp_head with a high priority
add_action( 'wp_head', 'sinn_inline_frontend_code', 1 );


Leave the first comment