So I added another meta tag to my pages by editing meta_tags.php and adding the following to main_page.tpl.php in the template folders.
It works great, but I am trying to add a another new specific meta tag to some pages of the site that are not defined in the meta_tags.php file without doing a global add under the default section neat the end of the file.Code:<meta name="my new meta tag" content="<?php echo META_TAG_NEW; ?>" />
I tried this which I think should work:
For some reason it is not taking when I add new sections to the file for these individual pages. It's always pulling the default one. Any tips as to what I'm missing or doing wrong?Code:// catalog products with images case CONTENT_CATALOG_PRODUCTS_WITH_IMAGES: define('META_TAG_TITLE', HEADING_TITLE . PRIMARY_SECTION . TITLE . $web_site_tagline); define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . NAVBAR_TITLE_1 . SECONDARY_SECTION . WEB_SITE_KEYWORDS); define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . NAVBAR_TITLE_1); define('META_TAG_NEW', MY_NEW_META_TAG); break;





LinkBack URL
About LinkBacks







Bookmarks