How to add span Id to H2 Titles ?!

Dr_And

Power Member
Joined
May 28, 2011
Messages
772
Reaction score
106
Hey Guys

Anyone know how to automatically add span id in h2 titles

Example ( sorry i am writing from my mobile and it won’t be obvious )

In my WP Post i have this H1 Title “ Best 10 Dog foods”

H2 1. Royal Canin Dog Food

When i go to html editor i only found

<h2> Royal canin dog food </h2>

What i want to add span id automatically to show like

<h2> <span_id=royal_canin_dog_food> Royal canin dog food .......etc

Can anyone help ?!
 
What is the use case? I assume you want to do some kind of jump links? With that said, are you trying to automate the jump links too?
 
What is the use case? I assume you want to do some kind of jump links? With that said, are you trying to automate the jump links too?
It`s advanced seo related
 
Back
Top