Trying to replace the Text inside an <h1> with the text inside the <title> with jQuery.
$('.pagination').each(function(
$('.pagination h1').replace($("html head title").text(););
);
I don’t really know how to do this, I sorta hacked it together.
EDIT: Or, does anyone know how to do this with PHP?
In JavaScript:
Replaces every
h1text in the document with the text inside thetitletag.