- Carbon fields >= 1.6 (2.0)
- Put files into theme directory. You must put this code into function.php
require_once __DIR__. '/pupuga-framework/modules/InitModules.php';
- If you want to use short codes, you must create method into UseContent.php This method must have name like getNameShortCode
function getTest($values)
{
return 'This is test short code function!!!!!';
}
- You must put this code into function.php first. Where $lang is current lang
function useBotLang()
{
return $lang;
}