PHP code example of samikeijonen / bem-nav-filters

1. Go to this page and download the library: Download samikeijonen/bem-nav-filters 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/ */

    

samikeijonen / bem-nav-filters example snippets


if ( file_exists( get_parent_theme_file_path( 'vendor/autoload.php' ) ) ) {
	

// Init BEM nav filters.
$filters = new \Foxland\BemNav\Filters();
$filters->init();