Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    help question want to add a comments tag to every page

    Hi all,
    I have read all through the meta tags help and have changed some things so they are more to my liking.
    I want to add a comment tag so that it appears in the code of every page.
    How and where do I add this? Im not a coder but am slowly catching on.
    Thanks,
    John

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: want to add a comments tag to every page

    If the same for all your pages then include the comment in /includes/languages/english/your_template/meta_tags.php file and use this for the comment:
    Code:
    <!--	Place your comment here	-->
    In it's own meta tag or as part of one that exists....

    This encapsulation prevents this comment info from being indexed
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: want to add a comments tag to every page

    For php files the comments are done:
    PHP Code:
    // these are my comments 
    Or for verbose comments:
    PHP Code:
    /*
    these are my comments

    they take up lots of lines

    so I didn't want to comment each line separately
    */ 
    The other, that kobra showed are HTML comments ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Thanks Kobra & Ajeh. Kobra - since you said that this type of comment wont be indexed this is not what Im looking for.

    The comment that Ajeh put up - will this type of comment be indexed?

    Heres a piece of the article I was reading and

    Comment tags provide a way for webmasters to
    add words right in their pages. They're hidden in the HTML code, and so are
    not visible to the site's ordinary users, but some search engines can index
    them and use them to rank your Web site. The comment tags are another great
    way to add keywords to your site, thus increasing the keyword frequency, an
    important factor in many ranking algorithms.
    So - What will work for this?

  5. #5
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Okay - Ill ask this then. What is the difference in Ajehs 2 examples as far as having the comment indexed by search engines.
    I want the comments to be seen only by engines. I would like to add them to one page and have them discoverable in every page of the site.

    I can see the diff in what Ajeh wrote there but dont know functionality wise whats the diff.

    Thanks,
    John

    P.S
    Whats "Verbose"?

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Comment tags provide a way for webmasters to
    add words right in their pages. They're hidden in the HTML code, and so are
    not visible to the site's ordinary users, but some search engines can index
    them and use them to rank your Web site. The comment tags are another great
    way to add keywords to your site, thus increasing the keyword frequency, an
    important factor in many ranking algorithms.
    Where did you find this article? I think this would fall into keyword spamming and get you banned if caught.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Kim,

    http://www.optimization-services.com/
    Their site has been pretty helpful. They also advise of over use. Thanks for the advice.

    I have found the meaning of verbose -
    containing more words than necessary

    No if I could only figure out how to add comment tags that can be read and indexed by the engines.

    I dont plan to spam. Just a few notes about my site. Any of you who receive our coffe really drink coffee? Ever tried a French Press? They're GREAT!

    Thanks,
    John

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    John-

    I hope you will forgive me for being skeptical, but a site that claims to be #1 in search engine optimization makes be a bit leery.

    Facts: That site has been up since 2003, they only have a couple thousand inbound links and a PR of 5 and an Alexa rank of: 85714

    The Zen Cart site on the other hand has also been up since 2003, has over 160,000 inbound links and an Alexa ranking of 3975.

    Instead of concentrating on gimmicky tricks, I would recommend working on your inbound links - they will give you better ranking over the long haul.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Kim,
    I did a search for the top 100 sites using the keywords that Im trying to gain rankings for. I found that there are sites there that have a birthdate over 10 years ago and have over 1.5 million inbound/backlinks. There are also sites listed right next to them born in only 2003 with less than 300 inbound/backlinks.
    Most of these sites have an overall google pr less than or just equal to mine.

    With results like that . . . I dunno. I am working on my backlinks but it is tough.
    Most sites that have anything to do with my line of interest are also selling the same products.

    I know I should have more than the 34 that I have and I'm working on that. This should have a more immediate effect and I cant wait to see the result.

    I did a good bit of SEO for my keyword last night and can now be found in yahoo no. 700 and msn no.374 for it. Yeah and I check a lot. Wasn't found there for the word before I did this work.

    So I would like to try some of the other advice that http://www.optimization-services.com has given.

    Problem is that the tags they give is the same as what Kobra posted and gives an error in a test spider crawl.

    The tags that Ajeh posted gives no errors but still turns up no results in the test spider tool.

    Any help here would be greatly appreciated.

    Thank You,
    John

  10. #10
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: want to add a comments tag to every page

    Okay, So Ive decided against this. After reading Kims reply I did a bit more reading around. Kobra also sent an email that kinda made me think a little more about this. Thanks to both of you.

    From what Ive read this method stands a better chance of hurting you than helping. Since there are so many other ways to positively help I figure Ill choose another path.

    Have been working backlinks and keywords since this all. cant hurt!

    Thanks all,
    John

 

 

Similar Threads

  1. v151 How can I add a mobile tag into every page?
    By Togfather in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Feb 2015, 02:31 AM
  2. I want to add the AddThis bar to every page.
    By TurboFabSupply in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 7 Jan 2011, 08:16 PM
  3. Need to add code below </head> tag and above <body> tag in product page
    By Danielle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Apr 2010, 07:53 PM
  4. want to change in meta tag of index page ??
    By chris225 in forum General Questions
    Replies: 6
    Last Post: 16 Sep 2009, 09:22 PM
  5. Want to change pretty much every font on the main page
    By canemasters in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Feb 2008, 12:51 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