PHP code example of withcandour / statamic-blog-helpers
1. Go to this page and download the library: Download withcandour/statamic-blog-helpers 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/ */
withcandour / statamic-blog-helpers example snippets
'archives' => [
[
'uri' => '/blog',
'view' => 'blog.archive',
'layout' => 'layout',
'title_prefix' => 'Posts from'
],
]
php artisan vendor:publish --provider="WithCandour\StatamicBlogHelpers\ServiceProvider"