'drone-background-slider', 'post_name' => 'drone-background-slider', )); $imgs_1_src = $imgs_1 ? wp_get_attachment_image_url($imgs_1, 'full') : 'https://via.placeholder.com/1510x713?text=1510x713'; $imgs_2 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/drone-model-image-2.png', '3146',array( 'post_title' => 'drone-model-image-2', 'post_name' => 'drone-model-image-2', )); $imgs_2_src = $imgs_2 ? wp_get_attachment_image_url($imgs_2, 'full') : 'https://via.placeholder.com/1000x450?text=1000x450'; $imgs_3 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/drone-banner-1-2.jpg', '3142',array( 'post_title' => 'drone-banner-1-2', 'post_name' => 'drone-banner-1-2', )); $imgs_3_src = $imgs_3 ? wp_get_attachment_image_url($imgs_3, 'full') : 'https://via.placeholder.com/872x530?text=872x530'; $imgs_4 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/drone-banner-2-2.jpg', '3142',array( 'post_title' => 'drone-banner-2-2', 'post_name' => 'drone-banner-2-2', )); $imgs_4_src = $imgs_4 ? wp_get_attachment_image_url($imgs_4, 'full') : 'https://via.placeholder.com/872x530?text=872x530'; $imgs_5 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/drone-banner-3-2.jpg', '3142',array( 'post_title' => 'drone-banner-3-2', 'post_name' => 'drone-banner-3-2', )); $imgs_5_src = $imgs_5 ? wp_get_attachment_image_url($imgs_5, 'full') : 'https://via.placeholder.com/872x530?text=872x530'; $imgs_6 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/camera-model-image.png', '3149',array( 'post_title' => 'camera-model-image', 'post_name' => 'camera-model-image', )); $imgs_6_src = $imgs_6 ? wp_get_attachment_image_url($imgs_6, 'full') : 'https://via.placeholder.com/288x288?text=288x288'; $imgs_7 = elessi_import_upload('/elementor/wp-content//uploads/2024/10/placeholder.png', '3157',array( 'post_title' => 'placeholder', 'post_name' => 'placeholder', )); $imgs_7_src = $imgs_7 ? wp_get_attachment_image_url($imgs_7, 'full') : 'https://via.placeholder.com/1200x800?text=1200x800'; $brand_1 = elessi_import_upload('/wp-content/uploads/2017/09/brand-1.jpg', '3074',array( 'post_title' => 'Brand IMG 1', 'post_name' => 'brand-1', )); $brand_2 = elessi_import_upload('/wp-content/uploads/2017/09/brand-2.jpg', '3074',array( 'post_title' => 'Brand IMG 2', 'post_name' => 'brand-2', )); $brand_3 = elessi_import_upload('/wp-content/uploads/2017/09/brand-3.jpg', '3074',array( 'post_title' => 'Brand IMG 3', 'post_name' => 'brand-3', )); $brand_4 = elessi_import_upload('/wp-content/uploads/2017/09/brand-4.jpg', '3074',array( 'post_title' => 'Brand IMG 4', 'post_name' => 'brand-4', )); $brand_5 = elessi_import_upload('/wp-content/uploads/2017/09/brand-5.jpg', '3074',array( 'post_title' => 'Brand IMG 5', 'post_name' => 'brand-5', )); $brand_6 = elessi_import_upload('/wp-content/uploads/2017/09/brand-6.jpg', '3074',array( 'post_title' => 'Brand IMG 6', 'post_name' => 'brand-6', )); return array( 'post' => array( 'post_title' => 'ELM Drone V1', 'post_name' => 'elm-drone-v1' ), 'post_meta' => array( '_elementor_data' => '[{"id":"75b6a55d","settings":{"background_background":"classic","background_image":{"id":' . $imgs_1 . ',"url":' . json_encode($imgs_1_src) . '},"background_size":"cover"},"elements":[{"id":"5ad1ad37","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"42c82a3e","settings":{"structure":"20"},"elements":[{"id":"5a841d09","settings":{"_column_size":50,"_inline_size":38.305,"content_position":"center"},"elements":[{"id":"7ade9c80","settings":{"editor":"