Title: Simple Static integration
Last modified: September 10, 2025

---

# Simple Static integration

 *  Resolved [2Beards Design](https://wordpress.org/support/users/2beards/)
 * (@2beards)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/simple-static-integration/)
 * Hi. have some problem with Simple Static generation. First of all need not all
   scripts to be included. On dev website I’ve managed to exclude those, which aren’t
   needed.
 *     ```wp-block-code
       <script id="ct-scripts-js-extra">var ct_localizations = {"expand_submenu":"Rozwiń menu","collapse_submenu":"Zwiń rozwijane menu","public_url":"\/wp-content\/themes\/blocksy\/static\/bundle\/","dynamic_styles":{"lazy_load":"\/wp-content\/themes\/blocksy\/static\/bundle\/non-critical-styles.min.css?ver=2.1.10"},"dynamic_js_chunks":[{"id":"blocksy_sticky_header","selector":"header [data-sticky]","url":"\/wp-content\/plugins\/blocksy-companion\/static\/bundle\/sticky.js?ver=2.1.10"}],"dynamic_styles_selectors":[{"selector":".ct-header-cart, #woo-cart-panel","url":"\/wp-content\/themes\/blocksy\/static\/bundle\/cart-header-element-lazy.min.css?ver=2.1.10"},{"selector":".flexy","url":"\/wp-content\/themes\/blocksy\/static\/bundle\/flexy.min.css?ver=2.1.10"},{"selector":"#account-modal","url":"\/wp-content\/plugins\/blocksy-companion\/static\/bundle\/header-account-modal-lazy.min.css?ver=2.1.10"},{"selector":".ct-header-account","url":"\/wp-content\/plugins\/blocksy-companion\/static\/bundle\/header-account-dropdown-lazy.min.css?ver=2.1.10"}]};</script>
       ```
   
 * But on static generated site all scripts are there. Moreover there are mixed 
   contents because of http instead of https and there are dev urls and I need relative
   paths. Example of wrong paths:
 *     ```wp-block-code
       <script id="ct-scripts-js-extra">var ct_localizations = {"ajax_url":"http:\/\/test-cms.dev\/wp-admin\/admin-ajax.php","public_url":"http:\/\/test-cms.dev\/wp-content\/themes\/blocksy\/static\/bundle\/","rest_url":"http:\/\/test-cms.dev\/wp-json\/","search_url":"http:\/\/test-cms.dev\/search\/QUERY_STRING\/",
       ```
   
 * Thank’s in advance. Great theme. Thinking of Premium
    -  This topic was modified 8 months, 1 week ago by [2Beards Design](https://wordpress.org/support/users/2beards/).

Viewing 1 replies (of 1 total)

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/simple-static-integration/#post-18636892)
 * Hello [@2beards](https://wordpress.org/support/users/2beards/)
 * Could you please let us know more about how these exclusions were made? Additionally,
   have you tried testing an exclusion with a different theme, to rule out a possible
   malfunction of the exclusion system?
 * Regarding the absolute paths, I’m afraid that’s not correctly assessed. We do
   not have any code in our theme that has an absolute path, since this is not a
   good practice. This is most likely caused by an incorrect setup configuration,
   possibly at the server level. Have you thoroughly verified that SSL is set up
   correctly on your end?
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Simple Static integration’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.42/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eduard](https://wordpress.org/support/users/cteduard/)
 * Last activity: [8 months, 1 week ago](https://wordpress.org/support/topic/simple-static-integration/#post-18636892)
 * Status: resolved