title: getfield() not working in WordPress
body: <p>This is the testing code I wrote to display an ad on a site. It does not display the link and image. I have added the link and image using default settings.</p>
  
  <pre><code>   &lt;?php
        if(1){
              echo("&lt;div style='position:absolute; right:142.5px; top:0px; top:303px;'&gt;
              &lt;a href='");
              echo get_field( 'add_ad_link' );
              echo("'&gt;&lt;img src=').get_field( 'ad_image' ).('&gt;&lt;/a&gt;&lt;/div&gt;");
        }
      ?&gt;
  </code></pre>