Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default remove <meta description> from ez pages and define pages : help

    I like the meta description functions for the products and categories, but it is harmful to the ezpages and define pages for website with allot of information.

    I have used this to remove the <meta description> just for the homepage,

    PHP Code:
    template_default/common/html_header.php:
    <?php if($this_is_home_page) {} else { ?><meta name="description" content="<?php echo META_TAG_DESCRIPTION?>" /> <?php ?>
    anyone know how I would remove it for the ez pages and define pages as well?

  2. #2
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: remove <meta description> from ez pages and define pages : help

    p.s.
    I need to do this so google will list all the service and location keywords in the page.
    Websites with many service or information pages made in ez pages.

  3. #3
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: remove <meta description> from ez pages and define pages : help

    Feature request for new zencart update:

    <?php if($meta_description_exists) {<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> } else { ?> <?php } ?>

    Because letting search engines pull the description from the content is better than having a non-descriptive confusing incorrect description.

  4. #4
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: remove <meta description> from ez pages and define pages : help

    I see product meta tags are automatically generated, but ez pages and define pages are not
    So I just need something like this

    PHP Code:
    <?php if($ez_pages$define_pages) {} else { ?><meta name="description" content="<?php echo META_TAG_DESCRIPTION?>" /> <?php ?>
    for html_header.php


    But I dont know how to write this.

    Maybe I will pay someone and post the answer here latter if no one replies soon.
    Last edited by vandiermen; 27 Oct 2010 at 12:18 AM.

 

 

Similar Threads

  1. v139h how to remove breadcrumb from ez-pages and defined pages
    By snk060 in forum General Questions
    Replies: 3
    Last Post: 11 Nov 2013, 04:40 PM
  2. Images don't appear in Firefox from Define Pages pages
    By gotlogos in forum General Questions
    Replies: 1
    Last Post: 30 Jan 2011, 11:23 AM
  3. Remove breadcrumb from define/ EZ pages
    By bigbadboy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Aug 2008, 04:21 AM
  4. How to remove subcat image and description from product pages?
    By lyricwings in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Jul 2007, 02:31 AM
  5. How to remove Prev/Next from Define pages?
    By polarduality in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Oct 2006, 07:05 AM

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