The checklist for the header consists of what we should not forget to include in the header while creating the new theme:
Take care of the direction and the language with <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
. The direction and language are controlled from the language folder file. For example, for the English language, you can see the settings at catalog/language/english/english.php
. At the top, you will see code like this, which controls the direction and the language:
<?php // Locale $_['code'] = 'en'; $_['direction'] = 'ltr';
When the document is rendered, you will see something like this code:
<html dir="ltr" lang="en">
Each page title is different from the others, so we should take care to ensure that the title is written as <title><?php echo $title; ?></title>
. Then, it becomes a different title as per the page. You can see the different title on each...