php hyphen is printing as "–"
-
To change my titles to show my post title first and my blog title second I used the WordPress Codex code:
<title> <?php wp_title('|',true,'right'); ?> <?php bloginfo('name'); ?> </title>
Which worked fine except for one thing. When I replaced the pipe with a hyphen:
<?php wp_title('-',true,'right'); ?>
the hyphen showed up as “–”
Am working offline on it with MAMP (which I love) so haven’t included URL.
Can’t find answer anywhere. Can anyone help?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘php hyphen is printing as "–"’ is closed to new replies.