コード例 #1
0
ファイル: td_module.php プロジェクト: Vatia13/tofido
 function get_no_thumb_class()
 {
     $featured_image_placeholder = td_util::get_option('tds_featured_image_placeholder');
     if ($featured_image_placeholder == 'show_placeholder') {
         //if we have placeholders, do not add the no thumb class
         return;
     } else {
         //no placeholders - check to see if we have a thumb and if we don't have one - fix the layout
         return td_util::if_not_show($this->post_has_thumb, 'td_mod_no_thumb');
     }
 }