-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
46 lines (24 loc) · 1.03 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Theme customizations
*
* @package JoeDVenusLandingPageDemo
* @author Joe Domingo, Web Developer, UI/UX Engineer
* @link https://joedomingo.online
* @copyright Copyright (c) 2019, Joe Domingo, Web Developer, UI/UX Engineer
* @license GPL-2.0+
*/
// Custom styles
function jdvlpd_enqueue_styles() {
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Heebo:400,700|Oxygen:700' );
wp_enqueue_style( 'jdvlpd-venus-landing-styles', get_template_directory_uri() . '/dist/css/style.css' );
// wp_enqueue_style( 'jdvlpd-styles', get_stylesheet_directory() );
}
add_action( 'wp_enqueue_scripts', 'jdvlpd_enqueue_styles' );
// Custom JS
function jdvlpd_enqueue_scripts() {
wp_enqueue_script( 'scrollreveal-scripts', '//unpkg.com/scrollreveal@4.0.5/dist/scrollreveal.min.js', array(), '20151215', false );
wp_enqueue_script( 'main-scripts', get_template_directory_uri() . '/dist/js/main.min.js', array(), '20151215', true );
}
add_action( 'wp_enqueue_scripts', 'jdvlpd_enqueue_scripts' );
//