Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Abid Hasan

    (@abidhasan112)

    Hi @chcw ,

    Currently, we don’t have an option to change the title tag on tag page. Hopefully, we will fix it in the future version where changing the title tag in the category page will take an effect on Tag pages as well.

    However, I can help you with JS for now which will change the title tag to h1 on your tag pages.

    You can add this jQuery in your JS area(maybe on your theme footer script or use any custom plugin):

    jQuery(document).ready(function() {
        jQuery(".tax-doc_tag .docs-cat-title").find('h3').replaceWith(function() {
            return '<h1>' + jQuery(this).text() + '</h1>';
        });
    });

    Thank you!

    Thread Starter chcw

    (@chcw)

    @abidhasan112

    Thank you very much. However, we have delayed loaded jQuery, so it seems that we also need to delay load the script as well. Is there any other solutions for this issue?

    Plugin Support Abid Hasan

    (@abidhasan112)

    Hi @chcw ,

    Unfortunately, there is no solution right now if you’ve delayed loading jQuery actually!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Add H1 Tag to tag pages?’ is closed to new replies.