I've been messing around with my Woocommerce shop pages and am now just trying to get the category titles to appear at the top of the edited pages again.
I've succeeded so far, using the following code, which does show the right title in the correct spot:
$titlehere = single_term_title(); echo '<h1>' . $titlehere . '</h1>';
My issue now is that I need the category title to display in large text as a h1 heading but the HTML formatting isn't applying.
I know there's nothing else clashing with it since other text put in its place shows up on the site with the formatting.
Unfortunately I'm kinda fumbling in the dark here, learning things as I go along so I don't fully understand how everything works.
Is there something I could put in place of "single_term_title()" that will allow me to display the category's title and allow HTML formatting to apply to it?
Thanks in advance!