PHP code example of buzut / steroids

1. Go to this page and download the library: Download buzut/steroids 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/ */

    

buzut / steroids example snippets


get_header(null, ['stylesheets' => ['blog']]);

get_header(null, ['stylesheets' => ['blog', 'comments']]);

get_header(null, ['stylesheets' => [['name' => 'blog', 'lazy' => false], ['name' => 'comments', 'lazy' => true]]]);

get_header(null, ['stylesheets' => [['name' => 'blog'], ['name' => 'comments', 'lazy' => true]]]);

get_header(null, ['stylesheets' => ['blog'], 'body_classes' => ['class_1', 'class_2']]);