Liquid, JavaScript, themes, sales channels
Hi! on the main page in the top left corner I have these little marks. How do I get rid of this??
Solved! Go to the solution
This is an accepted solution.
The tags are probably being included from /snippets/social-meta-tags.liquid
What's the address of your store? If you have a storefront password set under Online store >> Preferences, please post that here too or disable it, otherwise we can't see your storefront. (NOTE: Do NOT post your admin password here, only the storefront password).
There are two HTML tags in the code that end with an incorrect ">, you'll probably find them in Layout/theme.liquid:
<meta property="og:description" content="<meta name="p:domain_verify" content="08437653865129d309fb2982e2317426"/>">
<meta name="twitter:description" content="<meta name="p:domain_verify" content="08437653865129d309fb2982e2317426"/>">
Delete the "> at the end of each one and that should solve it.
Which one do I take out?
<!doctype html>
<html class="no-js" lang="{{ shop.locale }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="{{ settings.color_button }}">
<link rel="canonical" href="{{ canonical_url }}">
{%- if settings.favicon != blank -%}
<link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png">
{%- endif -%}
{%- capture seo_title -%}
{%- if template == 'search' and search.performed == true -%}
{{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
{%- else -%}
{{ page_title }}
{%- endif -%}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ 'general.meta.page' | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}
<title>{{ seo_title | strip }}</title>
{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}">
{%- endif -%}
{% include 'social-meta-tags' %}
{{ 'theme.scss.css' | asset_url | stylesheet_tag }}
This is an accepted solution.
The tags are probably being included from /snippets/social-meta-tags.liquid
User | RANK |
---|---|
11 | |
9 | |
9 | |
6 | |
6 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022