Support » Plugins » Hacks » Post Title issue

  • zeroclickmarketing


    Ok here’s the deal my urls post
    which is perfect. Now I need my post title on the post page to do the same thing basically.

    Right now my post title says: Testing This Out

    I need it to say: TestingThisOut or testingthisout

    Any ideas how I can make that happen.

    I have read all last night and part of today about the_title and just have no clue what code to change or what files to put things in or change.

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • zeroclickmarketing


    Guess you could say trying to remove the spaces between the words of the entry title.

    Tomi Toivio


    Something like this?

    function my_remove_title_spaces ($title) {
    	 $title = preg_replace("/ /","",$title);
      	 return $title;
    add_filter( 'the_title', 'my_remove_title_spaces');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Title issue’ is closed to new replies.