Light-weight, fast, simple and powerful!
Translations of this page?:


In editing a page, under the Metadata tab is the “Description” field which makes use of the description function. The default Layout includes this line in the <head>…</head> section:

  <meta name="description" content="<?php echo ($this->description() != '') ? $this->description() : 'Default description goes here'; ?>" />

This checks to see if there is any Metadata filled in for the page, and if there is, it is used. Otherwise, the default text is used.

functions/description.txt · Last modified: 2011-09-12 00:46 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Copyright 2010 / design by yello studio / Wolf CMS Inside