thanks for your reply.
I tried strip_tags but seem to do it wrong :-(. In order to 'help' my possible helpers i will explain my problem more in detail.
First i want to have a post title like:
<h2><span>Chapter 01: </span>Hello World</h2>
Then i will style the span-Element with CSS. So far it works fine both in single post view as on the post overview i.e. homepage, archive, search.
On these overviews the title is a link to the article which has a title attribute within. This shows the span thing like written in my 1. post.
The original code for this is:
<a href="<?php the_permalink() ?>" rel="bookmark" title="Link zu »
<?php the_title(); ?>
«"><?php the_title(); ?></a>
I tried strip_tags then in the following way (which works on other places in order to show category description in link titles):
<?php echo strip_tags(the_title()); ?>
But that doesn't work. Either it is not capable to delete tags *within* the_title or the tags are already converted to unicode.
Maybe with WP it is not possible to handle post titles like this? For an answer i would be very grateful because if it is *not* possible i will have to think for an other way to achieve my goal. I don't want to have this span stuff around there ;-).
Many thanks again