Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Add Code to Head Tag in Wordpress ? Step by Step
ChannelMr. Virk MediaDescription from the creator
Learn How to add code to head tag in wordpress through a step by step tutorial
Full Article with steps: mrvirk.com/how-to-add-code-to-head-tag-in-wordp…
Video Summary: This tutorial teaches you – How to add code to head tag in wordpress ?
Note: If you cant find the editor refer to the last section of the page.
Step by Step Guide on How to Edit Head Tag in WordPress.
Open your WordPress Website Dashboard
or login not already – you can login to wordpress by placing /wp-login.php behind your website url.
Example: mrvirk.com/wp-login.php
Now, we need to Edit – header.php file. Follow the steps below to find your header.php file.
1- Dashboard
2- Hover over – Appearance
3- Click Editor.
4- Now an Editor Opens – Listing Several files
5- Find and Choose header.php file
or skip steps 1 to 5 and instead place /wp-admin/theme-editor.php?file=header.php behind your domain/website url, this url will open header.php file in editor
Towards the top of the file you will see head tags
Add your code just above the closing head tag.
Save/Update the file.
---------
Use Cases for Adding Code to WordPress Head
Most common uses cases are adding a tracking pixels like Google analytics code, Google Webmasters, Yahoo Dot Tag, or to enable Adsense Page level Ads, Facebook Pixel code, or Javascript code.
The solution in this article works for all the above use cases.
---------
Important Note: If you cant find the Editor, you may happen to be using wordpress .com instead of self hosted wordpress site (via wordpress .org).
Unfortunately, wordpress .com doesn't allow people to access theme editor or make changes to theme files on the free plan.
Wordpress .com which is for profit organisation, on their free account users don't have much control of the admin panel.
In your situation you will need to use a plugin to achieve adding code to your site but that will also require upgrading the plan. Going forward we recommend you using Wordpress .org which is the self hosted version of wordpress and provides the user full control and for free with no strings attached.
Wordpress .org vs Wordpress .com - mrvirk.com/wordpress-com-vs-wordpress-org.html
Here is another thread on the topic: en.forums.wordpress.com/topic/how-to-edit-html-…
--------
Tags content also relevant for: add code to wordpress header, how to add adsense code in wordpress header, how to add code to header in wordpress, how to add adsense code in wordpress header
Full Article with steps: mrvirk.com/how-to-add-code-to-head-tag-in-wordp…
Video Summary: This tutorial teaches you – How to add code to head tag in wordpress ?
Note: If you cant find the editor refer to the last section of the page.
Step by Step Guide on How to Edit Head Tag in WordPress.
Open your WordPress Website Dashboard
or login not already – you can login to wordpress by placing /wp-login.php behind your website url.
Example: mrvirk.com/wp-login.php
Now, we need to Edit – header.php file. Follow the steps below to find your header.php file.
1- Dashboard
2- Hover over – Appearance
3- Click Editor.
4- Now an Editor Opens – Listing Several files
5- Find and Choose header.php file
or skip steps 1 to 5 and instead place /wp-admin/theme-editor.php?file=header.php behind your domain/website url, this url will open header.php file in editor
Towards the top of the file you will see head tags
Add your code just above the closing head tag.
Save/Update the file.
---------
Use Cases for Adding Code to WordPress Head
Most common uses cases are adding a tracking pixels like Google analytics code, Google Webmasters, Yahoo Dot Tag, or to enable Adsense Page level Ads, Facebook Pixel code, or Javascript code.
The solution in this article works for all the above use cases.
---------
Important Note: If you cant find the Editor, you may happen to be using wordpress .com instead of self hosted wordpress site (via wordpress .org).
Unfortunately, wordpress .com doesn't allow people to access theme editor or make changes to theme files on the free plan.
Wordpress .com which is for profit organisation, on their free account users don't have much control of the admin panel.
In your situation you will need to use a plugin to achieve adding code to your site but that will also require upgrading the plan. Going forward we recommend you using Wordpress .org which is the self hosted version of wordpress and provides the user full control and for free with no strings attached.
Wordpress .org vs Wordpress .com - mrvirk.com/wordpress-com-vs-wordpress-org.html
Here is another thread on the topic: en.forums.wordpress.com/topic/how-to-edit-html-…
--------
Tags content also relevant for: add code to wordpress header, how to add adsense code in wordpress header, how to add code to header in wordpress, how to add adsense code in wordpress header
About this tutorial
Mr. Virk Media published this 3:14 video tutorial on November 9, 2018. It has been watched 88,537 times on YouTube.
- Channel
- Mr. Virk Media
- Category
- People & Blogs
- Duration
- 3:14
- Published
- November 9, 2018
- Views
- 88,537
- Likes
- 663
Tags
Share
This tutorial in other languages
- FRComment ajouter du code à la tête Tag dans Wordpress? Pas à pas
- ESCómo agregar Código de etiqueta de la cabeza en Wordpress? Paso a paso
- PTComo adicionar código para Tag Cabeça no Wordpress? Passo a passo
- ITCome aggiungere codice a capo Tag in Wordpress? Passo dopo passo
- DEWie Code Head-Tag in Wordpress hinzufügen? Schritt für Schritt
- NLHoe kan ik code toevoegen aan Head Tag in Wordpress? Stap voor stap
- RUКак добавить код для Головных тегов в Wordpress? Шаг за шагом
- PLJak dodać kod do Centrali Tag w Wordpress? Krok po kroku
- JAWordpressのでheadタグにコードを追加する方法は?ステップバイステップ
- ARكيفية إضافة رمز إلى رئيس الوسم في وورد؟ خطوة بخطوة
- HIकैसे सिर टैग में कोड जोड़ना Wordpress में? क्रमशः
- IDBagaimana Tambahkan Kode untuk Tag Kepala di Wordpress? Selangkah demi selangkah