If you want to change the heading tags to a paragraph for SEO purposes then you can use the following function:
To successfully add the code you have two options:
- Edit your theme’s functions.php file and insert the code there
- Install the Code Snippets plugin https://wordpress.org/plugins/code-snippets/
- In WP Admin go to Snippets -> Add New (in the left sidebar)
- Add a snippet name and paste the code:
Leave a Reply