2 jibberjab Jul 21, 2007 05:36

Well, I'm using a slightly modded version of the Miami Blue skin -
and this is the section I figure is doing the post titles
<h2 class="bTitle"><?php $Item->title( '', '', true ); ?></h2>
<div class="bSmallHead">
I tried messing with it but to no avail - always ended up crashing the blog.
any suggestions?
<h2 class="bTitle"><?php $Item->title( '', '', true ); ?></h2>
to
<h2 class="bTitle"><?php if ( !empty($Item->url) ) echo '<a tartget="_blank" href="'.$Item->url.'">'.$Item->title( '', '', false ).'</a>'; else $Item->title( '', '', false ); ?></h2>
Well, when I do that the titles cease to be links altogether. 8|
It would help if you posted the actual code which generates your titles... but... for example, here is the code from a skin I recently built:
You could simply change it to read as so:
and wrap it in whatever headline (h2, h3, h4, etc) is appropriate in the flow of your page (For WCAG validation if you've already used an H1 in your banner and your date is an H2, then your title should be an H3, etc, but that's another discussion)
Anyway, the target=_blank statement will cause links to spawn a new browser window.
jj.