PHP code example of siezi / phile-tags
1. Go to this page and download the library: Download siezi/phile-tags 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/ */
siezi / phile-tags example snippets
$config['plugins']['siezi\\phileTags'] = ['active' => true];
/*
Title: My First Blog Post
Tags: js, javascript, php
*/
twig
{% if meta.tags_array is not empty %}
{% for tag in meta.tags_array %}
<a href="{{ base_url }}/tag/{{ tag }}">
#{{ tag }}
</a>
{% endfor %}
{% endif %}