Trace: » constants » overview_of_helpers » create_a_user » create_a_page » breadcrumb » hascontent » translation_adoptees » renaming_admin_folder » create_a_layout » description
Translations of this page?:
General
Getting Support
Administration
Design
Wolf Reference
Plugin Development
Core Development
- Design documents
- Working guidelines
- References
Press, Graphics and Translations
Wolf CMS books section
description()
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.
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
