Enable CORS Sharing With A GitHub Repo

  • Unknown's avatar

    Hello! I am trying to enable CORS sharing so that I can call to code documents stored on a GitHub repo and have it render on WordPress. I have used a few headers, coded it into the API, etc. and nothing is working to enable CORS sharing on WordPress. Is there a recommended way to enable CORS or share content between WordPress and GitHub to keep from storing huge code files on the servers?

  • Hi there,

    What is the URL of the WordPress site you’re working on?

    What you’re describing is not possible for sites hosted on WordPress.com.

    If you’re working on a site built with the open source WordPress software at another hosting provider, please ask the WordPress.org forums instead, at https://wordpress.org/support/forums/

  • The topic ‘Enable CORS Sharing With A GitHub Repo’ is closed to new replies.