PHP code example of humanmade / hm-carousel-block
1. Go to this page and download the library: Download humanmade/hm-carousel-block library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
humanmade / hm-carousel-block example snippets
$filename = 'custom-carousel-styles';
$asset = handle' => "my-project-{$filename}",
'src' => get_theme_file_uri( "build/css/{$filename}.css.css" ),
'path' => get_theme_file_path( "build/css/{$filename}.css.css" ),
'ver' => $asset['version'],
'deps' => $asset['dependencies'],
]
);