h1 tags for form titles to improve SEO
closed
Ben Meredith
closed
We've decided that this is not the sort of thing that we are going to include in GiveWP for a few reasons.
- We've never had an H1 tag on single form pages before, so to add one now would break expectations with the hundreds of thousands of forms out there in the wild.
- Adding an H1 to the form itself would cause major SEO implications for when that form is embedded in other pages that already have an H1.
- This is theme territory, and some themes will have a single post type with an h1 as a title, others might not. We have a give_before_main_content hook that anyone can use to add an h1 or anything else before the single post type form. Here's a sample bit of code to add it: https://gist.github.com/Benunc/14d3d0bdbf76718689356c21aa144c5a
Ben Meredith
under review
Our team will have a look here. In the meantime, the workaround is to embed the form on a different page using Block or shortcode, and that should handle things.
R
Rik
Ben Meredith: ah thanks, but that doesn't work for us. We are a charity donation platform, so have >100 forms (growing to 1000s in the future). So embedding the form on a different page is not practical for us
r
rik
Ben Meredith: could i bring this issue to your attention? It is probably a minor bit of work for your devs, and it would mean a massive difference for all your clients in terms of the findability of campaigns on Google (and with that for donations!)