postbit_display_complete is called for each post (and you create the $tek variable based on the message from one post), but there is only one headinclude per page, so I don't understand how you could use $tek there.
If you want to use something in headinclude, you could create it using hook location parse_templates, but there will not be any $post available there.
|