コード例 #1
0
 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'));
 }
コード例 #2
0
 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'));
 }
コード例 #3
0
 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'));
 }
コード例 #4
0
 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'));
 }
コード例 #5
0
 public function __construct($id_base = false, $block_options = array())
 {
     parent::__construct('cr_gmap_block', array('tab' => 'Content', 'name' => __('Google Map', 'circleflip'), 'desc' => _x('Adds a dynamic/static google map', 'google maps block description', 'circleflip'), 'size' => 'span6', 'image' => 'google_map.png', 'imagedesc' => 'map.jpg', '_data' => array('settings' => array('mapType' => 'dynamic', 'filters' => false, 'expandable' => false, 'height' => 300, 'filterLabel' => 'Filter'), 'locations' => array())));
     $api_key = cr_get_option('google_api_key', self::API_KEY);
     add_action('circleflip_aq-page-builder-admin-enqueue', array($this, 'admin_enqueue'));
     add_action('circleflip_aq-page-builder-admin-enqueue', array($this, 'print_templates'));
 }
コード例 #6
0
 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'));
 }
コード例 #7
0
 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'));
 }
コード例 #8
0
 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'));
 }
コード例 #9
0
 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'));
 }
コード例 #10
0
ファイル: pp-social-block.php プロジェクト: JeffreyBue/jb
 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'));
 }
コード例 #11
0
 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'));
 }
コード例 #12
0
 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'));
 }
コード例 #13
0
 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'));
 }
コード例 #14
0
ファイル: pp-tabs-block.php プロジェクト: JeffreyBue/jb
 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'));
 }
コード例 #15
0
ファイル: cr-icon-box.php プロジェクト: purgesoftwares/purges
 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'));
 }
コード例 #16
0
 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'));
 }
コード例 #17
0
 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'));
 }
コード例 #18
0
ファイル: pp-clients-block.php プロジェクト: JeffreyBue/jb
 function __construct()
 {
     $block_options = array('name' => 'Clients', 'size' => 'span12');
     //create the widget
     parent::__construct('PP_Clients_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_client_add_new', array($this, 'add_clientbox'));
 }
コード例 #19
0
 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'));
 }
コード例 #20
0
 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'));
 }
コード例 #21
0
 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'));
 }
コード例 #22
0
 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'));
 }
コード例 #23
0
ファイル: aq-table-block.php プロジェクト: piet89/flexmarket
 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'));
 }
コード例 #24
0
 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'));
 }
コード例 #25
0
 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'));
 }
コード例 #26
0
 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'));
 }
コード例 #27
0
ファイル: pp-skills-block.php プロジェクト: JeffreyBue/jb
 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'));
 }
コード例 #28
0
ファイル: pp-featured-block.php プロジェクト: JeffreyBue/jb
 function __construct()
 {
     $block_options = array('name' => 'Featured boxes', 'size' => 'span12');
     //create the widget
     parent::__construct('PP_Featured_Block', $block_options);
     //add ajax functions
     add_action('wp_ajax_aq_block_box_add_new', array($this, 'add_featuredbox'));
 }
コード例 #29
0
ファイル: aq-slider-block.php プロジェクト: piet89/flexmarket
 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'));
 }
コード例 #30
0
 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'));
 }