title: CORS fonts errors/ wordpress/elementor
body: <p>I need to set the CORS on website build on wordpress, and what I made:</p>
  <p>I have added code to .htaccess and functions.php on my template as below. However, I the app with other domain still cannot load the fonts. I have even tested it with CORS tester, and there is information it should work perfectly. But it doesn`t...</p>
  <p>The website is build on wordpress 5.3 and Elementor. Fonts are uploaded to Elementor.</p>
  <p>I have even used another plugin for custom fonts, added @font-face css... and nothing...
  The errors about CORS still existing while checking console. Please, could anybody has any ideas how to fix it? I am getting mad about...</p>
  <p>Thank you</p>
  <p>Added to .htaccess</p>
  <pre><code>&lt;FilesMatch &quot;.(eot|otf|ttf|woff|woff2)&quot;&gt;
      Header always set Access-Control-Allow-Origin &quot;*&quot;
  &lt;/FilesMatch&gt;
  </code></pre>
  <p>Added to functions.php</p>
  <pre><code>function add_cors_http_header(){
      header(&quot;Access-Control-Allow-Origin: *&quot;);
  }
  add_action('init','add_cors_http_header');
  </code></pre>