title: Place link in title from "read more" php WP
body: <p>PHP help needed, so I got a wordpress problem I have function that show title content and continue reading text, and I need to place link from continue reading text in title and hide Continue reading text. Here is code from file that generate following title:</p>
  
  <pre><code>    function whisper_entry_title2()
  {
      if ( !( $title = get_the_title() ) )
          return;
  
      // Check on singular pages
      $is_single = is_singular() &amp;&amp; !is_page_template( 'tpl/blog.php' ) &amp;&amp; !is_page_template( 'tpl/blog-boxes.php' );
  
      // Allow to config via global variable
      if ( isset( $whisper['is_single'] ) )
          $is_single = $whisper['is_single'];
  
      $tag = $is_single ? 'h1' : 'h2';
      $title = sprintf( '&lt;b class="black"&gt;%4$s&lt;/b&gt;', $tag, get_permalink(), the_title_attribute( 'echo=0' ), $title );
      echo apply_filters( __FUNCTION__, $title );
  
  
  }
  </code></pre>
  
  <p>And here is the part of the code that generate continue reading:</p>
  
  <pre><code>function whisper_content_limitoffer1( $num_words, $more = '...', $echo = true )
  {
      $content = get_the_content();
  
      // Strip tags and shortcodes so the content truncation count is done correctly
      $content = strip_tags( strip_shortcodes( $content ), apply_filters( 'whisper_content_limit_allowed_tags', '&lt;script&gt;,&lt;style&gt;' ) );
  
      // Remove inline styles / scripts
      $content = trim( preg_replace( '#&lt;(s(cript|tyle)).*?&lt;/\1&gt;#si', '', $content ) );
  
      // Truncate $content to $max_char
      $content = wp_trim_words( $content, $num_words );
  
      if ( $more )
      {
          //$event_id = get_post_meta(get_the_ID(),'event_id', TRUE);
          //$link="http://example.com/wp/events-offers/";
          $output = sprintf(
              '&lt;p class="event2-cf-oe"&gt;%s &lt;a href="%s" class="more-link right o_6" title="%s"&gt;%s&lt;/a&gt;&lt;/p&gt;',
              $content,
              get_permalink(),
              sprintf( __( 'Continue reading &amp;quot;%s&amp;quot;', 'whisper' ), the_title_attribute( 'echo=0' ) ),
              $more
          );
      }
      else
      {
          $output = sprintf( '&lt;p class="event2-cf-oe"&gt;%s&lt;/p&gt;', $content );
      }
  
      // Still display post formats differently
      $output = whisper_post_formats_content( $output );
  
      if ( $echo )
          echo $output;
      else
          return $output;
  }
  </code></pre>