6 months ago
Homepage title= "Please, enter value" This post is outdated
I cannot find where to change the title of my homepage, It currently reads: "Please, enter value". I see where to do this on other pages, but not on the store frontpage of my current theme (Megatronic). Note, I am also not using the "welcome" page as my landing. Maybe I should?
Thanks in advance!
Agmanuals
AgManuals
www.agmanuals.com
Posts:
Did you update the name under the General Settings?
Go to Preferences > General Settings > Name of Shop
Posts:
Hi Linda,
Thanks for the fast reply.
Currently those are set to-
Shop name: AgManuals
Shop title: Ag Manuals, Welcome
I thought that too, but double-checked I had a value entered and I do.
Posts:
You can also update the title code in theme.liquid
Posts:
Any advice on where I can change that in theme.liquid?
Excuse my ignorance.
Posts:
You want to look for the <title> tag in your theme.liquid file.
The Megatronic theme should already be taking care of <title> tags, did you make any customizations to your shop? Are you using some sort of app?
Posts:
I am using Lexity Live, Plugin SEO (originally thought this was causing it, uninstalled and no change), and Shopify Digital Downloads.
<!-- Meta Tags Editor --> {% if template contains 'product' %} <title>{{ product.metafields.spur_it_metatag.title }}</title> {% elsif template contains 'blog' %} <title>{{ blog.metafields.spur_it_metatag.title }}</title> {% elsif template contains 'article' %} <title>{{ article.metafields.spur_it_metatag.title }}</title> {% elsif template contains 'collection' %} <title>{{ collection.metafields.spur_it_metatag.title }}</title> {% elsif template contains 'page' %} <title>{{ page.metafields.spur_it_metatag.title }}</title> {% elsif template contains 'index' %} <title>{{ shop.metafields.spur_it_metatag.title }}</title> {% endif %}Is the above code, where I need to change?
Posts:
Try to change
{% elsif template contains 'index' %} <title>{{ shop.metafields.spur_it_metatag.title }}</title>To
{% elsif template contains 'index' %} <title>{{ shop.name }}</title>Posts:
Great Linda, that worked! Thank you so much.
So was it something I did?
Posts:
It was looking for the title meta tag on the index file which is why it was showing Please, enter value. The change that you made will now pull in the Shop name for the title tag on the index file.
Posts:
It appears I am also missing:
Meta description
and
Meta keywords
Those are both appearing as "Please, enter value as well!
I have filled out those areas in my theme settings, but still nothing.