Skip to content

Instantly share code, notes, and snippets.

View logiblue's full-sized avatar
🙂
Sup

Karanikolas Kostantinos logiblue

🙂
Sup
View GitHub Profile
@logiblue
logiblue / functions.php
Created April 3, 2024 19:42 — forked from eristic/functions.php
Gulp file for using Gulp with Underscores theme. Place in root theme directory, saved as gulpfile.js
/*
This is taken directly from here and modified to fit our needs: https://developer.wordpress.org/themes/basics/including-css-javascript/
*/
function add_that_css_and_js() {
wp_enqueue_style( 'enqueue-that-css', get_template_directory_uri() . '/css/main.css', array(), '1.0', 'all');
wp_enqueue_script( 'enqueue-that-js', get_template_directory_uri() . '/js/min/main.min.js', array ( 'jquery' ), 1.0, true);