Home / Archive / fullPage.js
Duplicate Snippet

Embed Snippet on Your Site

fullPage.js

Register and Enqueue fullPage.js library

Code Preview
php
<?php
// Add custom scripts
function add_custom_script_fullpage_js() {
			
			wp_register_script( 'fullpage', 'https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/4.0.29/fullpage.min.js', array(), '4.0.29', false );
			wp_enqueue_script( 'fullpage' );
			
}
add_action( 'wp_enqueue_scripts', 'add_custom_script_fullpage_js' );

Comments

Add a Comment