1 s0me0ne Dec 14, 2005 19:53
3 s0me0ne Dec 15, 2005 00:05
well in that case I'd like to know how to get it to do
whatevertitle : blogname
last_comments_title( 'htmlhead', ' : ' );
arcdir_title( 'htmlhead', ' : ' );
single_post_title( 'htmlhead', ' : ' );
single_month_title( 'htmlhead', ' : ' );
single_cat_title( 'htmlhead', ' : ' );
$Blog->disp('name', 'htmlhead');
just gave me "output format not supported", but there should be a way to make this work :(
4 personman Dec 15, 2005 00:11
I just dug up the code for one of these functions in /b2evocore/_functions_comments.php:
function last_comments_title( $prefix = ' ', $display = 'htmlbody' )
{
global $disp;
if( $disp == 'comments' )
{
$info = $prefix.T_('Last comments');
if ($display)
echo format_to_output( $info, $display );
else
return $info;
}
}
Prefix is the only thing you can add. There's no param for what to show after the title. I know for a fact that you can do just what you want to do in version 1.6, though.
5 s0me0ne Dec 15, 2005 00:50
thanks, and nice anonymous name there as nice as mine :lol:
guess I'll wait until 1.6 then B)
6 s0me0ne Jan 14, 2007 23:14
well I'm guessing now that 1.8.6 is out this is possible to do reverse titles, I've looked over the function but I still dont get some of these things
You do know that only one of those titles displays at a time, right? It detects which page you're looking at and show the title that matches it.