• Resolved timdevogel

    (@timdevogel)


    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

    (@bdbrown)

    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

    (@timdevogel)

    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

    (@bdbrown)

    Please copy the entire header.php file contents up to http://pastebin.com/ and then post a link back here. I’d like to see what’s in it.

    Thread Starter timdevogel

    (@timdevogel)

    Okay, here it is:
    http://pastebin.com/a8d3NdqU

    bdbrown

    (@bdbrown)

    Pastebin can’t find that entry. Is that the correct code?

    Thread Starter timdevogel

    (@timdevogel)

    Strange, I checked and it really is http://pastebin.com/a8d3NdqU

    Thread Starter timdevogel

    (@timdevogel)

    Okay, bdbrown, somehow the link I just posted does work!

    bdbrown

    (@bdbrown)

    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

    (@timdevogel)

    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.