I am having a wordpress blog....What I want is need to remove colon) from a link Now when the my post page executes the <?php wp_title('', true, 'right'); ?> will fetch the title of the page. This also fetches colon) in the title which I need to remove in this link mysite.com/<?php wp_title('', true, 'right'); ?> please let me know the code.
Hi, If I understood right: mysite.com/<?php echo str_replace(')','',wp_title('', false, 'right')); ?> PHP: should do the trick. Regards
@georgeiivanov Permalink contains dashes which I dont need. So its easy to remove this colon @koko The code gave the same value. I figured it out and was able to remove the : (colon) but met with another problem. The output is mysite.com/THE POST TITLE .html the extra TWO spaces before .HTML. I want to remove them. The code I used is Please correct the code.