1. Go to this page and download the library: Download arcath/theme-options 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/ */
global $themeOptions;
echo($themeOptions->themeOption('email'));
// Template Name: RED
global $themeOptions;
add_filter('theme_slug_color', function($color){
// Over ride option to red on this page
return "#f00";
})
echo($themeOptions->themeOption('color'));
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.