You cannot have a <head> tag in the code. You are only allowed one <head> tag per page and you are going to cause a problem if you have another.
And, global_start is deprecated - you should not use it. But, besides that, it is at the very beginning of the code when $post is not even defined. If you want to use a $post variable, you need to use a hook that can get this information like a postbit_display_* hook location.
|