Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello Community,
I would like to remove the Business name from the Title Tag and please help me by confirming that it is ok to delete the following piece of code from theme.liquid:
{% unless page_title contains shop.name %} – {{ shop.name }} {% endunless %}
My code looks like:
{%- endif -%}
{%- if settings.append_side_name_page_title -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endif -%}
Thank you very much!
You can remove this without further problems, but then also remove the unless around it, so
{%- unless escaped_page_title contains store.name -%}
– {{ store.name }}
{%- endunless -%}
Because without content the query makes no sense 😉
Best regards,
Timo
Hi Timo, you mean shop.name in my case, right? 😶
Other than that I need to do anything in order to prevent the Shop Name to be automatically added to the Title Tag?
Thank you for your time!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024