Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to change subtitle to H2?

Home / Forums / Virtue Theme / How to change subtitle to H2?

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
July 17, 2014 at 9:05 pm

What would be the cleanest/simplest way for me to make the subtitles use <h2> rather than <p class=”subtitle”>? Is it possible to use a filter in a child theme’s functions.php to change it, rather than overwriting all the page templates in the child theme? I’d rather use <h2> than a <p> so that it ranks higher for SEO use and I can use the H2 font settings to style it. That way H1 is the page title and H2 is the subtitle. I’d also like to add subtitles on all pages that don’t have them, like portfolio item pages, etc.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.