Powered by MediaWiki
Personal tools

Tag request title

From b2evolution manual

Jump to: navigation, search

Display a global title matching filter params

[edit] Example

<title>
<?php
  request_title( array(
    'auto_pilot' => 'seo_title',
    'title_single_before' => $Blog->get( 'name' ).' - ',
  ) );
?>
</title>

[edit] Parameters

Name Default Usage
auto_pilot 'seo_title' When auto_pilot is set this skin tag may automatically change many of its other parameters depending on teh context it is called in. This is recommended in most situations. However, if you want full control over this tag's parameters, then you should disabled auto pilot.
title_single_before $Blog->get( 'name' ).' - '

[edit] Return value

This tag displays content only, it does not have a return value.