Example #1
0
 private function widget_definition()
 {
     declare_widget('right', 'categories', array('open_wrapper' => '<div class="widget widget_categories">', 'close_wrapper' => '</div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'open_content' => '<ul class="arrows_list">', 'close_content' => '</ul>', 'open_parent' => false, 'close_parent' => false, 'before_item' => '<li><i class="icon-angle-right"></i>', 'after_item' => '</li>'));
     declare_widget('bottom', 'categories', array('open_wrapper' => '<div class="col-sm-6 col-md-3 col-lg-3"><div class="widget widget_categories">', 'close_wrapper' => '</div></div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'open_content' => '<ul class="arrows_list">', 'close_content' => '</ul>', 'open_parent' => false, 'close_parent' => false, 'before_item' => '<li><i class="icon-angle-right"></i>', 'after_item' => '</li>'));
     declare_widget('right', 'tags', array('open_wrapper' => '<div class="widget widget_tags">', 'close_wrapper' => '</div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'open_content' => '<ul class="tags">', 'close_content' => '</ul>', 'open_parent' => false, 'close_parent' => false, 'before_item' => '<li>', 'after_item' => '</li>', 'item_class' => ''));
     declare_widget('bottom', 'tags', array('open_wrapper' => '<div class="col-sm-6 col-md-3 col-lg-3"><div class="widget widget_tags">', 'close_wrapper' => '</div></div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'open_parent' => '<ul class="tags">', 'close_parent' => '</ul>', 'before_item' => '<li>', 'after_item' => '</li>', 'item_class' => ''));
     declare_widget('bottom', 'text', array('open_wrapper' => '<div class="col-sm-6 col-md-3 col-lg-3"><div class="widget widget_tags">', 'close_wrapper' => '</div></div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'before_item' => '<p>', 'after_item' => '</p>', 'item_class' => false));
     declare_widget('right', 'text', array('open_wrapper' => '<div class="widget widget_about">', 'close_wrapper' => '</div>', 'before_title' => '<div class="widget_title"><h4><span>', 'after_title' => '</span></h4></div>', 'before_item' => '<p>', 'after_item' => '</p>', 'item_class' => false));
 }
Example #2
0
 private function widget_definition()
 {
     $categories = array('open_wrapper' => '<div class="widget categories">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_content' => '<div class="row">', 'close_content' => '</div>', 'open_parent' => '<div class="col-sm-6"><ul class="arrow">', 'close_parent' => '</ul></div>', 'before_item' => '<li>', 'after_item' => '</li>');
     declare_widget('right', 'categories', $categories);
     $tags = array('open_wrapper' => '<div class="widget tags">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_parent' => '<ul class="tag-cloud">', 'close_parent' => '</ul>', 'before_item' => '<li style="margin:5px 5px 0 0;">', 'after_item' => '</li>', 'item_class' => 'btn btn-xs btn-primary');
     declare_widget('right', 'tags', $tags);
     $categories = array('open_wrapper' => '<div class="col-md-3 col-sm-6">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_content' => '<div class="row">', 'close_content' => '</div>', 'open_parent' => '<ul class="arrow">', 'close_parent' => '</ul>', 'before_item' => '<li>', 'after_item' => '</li>');
     declare_widget('bottom', 'categories', $categories);
     $tags = array('open_wrapper' => '<div class="col-md-3 col-sm-6 widget tags">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_parent' => '<ul class="tag-cloud">', 'close_parent' => '</ul>', 'before_item' => '<li style="margin:5px 5px 0 0;">', 'after_item' => '</li>', 'item_class' => 'btn btn-xs btn-primary');
     declare_widget('bottom', 'tags', $tags);
     $text = array('open_wrapper' => '<div class="col-md-3 col-sm-6 widget tags">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'before_item' => '<p>', 'after_item' => '</p>', 'item_class' => 'btn btn-xs btn-primary');
     declare_widget('bottom', 'text', $text);
 }
Example #3
0
 private function widget_definition()
 {
     $categories = array('open_wrapper' => '<div class="well">', 'close_wrapper' => '</div>', 'before_title' => '<h4>', 'after_title' => '</h4>', 'open_content' => '<div class="row">', 'close_content' => '</div>', 'open_parent' => '<div class="span6"><ul class="arrow" style="list-style:none;padding:0;margin:0">', 'close_parent' => '</ul></div>', 'before_item' => '<li><i class="icon-angle-right"></i>', 'after_item' => '</li>');
     declare_widget('right', 'categories', $categories);
     $tags = array('open_wrapper' => '<div class="well">', 'close_wrapper' => '</div>', 'before_title' => '<h4>', 'after_title' => '</h4>', 'open_parent' => '<ul class="tag-cloud">', 'close_parent' => '</ul>', 'before_item' => '<li style="margin:5px 5px 0 0;display:inline-block">', 'after_item' => '</li>', 'item_class' => 'btn btn-xs btn-primary btn-small');
     declare_widget('right', 'tags', $tags);
     $categories = array('open_wrapper' => '<div class="col-md-3 col-sm-6">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_content' => '<div class="row">', 'close_content' => '</div>', 'open_parent' => '<ul class="arrow">', 'close_parent' => '</ul>', 'before_item' => '<li>', 'after_item' => '</li>');
     declare_widget('bottom', 'categories', $categories);
     $tags = array('open_wrapper' => '<div class="col-md-3 col-sm-6 widget tags">', 'close_wrapper' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', 'open_parent' => '<ul class="tag-cloud">', 'close_parent' => '</ul>', 'before_item' => '<li style="margin:5px 5px 0 0;">', 'after_item' => '</li>', 'item_class' => 'btn btn-xs btn-primary');
     declare_widget('bottom', 'tags', $tags);
     $text = array('open_wrapper' => '<div class="well">', 'close_wrapper' => '</div>', 'before_title' => '<h4>', 'after_title' => '</h4>', 'before_item' => '<p>', 'after_item' => '</p>', 'item_class' => 'btn btn-xs btn-primary');
     declare_widget('bottom', 'text', $text);
     declare_widget('right', 'text', $text);
 }