Error message when changing header size
I am trying to change the header image size to 960 x 281 px – I have followed the instructions at https://forum.graphene-theme.com/graphene-support/header-image-size-change
However, when I put the following in the functions.php file I get the error message shown below. I’ve researched it and cannot find an answer. I am new at this, what do I have wrong? Thank you!
Parse error: syntax error, unexpected T_LNUMBER, expecting ‘&’ or T_VARIABLE in /home/content/54/5656154/html/TMS/wp-content/themes/graphene-child-header/functions.php on line 2Mod
Moved to support. Please read the forum rules.
You do not need to include the header size in the parentheses, just after “return”. Don’t change the filter code, either.
It should look like this:
Be sure to put code between backticks. I have fixed this for you.
You must be logged in to reply to this topic.