Example #1
0
 /**
  * [slider]
  */
 function mfn_print_slider($item)
 {
     echo sc_slider($item['fields']);
 }
Example #2
0
<?php

/*
 * Theme homepage
 * @author bilal hassan <*****@*****.**>
 * 
 */
get_header();
?>

<div class="site-content-wrapper">
    <div id="content">

        <?php 
if (of_get_option('sc_slider_bool', 'yes') == 'yes') {
    echo sc_slider();
}
?>
        <?php 
if (of_get_option('sc_cta_bool', 'yes') == 'yes') {
    echo sc_ctas();
}
?>
        <?php 
//if (of_get_option('sc_banner_bool', 'yes') == 'yes') echo sc_banner();
?>
        
        <div class="col-md-9 item-home <?php 
echo of_get_option('sc_homepage_sidebar');
?>
">