Initial Commit N° : 001 - V.4.3.3

This commit is contained in:
2025-03-28 14:32:57 +01:00
commit 238e5d7999
809 changed files with 371149 additions and 0 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,13 @@
<?php
function nasa_wpb_drone_popup_block() {
return array(
'post' => array(
'post_title' => 'WPB Drone - Popup Block',
'post_name' => 'wpb-drone-popup-block',
'post_content' => '[vc_row fullwidth="1" css=".vc_custom_1730435280748{border-top-width: 1px !important;border-right-width: 1px !important;border-bottom-width: 1px !important;border-left-width: 1px !important;background-color: #FFFFFF !important;border-left-style: solid !important;border-right-style: solid !important;border-top-style: solid !important;border-bottom-style: solid !important;border-color: #ECECEC !important;}" el_id="ns-drone-dsc"][vc_column][nasa_products title_shortcode="Items on sale this week" title_font_size="fs-23" title_dash_remove="1" product_description="Top picks this week. Up to 50% off the best selling products." type="recent_product" style="carousel" arrows="1" number="7" columns_number="6" columns_number_tablet="3" cat="" el_class="padding-top-30 padding-right-40 padding-bottom-10 padding-left-40 tablet-padding-top-20 tablet-padding-right-20 tablet-padding-bottom-10 tablet-padding-left-20 mobile-padding-top-10 mobile-padding-right-10 mobile-padding-bottom-10 mobile-padding-left-10"][/vc_column][/vc_row]'
),
'post_meta' => array(
'_wpb_shortcodes_custom_css' => '.vc_custom_1730435280748{border-top-width: 1px !important;border-right-width: 1px !important;border-bottom-width: 1px !important;border-left-width: 1px !important;background-color: #FFFFFF !important;border-left-style: solid !important;border-right-style: solid !important;border-top-style: solid !important;border-bottom-style: solid !important;border-color: #ECECEC !important;}'
)
);
}
@@ -0,0 +1,19 @@
<?php
function nasa_wpb_exit_intent_popup() {
$imgs_url = elessi_import_upload('/elementor/wp-content/uploads/2024/03/pop-up-intent.jpg', '3094', array(
'post_title' => 'exit-popup-intent',
'post_name' => 'Exit popup intent',
));
$imgs_url_src = $imgs_url ? wp_get_attachment_image_url($imgs_url, 'full') : 'https://via.placeholder.com/500x500?text=500x500';
return array(
'post' => array(
'post_title' => 'WPB Exit Intent Popup',
'post_name' => 'wpb-exit-intent-popup',
'post_content' => '[vc_row equal_height="yes"][vc_column width="1/2" css=".vc_custom_1730867460112{background-image: url('.$imgs_url_src.'?id='.$imgs_url.') !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}" el_class="nasa-flex flex-column jc"][vc_column_text css=""] <div class="fs-30 tablet-fs-25 mobile-fs-25 margin-top-10 nasa-bold" style="line-height: 1.2; color: #ffffff; text-align: center;">Wait! before you leave...</div> <div class="fs-16 mobile-fs-14 margin-top-30" style="color: #ffffff; line-height: 1.4; text-align: center;">Get 30% off for your first order</div> <p style="text-align: center;"><a class="button margin-top-30 nasa-tip nasa-tip-right nasa-copy-to-clipboard outline-white small fs-16" style="text-transform: capitalize; background-color: #fff; border-color: #fff; color: #000; height: 40px;" tabindex="0"><span class="ns-copy" title="Copy to clipboard sussces">CODE30OFF</span><span class="nasa-tip-content" style="letter-spacing: 0;">Copy to clipboard</span></a></p> <div class="margin-top-30 fs-16 mobile-fs-14" style="color: #ffffff; line-height: 1.4; text-align: center;">Use above code to get 30% off for your first order when checkout</div> [/vc_column_text][vc_column_text css="" el_class="nasa-bold margin-top-30 margin-bottom-30"] <p style="text-align: center;"><a class="button outline-white small fs-16 force-radius-20" style="height: 40px; border-color: #fff; text-transform: capitalize; letter-spacing: 0; background: transparent; color: #fff; margin-top: 10px; padding: 15px;" tabindex="0" title="Shop now" href="#">Shop Now <span class="fs-20 margin-left-5">→</span></a></p> [/vc_column_text][/vc_column][vc_column width="1/2" el_class="padding-left-30 padding-right-30 padding-top-30 padding-bottom-30"][vc_column_text css=".vc_custom_1730866930155{padding-bottom: 15px !important;}"] <h4><span style="font-size: 100%;">Recommended Products</span></h4> [/vc_column_text][nasa_products style="list" number="3" columns_number="1" columns_number_tablet="1" columns_number_small="1"][/vc_column][/vc_row]'
),
'post_meta' => array(
'_wpb_shortcodes_custom_css' => '.vc_custom_1730867460112{background-image: url('.$imgs_url_src.'?id='.$imgs_url.') !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}.vc_custom_1730866930155{padding-bottom: 15px !important;}'
)
);
}