コード例 #1
0
 /**
  * Outputs the content of the widget
  *
  * @param array $args
  * @param array $instance
  */
 public function widget($args, $instance)
 {
     // outputs the content of the widget
     echo $args['before_widget'];
     echo $args['before_title'] . apply_filters('widget_title', 'Site Contributors') . $args['after_title'];
     echo '<div id="owl-authors" class="owl-carousel">';
     contributors();
     echo '</div>';
     echo $args['after_widget'];
 }
コード例 #2
0
<?php

/*
Template Name: Participants Diaries Template
*/
get_header();
?>
<div class="container">
	<div class="row">
		<div class="col-md-12 bb_lead">
			<h2>Participants Diaries</h2>
		</div>

		<div class="col-md-12">
			<p>This page shows the participating organisations and who has been twinned with whom. As the project unfolds, you will be able to see photographs, video and blogs from each group on their own project page – click on the group you are interested in to find out what they have been doing!</p>
		</div>
	</div>
	
	<div class="participants_list">
		<div class="article">
			<h4>All Participants Diaries</h4>
			<ul class="clearfix">
			<?php 
contributors();
?>
			</ul>
		</div>
	</div>
</div>
<?php 
get_footer();