Where to find the opening body tag and its closing tag in any WordPress theme? Most of the times, the snippets of code that you borrow from websites like Facebook, Google to put your like, share, plus one buttons will ask you to put the code near to either the opening body tag or the closing body tag.
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-8863237726595507"
data-ad-slot="1692371001">
If you are new to blogging using WordPress, it's quite confusing at first to find out where the body tags are. The reason is that these tags are hidden inside the theme's editor area. Whatever theme you use, if the theme provides 'editing' options, then here is where you find the body tags – both the opening and closing tags are given in different sections – so please read carefully.
style="display:inline-block;width:728px;height:15px"
data-ad-client="ca-pub-8863237726595507"
data-ad-slot="4143817405">
Where to find the opening body tag in any WordPress theme:
The opening body tag is found inside your header.php file. Click on Appearance on the left side > select Editor > select header.php
Here's a screenshot.
Where to find the closing body tag in any WordPress theme:
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-8863237726595507"
data-ad-slot="1692371001">
The closing body tag is found inside your footer.php file. Click on Appearance on the left side > select Editor > select footer.php
Here's a screenshot:
style="display:inline-block;width:728px;height:15px"
data-ad-client="ca-pub-8863237726595507"
data-ad-slot="4143817405">