Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions theme-customisations.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function theme_customisations_setup() {
* @return void
*/
public function theme_customisations_css() {
wp_enqueue_style( 'custom-css', plugins_url( '/custom/style.css', __FILE__ ) );
wp_enqueue_style( 'custom-css', plugins_url( '/custom/style.css', __FILE__ ), '', filemtime(__DIR__ . '/custom/style.css') );
}

/**
Expand All @@ -59,7 +59,7 @@ public function theme_customisations_css() {
* @return void
*/
public function theme_customisations_js() {
wp_enqueue_script( 'custom-js', plugins_url( '/custom/custom.js', __FILE__ ), array( 'jquery' ) );
wp_enqueue_script( 'custom-js', plugins_url( '/custom/custom.js', __FILE__ ), array( 'jquery' ), filemtime(__DIR__ . '/custom/custom.js') );
}

/**
Expand Down