Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.461 kb
<?php
class page_metatags extends Page {
public $descr='Regardless of where your code is, you can access template of the API to add some meta-data on your page.
In this example we are adding a new meta tag into our main template.';
function init(){
parent::init();
$this->api->template->appendHTML('js_include','<meta testing="123"/>');
$this->add('View_Info')->set('View HTML source of this page, search for <meta testing="123"/>');
}
}
Jump to Line
Something went wrong with that request. Please try again.