title: Dynamic generated title & href attributes are not added correctly to anchor tag
body: <p>I would like to return a Link with a dynamic href and title. This is what I have so far. I allready can output my dynamic ACF field <code>get_field('acf_field_name')</code>, but I think I dont get the concatenation right under <code>$buffer = &quot;&lt;a href='&quot;.get_field('acf_field_name') &quot;'&gt;&quot;.the_title()'&lt;/a&gt;';</code></p>
  <pre><code>function qg_shortcode() {
      $buffer = '&lt;h3&gt;Heading&lt;/h3&gt;';
      $download = get_field('acf_field_name');
      $q = new WP_Query(array(
          'post_type' =&gt; 'post',
          'posts_per_page' =&gt; 5
      ));
      while ($q-&gt;have_posts()) {
          $q-&gt;the_post();
          $buffer = &quot;&lt;a href='&quot;.$download&quot;'&gt;&quot;.the_title()'&lt;/a&gt;';
      }
      wp_reset_postdata();
      return $buffer;
  }
  </code></pre>
  <p>Can you tell me what's wrong?</p>