Tag Blog Footer
b2evolution version 2.4
This template tag displays the footer text of the current Blog. This footer text can be edited by the blog owner in the admin interface under Blog Settings > Advanced > Meta Data. By default it will display a copyright message with the current year and the owner name.
Example
<?php
// Display footer text (text can be edited in Blog Settings):
$Blog->footer_text( array(
'before' => ' ',
'after' => ' ',
) );
?>
Parameters
- Name: before
- Default: (1 space)
- Usage: Displayed before the text (if a footer text is displayed)
- Name: after
- Default: (1 space)
- Usage: Displayed after the text (if a footer text is displayed)
Return value
This function return false, if there is no any text for blog footer. This text can be edited under administration interface ‘Blog Settings > Blog Name > Advanced > Blog Footer’. If blog footer has defined text then this function return true and displays content.