title: How to put Specific text in every post at beginning as well as Ending?
body: <p>I am currently using this code, which shows the code beginning of every post.
  I want to show code in the <strong>Beginning and Ending</strong> of every post.
  Can anyone help with this?</p>
  
  <pre><code>add_filter( 'the_content', 'filter_the_content_in_the_main_loop' );
  function filter_the_content_in_the_main_loop( $content ) {
  
      // Check if we're inside the main loop in a single post page.
      if ( is_single() &amp;&amp; in_the_loop() &amp;&amp; is_main_query() ) {
  
         return esc_html__("So Friends, How is our Article of ".get_the_title().". Do You Like it? Don't Forget to Comment below if Any Queries. For More Article regarding ".get_the_title()." Subscribe Us.").$content;
      }
  
      return $content;
  }
  </code></pre>