How can I get all text in the h2 tags on my blog post.
SOLVE
Hello @nhokloz1059 Just open the blog post template and you will find the {{ content.post_body }} in the post template's hubl code. just wrap that hubl with h2 tag like <h2>{{ content.post_body }}</h2> and all your post content will be in h2 tag.
Please note that this will wrap all the content having inline images, p tags everything. if you want spacific content than you have to use jQuery solution for it.
How can I get all text in the h2 tags on my blog post.
SOLVE
Hello @nhokloz1059 Just open the blog post template and you will find the {{ content.post_body }} in the post template's hubl code. just wrap that hubl with h2 tag like <h2>{{ content.post_body }}</h2> and all your post content will be in h2 tag.
Please note that this will wrap all the content having inline images, p tags everything. if you want spacific content than you have to use jQuery solution for it.
How can I get all text in the h2 tags on my blog post.
SOLVE
Ahhh! So this is extremely easy to do with jQuery which you may know.
Unfortunately I haven't the knowledge of how to do so with hubl. Or how to pass data between the two. I will continue to research and follow this thread. If you do find a solution please let us all know!