Hey duriel,
How are you doing today?
Usually the problem is with your server not supporting short open tags. You can check your php.ini. If it doesn’t, enable them. If you can’t then replace <? with <?php. This is what you’re looking for in php.ini:
short_open_tag = Off
Hope this helps 🙂
Cheers,
Bojan
If you have ftp you can download the template you are using and replace the header.php file from the downloaded template. You should never modify any files in the theme. If you are modifying the files you need to create a child theme and copy the file into the child theme.
If you modify the original theme and you update the theme all your work will be lost.
You mean i need to change the end of line 184 and then it wiil work?
Hey again duriela,
That should do it yes, try it out and let me know if it helps.
Also @mrtom414 suggestion is really something you should consider doing in the future even though it shouldn’t have anything to do with the issue you’re having.
Best regards,
Bojan
Thanks bojan i’ll tell you if i secccsed 🙂
hi bojan i try to change the end of line 184 but now the problem in line 166. i dont know where to find the php.ini becasuse i didnt download the woerdpress.
there is a place where i can copy the header.php from the start?
Hey again duriela,
i dont know where to find the php.ini becasuse i didnt download the woerdpress.
php.ini is not located in WordPress files, it is on your server. If you’re unsure how to do that you can always try to contact your hosting provider so they can help you with changing that.
there is a place where i can copy the header.php from the start?
You can definitely try to do that too, download fresh copy of the theme that you’re using and you should be able to find header.php in the root folder of your theme. Replace the file with the one on your server and you can start over.
Best regards,
Bojan