Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Table of Contents

Meta Tags

The core/meta.php can be used to add any tags required in your theme.

Hook

The theme engine loads the core/meta.php file in your theme directory and expects to find the theme_page_meta_tags hook defined. Your hook should return any tags that you require.

Examples

The following returns the old 4.01 transitional doctype.

function theme_page_meta_tags()
{
    return "
       
       
       
    ";
}
content/en_us/dev_theming_meta_tags.txt · Last modified: 2014/12/23 15:52 by dloper

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Adev_theming_meta_tags&1710830567