• Skip to main content
  • Skip to primary sidebar

WP Dev

Guides, plugins and themes for WordPress

You are here: Home / General / Replace WordPress Widget Title Tag

Replace WordPress Widget Title Tag

January 19, 2022 by Ciprian Tepes Leave a Comment

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:

  1. Edit your theme’s functions.php file and insert the code there
  2. Install the Code Snippets plugin https://wordpress.org/plugins/code-snippets/
    1. In WP Admin go to Snippets -> Add New (in the left sidebar)
    2. Add a snippet name and paste the code:

Filed Under: General

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Replace WordPress Widget Title Tag

Recent Comments

No comments to show.

Copyright © 2022 WP Dev ยท Powered by WordPress