Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


how to add meta tag for custom pages (title , description, keywords)

ChanuxChanux Admin of Geek.lk ✭✭
edited February 2012 in Questions

im using custom page plugin and now i want to add meta tags for my custom page. i found this one for title tag

$this->Head->Title('Demo Title)');

it is working now. but i want to add description & keywords tags. how can i do it. help me. when i try

$this->Head->description('Demo Title)');

page bonk

Best Answer

  • x00x00 MVP
    edited February 2012 Answer ✓

    $this->Head->AddTag('meta',array('name'=>'keywords','content'=>"some,keywords"));

    I'll let you figure out the rest, becuase I think you have a nagging nature, and am not convinced you are really interested in learning, going on previous history. We are not here to babysit you.

    Aolee

Answers

Sign In or Register to comment.