Best coding practises for header.php

I’m learning theme development for wordpress and I’m noticing lots of different variations for the header and meta code in header.php.

I was wondering is there a best practice? ie some are using php for charset, some not. Some are using extra code for viewpoint, some are using pingback etc etc

Such is the world of WordPress.
I advise you to be very critical when studying others’ code.
A lot of it “works” but a lot of it is far from being best practice.

IMHO you would do best relying on the Codex to learn

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.