예제 #1
0
 /**
  * 関連記事を表示
  */
 public static function the_related_posts()
 {
     $RelatedPosts = new Habakiri_Related_Posts();
     $RelatedPosts->display();
 }
예제 #2
0
<?php

/**
 * Version    : 1.0.0
 * Author     : inc2734
 * Author URI : http://2inc.org
 * Created    : August 30, 2015
 * Modified   :
 * License    : GPLv2 or later
 * License URI: license.txt
 */
if (Habakiri::get('is_displaying_related_posts') === 'false') {
    return;
}
$RelatedPosts = new Habakiri_Related_Posts();
$RelatedPosts->display();