Bolding just part of the blog title
-
I blog (self-hosted) at http://www.ex-united.com/ . Blog title is ‘ « ex-United » ‘.
I want to do something that should be simple, but I can’t figure it out. All I want to do is modify header.php, such that the ‘ ex- ‘ portion of my blog title is bolded. That’s it!
Here’s the relevant portion of my theme’s header.php:
<div class=”headerleft”>
<?php if (is_home()) { ?>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<?php } else { ?>
<h4>/”><?php bloginfo(‘name’); ?></h4>
<?php } ?>
<p><?php bloginfo(‘description’); ?></p>
</div>I’ve tried doing something like:
<?php substr(bloginfo(‘name’),2,3) ; ?>
… but this didn’t work.Can someone help?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bolding just part of the blog title’ is closed to new replies.