Plugin Directory

Changeset 3493986


Ignore:
Timestamp:
03/29/2026 07:37:58 PM (4 days ago)
Author:
marferblanco
Message:

Changing the CSS folder for the front end

Location:
sitepause
Files:
3 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • sitepause/trunk/sitepause.php

    r3493935 r3493986  
    2626new SPMM_Frontend();
    2727new SPMM_Settings();
     28
     29/**
     30 * Load frontend CSS
     31 */
     32function spmm_enqueue_styles() {
     33    if (!is_admin()) {
     34        wp_enqueue_style(
     35            'spmm-style',
     36            plugin_dir_url(__FILE__) . 'assets/css/maintenance.css',
     37            array(),
     38            SPMM_VERSION
     39        );
     40    }
     41}
     42add_action('wp_enqueue_scripts', 'spmm_enqueue_styles');
Note: See TracChangeset for help on using the changeset viewer.