Example #1
0
 /**
  * Front-end display of widget.
  *
  * @see WP_Widget::widget()
  *
  * @param array $args     Widget arguments.
  * @param array $instance Saved values from database.
  */
 public function widget($args, $instance)
 {
     echo $args['before_widget'];
     if (!empty($instance['title'])) {
         echo $args['before_title'] . apply_filters('powen_widget_title', $instance['title']) . $args['after_title'];
     }
     powen_social_media_icons();
     echo $args['after_widget'];
 }
Example #2
0
    ?>
		<a href="#main-nav"><i class="m"></i><?php 
    echo esc_textarea(powen_mod('menu_two_title_textbox'), 'powen');
    ?>
</a>
	</nav>
	<?php 
}
?>
	<?php 
do_action('powen_after_mobile_nav');
?>

	<!-- Social Media Icon -->
	<?php 
powen_social_media_icons();
?>
	<?php 
do_action('powen_header_social_container_extras');
?>

	<!-- Search -->
	<div class="powen-search-box-top">
		<?php 
get_search_form();
?>
		<?php 
do_action('powen_header_top_container_extras');
?>
	</div>