The following execution flow clearly explains the link between the wp_head action hook and the wp_enqueue_scripts action hook. Also, This following execution flow applies to every single page on our WordPress website. The only thing that might change from one webpage to another webpage is the template file that WordPress chooses to render a particular webpage. Nothing else will change. 1) The user tries […]
HTML lang attribute tells the natural language of the web page to the browser. It aids accessibility by helping assistive technologies like screen readers to choose correct voice profile and accent.
Have you ever seen the mystery XFN link tag before? You’ll find this link tag inside almost every WordPress theme you dig up. Most people include it as it comes with every default WordPress theme such as twentyseventeen.
Some people have no clue what it is, so they keep it around just because they are scared what it might affect if they remove it, some remove it because it is not harmful to remove it. But, only a few people understand the benefits of it.
So, what is so big deal about it? Before understanding what this XFN link tag is about, let’s understand HTML’s documents links in general. Please bear with me, this is important.
If you are like me, you would want to understand every piece of code that you write inside your WordPress theme.
So, why do you need to define charset on the HTML documents anyway?
Something like “charset” exists because of the conflict between us(the humans) and the computer. We are good at consuming words with characters like A,B,C,D,a,b,&, ) etc. Because that’s the way, we communicate or pass around information.