Ejemplo n.º 1
0
>
<div id="header">
	<div class="top-bg"></div>
  		<div class="layout-978">
        	<?php 
// Funcition to show the header logo, site title and site description
if (function_exists('simplecatch_headerdetails')) {
    simplecatch_headerdetails();
}
?>

        	<div class="social-search">
				<?php 
// simplecatch_headersocialnetworks displays social links given from theme option in header
if (function_exists('simplecatch_headersocialnetworks')) {
    simplecatch_headersocialnetworks();
}
// get search form
get_search_form();
?>
      
        	</div><!-- .social-search -->
    		<div class="row-end"></div>
            <?php 
// simplecatch_headersocialnetworks displays social links given from theme option in header
if (function_exists('simplecatch_custom_header_image')) {
    simplecatch_custom_header_image();
}
?>
            <div id="mainmenu">
            	<?php 
Ejemplo n.º 2
0
 /**
  * Displays the Widget in the front-end.
  * 
  * $args Display arguments including before_title, after_title, before_widget, and after_widget.
  * $instance The settings for the particular instance of the widget
  */
 function widget($args, $instance)
 {
     extract($args);
     extract($instance);
     $title = !empty($instance['title']) ? $instance['title'] : '';
     echo $before_widget;
     if ($title != '') {
         echo $before_title . apply_filters('widget_title', $title, $instance, $this->id_base) . $after_title;
     }
     if (function_exists('simplecatch_headersocialnetworks')) {
         simplecatch_headersocialnetworks();
     }
     echo $after_widget;
 }