コード例 #1
0
ファイル: widgets.php プロジェクト: alfredpp/sarath-portfolio
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_latest_works_widget', __('Latest works', 'thb_text_domain'), __('Display the latest works from the portfolio', 'thb_text_domain'), 'thb_latest_works');
 }
コード例 #2
0
ファイル: social.php プロジェクト: alfredpp/sarath-portfolio
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_twitter_widget', __('Twitter', 'thb_text_domain'), __('Display a Twitter feed', 'thb_text_domain'), 'thb_twitter');
 }
コード例 #3
0
ファイル: utility.php プロジェクト: alfredpp/sarath-portfolio
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_map_widget', __('Google Map', 'thb_text_domain'), __('Display a Google Map', 'thb_text_domain'), 'thb_map');
 }
コード例 #4
0
ファイル: media.php プロジェクト: alfredpp/sarath-portfolio
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_video_widget', __('Video', 'thb_text_domain'), __('Displays a video from YouTube or Vimeo', 'thb_text_domain'), 'thb_video');
 }
コード例 #5
0
ファイル: module.php プロジェクト: alfredpp/sarath-portfolio
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_social_networks_widget', __('Social networks', 'thb_text_domain'), __('Display social networks icons', 'thb_text_domain'), 'thb_social');
 }
コード例 #6
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('thb_page_widget', __('Page', 'thb_text_domain'), __('Displays the excerpt of a specific page', 'thb_text_domain'), 'thb_page');
 }