Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Location
    Atlanta, GA
    Posts
    7
    Plugin Contributions
    0

    Default site-wide meta-tags in meta_tags.php

    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?

  2. #2
    Join Date
    May 2006
    Location
    Atlanta, GA
    Posts
    7
    Plugin Contributions
    0

    Default Re: site-wide meta-tags in meta_tags.php

    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.


  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: site-wide meta-tags in meta_tags.php

    You'd have to change the code. It gets built dynamically.

    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    May 2006
    Location
    Atlanta, GA
    Posts
    7
    Plugin Contributions
    0

    Default Re: site-wide meta-tags in meta_tags.php

    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.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: site-wide meta-tags in meta_tags.php

    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
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    May 2006
    Location
    Atlanta, GA
    Posts
    7
    Plugin Contributions
    0

    Default Re: site-wide meta-tags in meta_tags.php

    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

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: site-wide meta-tags in meta_tags.php

    You didn't look before you asked about changing it?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    May 2006
    Location
    Atlanta, GA
    Posts
    7
    Plugin Contributions
    0

    Default Re: site-wide meta-tags in meta_tags.php

    Nope - silly, yeah, but I didnt realize it was autogenerating it...

    I shall do that next...

    thanks for the info ..

 

 

Similar Threads

  1. Replies: 4
    Last Post: 10 Dec 2013, 06:20 PM
  2. Can't change meta_tags.php - breaks site
    By Servelan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Apr 2011, 03:17 PM
  3. Meta Tags ?? How do I edit the site-wide title?
    By gjedda63 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Feb 2010, 03:39 PM
  4. Replies: 1
    Last Post: 27 Nov 2008, 02:27 PM
  5. When entering custom product meta tags, site wide keywords are added on still?
    By amdowney in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2008, 10:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR