<?php $options[] = array('name' => 'Coopring And Social Icons', 'type' => 'heading'); $options[] = array('name' => 'Copyright Configuration Zone', 'type' => 'info'); $options[] = array('id' => 'show_copyright', 'desc' => 'Show Coopring Section', 'std' => 1, 'type' => 'checkbox'); $options[] = array('id' => 'copyright_text', 'desc' => 'Copyright description', 'std' => 'Copyright Text', 'type' => 'text'); $options[] = array('id' => 'copyright_text_link', 'desc' => 'Link', 'type' => 'text'); // Social Items $options[] = array('name' => '', 'type' => 'info'); $options[] = array('name' => 'social icons', 'type' => 'info'); $options[] = array('id' => 'copyright_text_num', 'desc' => 'number social icons', 'std' => '3', 'type' => 'text', 'class' => 'mini'); if (of_get_option('copyright_text_num') ? $cant = of_get_option('copyright_text_num') : ($cant = 3)) { } for ($i = 1; $i <= $cant; $i++) { $options[] = array('name' => 'Text Link', 'type' => 'toggle'); foreach (chester_font_awesome_icon('copy' . $i) as $val) { $options[] = $val; } $options[] = array('id' => 'copyright_text_link_title' . $i, 'desc' => 'Title', 'type' => 'text'); $options[] = array('id' => 'copyright_text_link_link' . $i, 'desc' => 'Link', 'type' => 'text'); }
<?php $options[] = array('name' => 'Header', 'type' => 'heading'); $options[] = array('name' => 'Top Mail Information', 'type' => 'info'); $options[] = array('id' => 'mail_info', 'desc' => 'Mail Info', 'std' => 'Mail Info Text', 'type' => 'text'); foreach (chester_font_awesome_icon('mail') as $val) { $options[] = $val; } $options[] = array('name' => 'Top Phone Information', 'type' => 'info'); $options[] = array('id' => 'phone_info', 'desc' => 'Phone Info', 'std' => 'Phone Info Text', 'type' => 'text'); foreach (chester_font_awesome_icon('phone') as $val) { $options[] = $val; }