Recent Topics

1 Nov 22, 2007 19:42    

My b2evolution Version: 2.x

How to do that with 2.1.0? Alternatively, what would be the modern equivalent of this line:

<h1 id="pageTitle"><a href="<?php bloginfo('url'); ?>"><img src="<?php echo $image_name ?>" title="<?php echo $text ?>" alt="<?php echo $text ?>" width="<?php echo $width ?>" height="<?php echo $height ?>" /></a></h1>

Given that $image_name and $text and $width and $height are defined?

(The basin skin, and many others, use an image in the header to link back to the blog home page is the thing)

EDIT: The key to the above being the modern equivalent of

<?php bloginfo('url'); ?>

2 Nov 22, 2007 19:45

Is this what you want?

<h1 id="pageTitle"><a href="<?php echo $Blog->gen_blogurl(); ?>"><img src="<?php echo $image_name ?>" title="<?php echo $text ?>" alt="<?php echo $text ?>" width="<?php echo $width ?>" height="<?php echo $height ?>" /></a></h1>

¥

3 Nov 22, 2007 19:48

Might be. I'll check it out. I edited my post after you responded, but I don't think my edit changed the value of your answer. Thanks!

4 Nov 22, 2007 19:49

With a tad of luck it won't fry your servers cpu :D

¥


Form is loading...