(Since 2.5)
You can use the following conditional functions in any component or template file:
For example, if you want to show some text only in single/full post pages:
<?php if (nm_is_single()) { ?> ... your text/code ... <?php } ?>