PHP code example of omz13 / kirby3-suncyclepages

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

    

omz13 / kirby3-suncyclepages example snippets




return function ($site) {
    return $site->find('blog')->children()->listed()->flip();
};



return function ($site) {
	    return $site->find('blog')->children()->listed()->isunderembargo(false)->issunset(false)->flip();
};