Remove the word tagged from Title tag.

Highlighted
New Member
4 0 0

Hi,

I want to remove the word tagged from my Title tag when I select a filter on my design. Any help would be awesome!

 {% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %}{% endif %}       
 <title>{% if template contains "index" %}{{ page_title }}{% else %}{{ page_title }}{% if current_tags %} {{ 'general.meta.tagged_html' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} {{ 'general.meta.page' | t: page_number: current_page }}{% endif %}{% unless page_title contains shop.name %} - {{ shop.name }}{% endunless %}{% endif %}</title>

-Michael 
    

0 Likes
Highlighted
New Member
4 0 0
Highlighted
Shopify Partner
11 0 5

Hi,

 

You can use the following. This will remove quotes and the word "Tagged".

 

 {{ 'general.meta.tags' | t: tags: meta_tags - | remove: "Tagged" | remove: "&quot;"}}
Highlighted
New Member
2 0 0

Where do I add this section? Does it replace anything?

I'd appreciate some more detailed instructions, thank you

 

{{ 'general.meta.tags' | t: tags: meta_tags - | remove: "Tagged" | remove: "&quot;"}}

  

0 Likes