Example #1
0
 /**
  * Footer data for footer section
  *
  * @return array
  */
 public static function footer_data()
 {
     return array('copyright' => Footer_Settings_Model::get_copyright(), 'logo' => Footer_Settings_Model::get_logo(), 'menu' => wp_nav_menu(array('theme_location' => 'footer', 'container' => '', 'container_class' => 'footer-navigation', 'container_id' => 'site-navigation', 'menu_class' => 'sf-footer-menu', 'echo' => false)), 'socials' => View::make('blocks/socials', array('socials' => Social_Settings_Model::get_all_socials(), 'where' => 'footer')), 'socials_show_footer' => Social_Settings_Model::is_show_footer(), 'footer_style' => Footer_Settings_Model::get_style(), 'widgets' => Footer_Settings_Model::get_all_footer_widgets_html(), 'columns' => Footer_Settings_Model::get_columns(), 'css' => Footer_Settings_Model::get_columns_css_class());
 }