function nm_post_title

Since version 2.3 News Manager has a new function, nm_post_title, to be used as template tag to make it possible to put the post title in the <title>...</title> tag instead of (or besides) the page title, for better SEO.

It can accept these 3 optional parameters:
- Text to place before the title. Defaults to ''
- Text to place after the title. Defaults to ''
- Display (true) or return (false)

Examples:

<title><?php nm_post_title() or get_page_clean_title(); ?> ...</title>
post title instead of the page title.

<title><?php nm_post_title('News: ') or get_page_clean_title(); ?> ...</title>
post title instead of the page title, prefixed by that string:
News: This is the post title

<title><?php nm_post_title('',' - News') or get_page_clean_title(); ?> ...</title>
post title instead of the page title, with that string as suffix:
This is the post title - News

<title><?php nm_post_title('',' - '); get_page_clean_title(); ?> ...</title>
post title AND page title (separated by a dash)
This is the post title - Page title

<?php $myVar = nm_post_title('','',false); ?>
stores the post title in a variable without echoing.