Site logo

Archived topic

How to insert html comment before the tag

3 replies · Started by Javier on January 23, 2020

Viewing posts 1–4 of 4

As you can see in the source html code of https://rankmath.com, I want to put an ascii art text before all the content.

Example:

<!--                                              /\
   ___            __    __  ___     __  __       (  )
  / _ \___ ____  / /__ /  |/  /__ _/ /_/ /       (  )
 / , _/ _ <code>/ _ \/  '_// /|_/ / _</code>/ __/ _ \     /|/\|\
/_/|_|\_,_/_//_/_/\_\/_/  /_/\_,_/\__/_//_/    /_||||_\

-->
<!doctype html>
...

Is posible with the GP Elements feature to do this? Or by placing a code in functions.php?

Thanks in advance!

Yes, it works for me. Thanks! I have downloaded a basic GP child template and added the modified header.php and it works 🙂

No problem :)

This archived topic is closed to new replies.