All my meta titles are showing our store name after the META title, which is giving us errors for having too long titles.
This is all that is in the theme.liquid code:
{% include ‘seo-title’ %}
{{ seo_title }}I’m not sure what to do. Thanks!
All my meta titles are showing our store name after the META title, which is giving us errors for having too long titles.
This is all that is in the theme.liquid code:
{% include ‘seo-title’ %}
{{ seo_title }}I’m not sure what to do. Thanks!
Please refer to this link with a detailed tutorial, let me know if it works.
Kind regards,
Diego
Thank you Diego, Do I also remove the line above the title tags: {% include ‘seo-title’ %} ?
Thanks!
@lucyb1 this is probably coming from an app, I am not sure whether it is changing your title.
I’d suggest to first not remove it and check, if the issue persists, then you can remove it too!
I’ve seen a lot of solutions for removing the store name from every single title tag, but what if I just want to remove it from our blog pages?
You can follow these steps but use this code instead:
{% if request.page_type == 'article' %}
{% endif %}
It will be applied exclusively on blog post pages.
Kind regards,
Diego
Thank you, Diego. I replaced this {% if template == ‘index’ %}
{{ shop.name }} | {{ page_title }} {% elsif template == '404' %} {{ "general.404.title" | t }} | {{ shop.name }} {% else %} {{ page_title }} | {{ shop.name }}with the code you provided but it still showed up in blog pages. Did I replace the wrong code?
Works like a charm!
Thanks for the guide.