Why add code in Wordpress only shows when the admin?

There is a site, I try to header.php and footer.php add html code. But the code only shows when I'm admin. And if you go from the admin panel, then added the code somehow is not shown. And in the file there is some conditions that if you're an admin or not. What could be the reason?
March 23rd 20 at 19:24
1 answer
March 23rd 20 at 19:26
1. in the code is the "show only for admin"
2. on the site may be caching enabled (can be any caching plugin). Then you need to reset the cache after the edits

Find more questions by tags WordPress