If you’re using a Block theme, the header.php file is not directly accessible for editing because Block themes handle templates differently. Instead, you can use a plugin to insert custom code into your theme. Popular plugins for this purpose include “Insert Headers and Footers” or “Code Snippets”. These tools allow you to safely add code without directly modifying theme files.