Title: Uncode Theme Problems
Last modified: April 7, 2020

---

# Uncode Theme Problems

 *  Resolved [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/)
 * I’m using Uncode Theme and trying to set up Autoptimize plugin. Does anyone know
   the list of exclusions I need to add for JS and CSS?
 * My font icons are not showing and giving errors for this path, /wp-content/themes/
   uncode/library/fonts/. But upon excluding that path it still gives me the errors?(
   I unchecked the box at bottom too for non-minify of exclusions)
 * Also do I need to run these exclusions because uncode has the adaptive images
   setting on? ai-uncode.min.js, init.js, init.min.js
    I found that info here: [https://support.undsgn.com/hc/en-us/articles/115003945345-Blurry-Images-Troubleshoot](https://support.undsgn.com/hc/en-us/articles/115003945345-Blurry-Images-Troubleshoot)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641284)
 * Also forgot to add, I’m getting this error as well: No ‘Access-Control-Allow-
   Origin’ header is present on the requested resource.
 * How can I fix that error, I believe it’s being caused by Autoptmize?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641445)
 * Impossible to say without a link to your site I’m afraid, can you share that?
 *  Thread Starter [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641518)
 * Oops sorry, here is link: [https://staging1.877stockcar.com/experiences/stock-car-drive-experience/](https://staging1.877stockcar.com/experiences/stock-car-drive-experience/)
   
   It’s a password locked staged site, login info: username: march2020 password:
   sre12345
 * On that page you can see the errors inspecting and you can see the missing icons
   showing as boxes.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641589)
 * OK, the problem is the fonts are being loaded from 877stockcar.com iso staging1.877stockcar.
   com, so they are blocked due to font CORS. to fix that you’ll either have to 
   ensure the fonts on 877stockcar.com are available with that `Access-Control-Allow-
   Origin` attribute in the HTTP response headers OR you’ll have to ensure Autoptimize
   knows about staging1.877stockcar.com. For that you’ll have to check the staging
   site’s settings (general settings -> wordpress/ site address) or try setting 
   the CDN in AO to `//staging1.877stockcar.com/`.
 * hope this helps,
    frank
 *  Thread Starter [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641651)
 * So is this problem only occurring because it’s the staging site and when I push
   it live it will be resolved?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641829)
 * that should indeed be the case 🙂
 *  Thread Starter [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12641860)
 * Sounds good, I’ll give that a try. Thanks for your help!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12649599)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 *  Thread Starter [stockcar1](https://wordpress.org/support/users/stockcar1/)
 * (@stockcar1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12651467)
 * Final update, that appears to have been the problem. I applied the same settings
   to my live site and no longer had issues. Problem Solved!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12651534)
 * all is well that ends well 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Uncode Theme Problems’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [exclusions](https://wordpress.org/support/topic-tag/exclusions/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [uncode](https://wordpress.org/support/topic-tag/uncode/)

 * 10 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/uncode-theme-problems/#post-12651534)
 * Status: resolved