🚀 Cotlas Static Assets

High-performance CDN for WordPress themes and plugins

Total Assets

50+

CSS, JS, and font files

Global Delivery

275+

Cloudflare edge locations

Cache TTL

1 Year

Maximum browser caching

📁 Asset Directory Structure

  • static/
    • themes/
      • cotlas-child/
        • css/
          • style.css
          • style.min.css
          • company-info-admin.css
          • company-info-admin.min.css
        • js/
          • audio-uploader.js
          • custom.js
        • fonts/
          • fonts.css
          • noto-sans/
            • [font files].woff2
          • nunito/
            • [font files].woff2
          • poppins/
            • [font files].woff2

🔧 Usage Examples

Enqueue CSS Files:

// In your WordPress theme's functions.php
wp_enqueue_style('cotlas-child-style',
  'https://assets.cotlas.net/static/themes/cotlas-child/css/style.min.css',
  array(),
  '1.0.0'
);

Enqueue JavaScript Files:

wp_enqueue_script('cotlas-child-custom',
  'https://assets.cotlas.net/static/themes/cotlas-child/js/custom.js',
  array('jquery'),
  '1.0.0',
  true
);

Font Face Declaration:

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://assets.cotlas.net/static/themes/cotlas-child/fonts/poppins/regular.woff2') format('woff2');
}