示例#1
0
 /**
  * Echo the widget content
  */
 function display_widget($instance, $before_title = '', $title = '', $after_title = '')
 {
     extract($instance, EXTR_SKIP);
     include the_wp_locate_widget('content-blocks');
     // Loads the widget/content-blocks or template-parts/widget-content-blocks.php template.
 }
示例#2
0
 /**
  * Echo the widget content
  */
 function display_widget($instance, $before_title = '', $title = '', $after_title = '')
 {
     extract($instance, EXTR_SKIP);
     include the_wp_locate_widget('social-icons');
     // Loads the widget/social-icons or template-parts/widget-social-icons.php template.
 }