PHP code example of ziopod / flatfile
1. Go to this page and download the library: Download ziopod/flatfile 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/ */
ziopod / flatfile example snippets
echo $page->title;
echo $page->content;
foreach($page->tags as $tag):
echo $tag['slug'];
echo $tag['name'];
endforeach;
echo $page->bloginfo->blog->url;
echo $page->bloginfo->blog->title;