function __construct()
 {
     $block_options = array('image' => 'pricing_table.png', 'name' => 'Pricing Table', 'size' => 'span6', 'imagedesc' => 'pricing-table.jpg', 'tab' => 'Content', 'desc' => 'Adds a price plan with features and a button.');
     //create the block
     parent::__construct('CR_PricingTables_Block', $block_options);
     add_action('wp_ajax_aq_block_pt_tab_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'image_slider.png', 'name' => 'Image Slider', 'size' => 'span6', 'tab' => 'media', 'imagedesc' => 'image-slider.jpg', 'desc' => 'An easy to make image slider.');
     //create the block
     parent::__construct('cr_image_slider_block', $block_options);
     add_action('wp_ajax_aq_block_ImageSlider_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'button.png', 'name' => 'Button', 'size' => 'span6', 'imagedesc' => 'button.jpg', 'tab' => 'Content', 'desc' => 'Buttons add a button with your selected style.');
     //create the block
     parent::__construct('cr_buttons_block', $block_options);
     add_action('circleflip_aq-page-builder-admin-enqueue', array($this, 'admin_enqueue_buttonBlock'));
 }
 function __construct()
 {
     $block_options = array('image' => 'contact_details.png', 'name' => 'Contact Details', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'contact.jpg', 'desc' => 'Shows contact details you specify.');
     //create the block
     parent::__construct('cr_contact_details', $block_options);
     add_action('wp_ajax_aq_block_cd_tab_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'carousel.png', 'name' => 'Carousel', 'size' => 'span6', 'imagedesc' => 'carousel.jpg', 'tab' => 'media', 'desc' => 'A type of an image slider, where images are draged sideways.');
     //create the block
     parent::__construct('cr_carousel_block', $block_options);
     add_action('wp_ajax_aq_block_carousel_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'pricing_table_small.png', 'name' => 'Small Pricing', 'size' => 'span6', 'imagedesc' => 'small-pricing.jpg', 'tab' => 'Content', 'desc' => 'Ideal for showing your payment plans.');
     //create the block
     parent::__construct('cr_pricingtablessmall_block', $block_options);
     add_action('wp_ajax_aq_block_spt_tab_add_new', array($this, 'add_tab'));
 }
Exemple #7
0
 function __construct()
 {
     $block_options = array('name' => 'Tabs & Toggles', 'size' => 'span6');
     //create the widget
     parent::__construct('PP_Tabs_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_tab_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'tabs.png', 'name' => 'Tabs & Toggles', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'tabs.jpg', 'desc' => 'Tabs & Toggles lets you display multiple-page-like content in a neat, mess free way.');
     //create the widget
     parent::__construct('AQ_Tabs_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_tab_add_new', array($this, 'add_tab'));
 }
Exemple #9
0
 function __construct()
 {
     $block_options = array('name' => 'Social icons', 'size' => 'span12');
     //create the widget
     parent::__construct('PP_Social_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_socialicon_add_new', array($this, 'add_socialicon'));
 }
 function __construct()
 {
     $block_options = array('name' => 'Pricing Table', 'size' => 'span3');
     //create the block
     parent::__construct('aq_pricing_table_block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_table_add_new', array($this, 'add_table'));
 }
 function __construct()
 {
     $block_options = array('image' => 'icon_box.png', 'name' => 'Icon Box', 'size' => 'span6', 'home' => 'homePage', 'tab' => 'Content', 'imagedesc' => 'iconbox.jpg', 'desc' => 'Adds iconed text snippets.');
     //create the widget
     parent::__construct('CR_Features_Home', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_feature_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'clients.png', 'name' => 'Clients', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'clients.jpg', 'desc' => 'Adds a slider with your clients images, all images can be clickable.');
     //create the widget
     parent::__construct('CR_Clinets_Logos', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_clients_add_new', array($this, 'add_tab'));
 }
Exemple #13
0
 function __construct()
 {
     $block_options = array('name' => 'Table', 'size' => 'span12');
     //create the widget
     parent::__construct('AQ_Table_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_row_add_new', array($this, 'add_row'));
 }
Exemple #14
0
 function __construct()
 {
     $block_options = array('image' => 'icon_box.png', 'name' => 'Icon Box', 'size' => 'span6', 'home' => 'homePage', 'tab' => 'Content', 'imagedesc' => 'iconbox.jpg', 'desc' => 'Displays the selected icons with titles and text below them.');
     //create the widget
     parent::__construct('CR_Icon_Box', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_feature_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('image' => 'text_slider.png', 'name' => 'Text Slider', 'size' => 'span6', 'imagedesc' => 'text-slider.jpg', 'tab' => 'Content', 'desc' => 'A slider fot text blocks.');
     //create the widget
     parent::__construct('CR_Text_Sliders_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_text_slider_add_new', array($this, 'add_text_slider_tab'));
 }
 function __construct()
 {
     $block_options = array('name' => 'Pricing Package', 'size' => 'span4');
     //create the widget
     parent::__construct('AQ_Pricing_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_pricing_add_new', array($this, 'add_item'));
 }
 function __construct()
 {
     $block_options = array('name' => 'Testimonial Block', 'size' => 'span4');
     //create the widget
     parent::__construct('AQ_Testimonials_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_test_add_new', array($this, 'add_test_item'));
 }
 function __construct()
 {
     $block_options = array('image' => 'progress.png', 'name' => 'Progress Bars', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'progress-bars.jpg', 'desc' => 'creates a progress bar mock-up.');
     //create the block
     parent::__construct('cr_progress_block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_progress_add_new', array($this, 'add_progress'));
 }
 function __construct()
 {
     $block_options = array('name' => '<i class="fa fa-trophy"></i> Skills', 'size' => 'col-md-6');
     //create the widget
     parent::__construct('st_skills_block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_skills_add_new', array($this, 'add_skills_item'));
 }
 function __construct()
 {
     $block_options = array('name' => 'Progress Bars', 'size' => 'span6');
     //create the widget
     parent::__construct('AQ_Progress_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_bar_add_new', array($this, 'add_bar'));
 }
 function __construct()
 {
     $block_options = array('image' => 'testimonials.png', 'name' => 'Testimonials', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'testimonials.jpg', 'desc' => 'Displays your testimonials with a selection of designs.');
     //create the widget
     parent::__construct('CR_Testimonials_Section', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_testimonials_add_new', array($this, 'add_tab'));
 }
 function __construct()
 {
     $block_options = array('name' => __('ET Services', 'oneengine'), 'size' => 'span12');
     //create the widget
     parent::__construct('OE_Service_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_service_add_new', array($this, 'add_service'));
 }
Exemple #23
0
 function __construct()
 {
     $block_options = array('name' => 'Slider Block', 'size' => 'span12');
     //create the widget
     parent::__construct('AQ_Slider_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_slide_add_new', array($this, 'add_slide'));
 }
Exemple #24
0
 function __construct()
 {
     $block_options = array('name' => 'Skills bars', 'size' => 'span8');
     //create the widget
     parent::__construct('PP_Skills_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_skill_add_new', array($this, 'add_skillbox'));
 }
 function __construct()
 {
     $block_options = array('name' => 'ET Client', 'size' => 'span12');
     //create the widget
     parent::__construct('OE_List_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_list_item_add_new', array($this, 'add_list_item'));
 }
 function __construct()
 {
     $block_options = array('image' => 'list.png', 'name' => 'List', 'size' => 'span6', 'imagedesc' => 'list.jpg', 'tab' => 'Content', 'desc' => 'Used to add a text list to your page.');
     //create the block
     parent::__construct('cr_list_block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_list_add_new', array($this, 'add_list'));
 }
 function __construct()
 {
     $block_options = array('image' => 'faq.png', 'name' => 'FAQ', 'size' => 'span6', 'tab' => 'Content', 'imagedesc' => 'faq.jpg', 'desc' => 'Displays FAQs in accordion tabs, with category filters.');
     //create the widget
     parent::__construct('CR_Faq_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_faq_add_new', array($this, 'add_tab'));
 }
Exemple #28
0
 function __construct()
 {
     $block_options = array('name' => '<i class="fa fa-user-md"></i> About', 'size' => 'col-md-12');
     //create the widget
     parent::__construct('st_about_block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_check_add_new', array($this, 'add_check_item'));
     add_action('wp_ajax_aq_block_checkbtn_add_new', array($this, 'add_checkbtn_btn'));
 }
 function update($new_instance, $old_instance)
 {
     if ($new_instance['post_shape'] == 'circle') {
         $new_instance['post_style'] = $new_instance['post_shape'];
     } elseif ($new_instance['post_shape'] == 'magazine') {
         $new_instance['post_style'] = $new_instance['magazine_style'];
     } else {
         $new_instance['post_style'] = $new_instance['hover_style'];
     }
     $new_instance['post_order'] = 'desc';
     return parent::update($new_instance, $old_instance);
 }
 function __construct()
 {
     $block_options = array('name' => '<i class="fa fa-download"></i> Download', 'size' => 'col-md-6');
     //create the block
     parent::__construct('st_download_block', $block_options);
 }