Within meta_tags.php...
I realize you define the KEYWORDS meta-tag in CUSTOM_KEYWORDS, but...
where do I define the DESCRIPTION meta-tag? SITE_TAGLINE?
Within meta_tags.php...
I realize you define the KEYWORDS meta-tag in CUSTOM_KEYWORDS, but...
where do I define the DESCRIPTION meta-tag? SITE_TAGLINE?
OK so i figured out that SITE_TAGLINE is not the same as the DESCRIPTION meta-tag.
Anyone know where/how I set up the site-wite DESCRIPTION meta-tag?
Thanks for any help.
![]()
You'd have to change the code. It gets built dynamically.
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
I'm decent with PHP/CSS/HTML, but new to ZenCart.
What do I need to do? Any specific pointers or things I need to read-up on?
Thanks.
Customize the file
includes/templates/template_default/common/html_header.php
Change
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
to
<meta name="description" content="<?php echo MY_DESCRIPTION; ?>" />
where MY_DESCRIPTION is whatever you want.
Good luck,
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
ah - does ZenCart do a good at generating the site-wide meta-tags by itself? (Does it make any sense, or give any advantage, to customizing it myself?)
just wondering.
thanks
You didn't look before you asked about changing it?
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Nope - silly, yeah, but I didnt realize it was autogenerating it...
I shall do that next...![]()
thanks for the info ..
Bookmarks