Title: Can&#039;t edit header.php
Last modified: August 31, 2016

---

# Can't edit header.php

 *  Resolved [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/)
 * Strange thing. I want to ad some code to my header.php in hueman-master-child,
   but when I try to open it with FileZilla I get the following result:
 * > >
 * ‘topbar’,’menu_class’=>’nav container-inner group’,’container’=>”,’menu_id’ =
   > ”,’fallback_cb’=> false)); ?>
 * ￼
 * ‘header’,’menu_class’=>’nav container-inner group’,’container’=>”,’menu_id’ =
   > ”,’fallback_cb’=> false)); ?>
 * All the other .php files look normal, only this one doesn’t. And it doesn’t matter
   which one I try (a fresh download from the Hueman site or the header.php in the
   hueman directory, they all show the same picture.
    But, here’s the weird thing:
   if I copy header.php to my Macbook and then open it with Pages, I can see all
   the code as it should be! he only problem is, I can’t save it then as a .php 
   file…

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7415924)
 * Hi Tim. That code isn’t part of the default theme header.php file. Do you also
   see that code in the “normal” header.php file that you download and open on your
   Mac?
 *  Thread Starter [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7415928)
 * Yes, but only when I try to open it with a text-editor. And when I try to change
   something and save the file I get the message that I can’t because I don’t have
   the right to…
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7415934)
 * Please copy the entire header.php file contents up to [http://pastebin.com/](http://pastebin.com/)
   and then post a link back here. I’d like to see what’s in it.
 *  Thread Starter [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7415948)
 * Okay, here it is:
    [http://pastebin.com/a8d3NdqU](http://http://pastebin.com/a8d3NdqU)
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416022)
 * Pastebin can’t find that entry. Is that the correct code?
 *  Thread Starter [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416046)
 * Strange, I checked and it really is [http://pastebin.com/a8d3NdqU](http://pastebin.com/a8d3NdqU)
 *  Thread Starter [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416047)
 * Okay, bdbrown, somehow the link I just posted does work!
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416108)
 * That one worked. Which header.php file is that? If that’s not the parent theme
   header.php file then please post that one also.
 *  Thread Starter [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * (@timdevogel)
 * [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416112)
 * That’s the header in the master-child directory. But, once again, I just restored
   some backup files and the problem’s gone. THANK THE LORD FOR BACKUPS!!!!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Can't edit header.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [timdevogel](https://wordpress.org/support/users/timdevogel/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/cant-edit-headerphp-2/#post-7416112)
 * Status: resolved