title: Wordpress Custom Fields in own Single Page
body: <p>I am using the Advanced Custom Fields and a Custom Post Type.</p>
  <p>Currently I am using a child theme from Block Theme 2022:
  <a href="https://de.wordpress.org/themes/twentytwentytwo/" rel="nofollow noreferrer">https://de.wordpress.org/themes/twentytwentytwo/</a></p>
  <p>I am now trying to output the Custom Fields on the Single Page of the Custom Post Type as described here:
  <a href="https://www.advancedcustomfields.com/resources/adding-fields-posts/" rel="nofollow noreferrer">https://www.advancedcustomfields.com/resources/adding-fields-posts/</a></p>
  <p>I have created my single-myCustomPostType.htm in the template folder, this is also used. However, I can not simply output my field here?</p>
  <p><code>&lt;?php the_field('mycustomfield'); ?&gt;</code></p>
  <p>If I then edit the template once in the Wordpress-Editor, HTML-Template changes no longer appear. Only when I discard the editor changes, the changes from the template appear.</p>
  <p>Is there perhaps a better approach to output the custom fields?</p>