You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
H2 added in content(or any other heading) appears as is in the content table list item, but sometimes I want to use a shorter version for SEO reasons...
actual h2 : <h2 id="text"> iPhone 15 Pro : Specs and Features Reviewed</h2>
output: <li><a href="#text"> iPhone 15 Pro : Specs and Features Reviewed</a></li>
I would like to have something like this: actual h2 : <h2 id="text" data-alternative-text="iPhone 15 Pro"> iPhone 15 Pro : Specs and Features Reviewed</h2> output: <li><a href="#text"> iPhone 15 Pro</a></li>
So if specified we use the data-alternative-text="" value instead. If not specified just carry on as usual.
Hope this seems like a reasonable idea :) Cheers!
The text was updated successfully, but these errors were encountered:
H2 added in content(or any other heading) appears as is in the content table list item, but sometimes I want to use a shorter version for SEO reasons...
actual h2 :
<h2 id="text"> iPhone 15 Pro : Specs and Features Reviewed</h2>
output:
<li><a href="#text"> iPhone 15 Pro : Specs and Features Reviewed</a></li>
I would like to have something like this:
actual h2 :
<h2 id="text" data-alternative-text="iPhone 15 Pro"> iPhone 15 Pro : Specs and Features Reviewed</h2>
output:
<li><a href="#text"> iPhone 15 Pro</a></li>
So if specified we use the
data-alternative-text=""
value instead. If not specified just carry on as usual.Hope this seems like a reasonable idea :) Cheers!
The text was updated successfully, but these errors were encountered: