<?php

/*  ---------------------------------------------------------------------------- 
	CATEGORIES
*/
$cat_audio_id = td_demo_category::add_category(array(
	'category_name' => 'Audio',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_computing_id = td_demo_category::add_category(array(
	'category_name' => 'Computing',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_drones_id = td_demo_category::add_category(array(
	'category_name' => 'Drones',
    'parent_id' => $cat_gear_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_featured_id = td_demo_category::add_category(array(
	'category_name' => 'Featured',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_gaming_id = td_demo_category::add_category(array(
	'category_name' => 'Gaming',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_gear_id = td_demo_category::add_category(array(
	'category_name' => 'Gear',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_internet_id = td_demo_category::add_category(array(
	'category_name' => 'Internet',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_phones_id = td_demo_category::add_category(array(
	'category_name' => 'Phones',
	'parent_id' => $cat_gear_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_photography_id = td_demo_category::add_category(array(
	'category_name' => 'Photography',
	'parent_id' => $cat_gear_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_security_id = td_demo_category::add_category(array(
	'category_name' => 'Security',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_smart_home_id = td_demo_category::add_category(array(
	'category_name' => 'Smart Home',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_social_networks_id = td_demo_category::add_category(array(
	'category_name' => 'Social Networks',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_video_id = td_demo_category::add_category(array(
	'category_name' => 'Video',
	'parent_id' => $cat_gear_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));

$cat_wearables_id = td_demo_category::add_category(array(
	'category_name' => 'Wearables',
	'parent_id' => $cat_gear_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => '',
	'boxed_layout' => 'hide',
	'sidebar_id' => '',
	'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 
	'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar 
));


/*  ---------------------------------------------------------------------------- 
	ATTACHMENTS
*/

/*  ---------------------------------------------------------------------------- 
	POSTS
*/

$post_td_post_most_anticipated_audio_gadgets_of_2017_where_to_buy_them_id = td_demo_content::add_post(array(
    'title' => 'Most Anticipated Audio Gadgets of 2021: Where to Buy Them',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_5',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_12_computer_security_mistakes_youre_probably_making_id = td_demo_content::add_post(array(
    'title' => '12 Computer Security Mistakes You’re Probably Making',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_6',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_this_new_senate_bill_might_ban_unbreakable_encryption_id = td_demo_content::add_post(array(
    'title' => 'This New Senate Bill Might Ban Unbreakable Encryption',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_7',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_why_the_apple_watch_has_some_security_pros_worried_id = td_demo_content::add_post(array(
    'title' => 'Why the Apple Watch Has Some Security Pros Worried',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_8',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_3_looming_security_threats_that_should_scare_you_id = td_demo_content::add_post(array(
    'title' => '3 Looming Security Threats That Should Scare You',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_9',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_beware_this_new_itunes_scam_can_steal_your_identity_id = td_demo_content::add_post(array(
    'title' => 'Beware: This New iTunes Scam Can Steal Your Identity',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_10',
    'categories_id_array' => array($cat_audio_id,$cat_computing_id,$cat_drones_id,$cat_gaming_id,$cat_internet_id,$cat_phones_id,$cat_photography_id,$cat_security_id,$cat_smart_home_id,$cat_social_networks_id,$cat_video_id,$cat_wearables_id,),
));

$post_td_post_discover_a_better_camera_for_your_youtube_account_id = td_demo_content::add_post(array(
	'title' => 'Discover a Better Camera for Your YouTube Account',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_social_networks_id,),
));

$post_td_post_your_tumblr_blog_could_soon_start_to_make_you_money_id = td_demo_content::add_post(array(
	'title' => 'Your Tumblr Blog Could Soon Start to Make You Money',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_social_networks_id,),
));

$post_td_post_heres_a_new_way_to_take_better_photos_for_instagram_id = td_demo_content::add_post(array(
	'title' => 'Here\'s a New Way to Take Better Photos for Instagram',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_social_networks_id,),
));

$post_td_post_how_to_snag_a_pair_of_snapchat_spectacles_online_id = td_demo_content::add_post(array(
	'title' => 'How to Snag a Pair of Snapchat Spectacles Online',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_social_networks_id,),
));

$post_td_post_facebook_now_lets_you_log_in_with_a_physical_key_id = td_demo_content::add_post(array(
	'title' => 'Facebook Now Lets You Log In with a Physical Key',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_social_networks_id,),
));

$post_td_post_computer_internet_connection_doesnt_work_ethernet_or_wifi_id = td_demo_content::add_post(array(
	'title' => 'Computer Internet Connection Doesn\'t Work (Ethernet or WiFi)',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_internet_id,),
));

$post_td_post_fridays_internet_outages_may_be_just_the_beginning_id = td_demo_content::add_post(array(
	'title' => 'Friday\'s Internet Outages May Be Just the Beginning',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_internet_id,),
));

$post_td_post_images_from_hundreds_of_pcs_control_systems_put_online_id = td_demo_content::add_post(array(
	'title' => 'Images from Hundreds of PCs & Control Systems Put Online',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_internet_id,),
));

$post_td_post_facebook_using_lasers_to_deliver_lightning_fast_internet_id = td_demo_content::add_post(array(
	'title' => 'Facebook Using Lasers to Deliver Lightning-Fast Internet',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_internet_id,),
));

$post_td_post_tip_how_much_internet_speed_should_you_really_pay_for_id = td_demo_content::add_post(array(
	'title' => 'Tip: How Much Internet Speed Should You Really Pay For?',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_internet_id,),
));

$post_td_post_microsoft_to_start_reality_development_kits_in_march_id = td_demo_content::add_post(array(
	'title' => 'Microsoft to Start Reality Development Kits in March',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_gaming_id,),
));

$post_td_post_why_2017_might_just_be_the_worst_year_ever_for_gaming_id = td_demo_content::add_post(array(
	'title' => 'Why 2017 Might Just Be the Worst Year Ever for Gaming',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_gaming_id,),
));

$post_td_post_ghost_racer_wants_to_be_the_most_ambitious_car_game_id = td_demo_content::add_post(array(
	'title' => 'Ghost Racer Wants to Be the Most Ambitious Car Game',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_gaming_id,),
));

$post_td_post_new_nintendo_wii_console_goes_on_sale_in_strategy_reboot_id = td_demo_content::add_post(array(
	'title' => 'New Nintendo Wii Console Goes on Sale in Strategy Reboot',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_gaming_id,),
));

$post_td_post_you_and_your_kids_can_enjoy_this_news_gaming_console_id = td_demo_content::add_post(array(
	'title' => 'You and Your Kids can Enjoy this News Gaming Console',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_gaming_id,),
));

$post_td_post_snapdragon_super_chip_mounted_on_the_latest_dslr_photo_cameras_id = td_demo_content::add_post(array(
	'title' => 'Snapdragon Super Chip Mounted on the Latest DSLR Photo Cameras',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_computing_id,),
));

$post_td_post_android_nougat_review_little_improvements_make_a_big_difference_id = td_demo_content::add_post(array(
	'title' => 'Android Nougat Review: Little Improvements Make a Big Difference',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_computing_id,),
));

$post_td_post_this_new_holographic_computer_gives_tactile_feedback_in_mid_air_id = td_demo_content::add_post(array(
	'title' => 'This New Holographic Computer Gives Tactile Feedback in Mid-Air',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_computing_id,),
));

$post_td_post_in_ear_computer_filters_noise_to_make_you_a_better_listener_id = td_demo_content::add_post(array(
	'title' => 'In-Ear Computer Filters Noise to Make You a Better Listener',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_computing_id,),
));

$post_td_post_a_breakthough_for_this_year_new_holiday_birds_eye_view_debuting_id = td_demo_content::add_post(array(
	'title' => 'A Breakthough for This Year: New Holiday Birds-Eye View Debuting',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_computing_id,),
));

$post_td_post_this_transcribing_smartwatch_is_a_note_takers_dream_id = td_demo_content::add_post(array(
	'title' => 'This Transcribing Smartwatch is a Note-Takers Dream',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_wearables_id,),
));

$post_td_post_10_best_ways_to_use_and_personalize_your_apple_watch_id = td_demo_content::add_post(array(
	'title' => '10 Best Ways to Use and Personalize Your Apple Watch',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_wearables_id,),
));

$post_td_post_huawei_watch_2_good_looks_but_lacking_a_major_feature_id = td_demo_content::add_post(array(
	'title' => 'Huawei Watch 2: Good Looks, But Lacking a Major Feature',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_wearables_id,),
));

$post_td_post_samsung_gear_vr_gets_refreshed_with_a_touch_controller_id = td_demo_content::add_post(array(
	'title' => 'Samsung Gear VR Gets Refreshed With a Touch Controller',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_wearables_id,),
));

$post_td_post_this_sexy_steel_smartwatch_keeps_ticking_when_turned_off_id = td_demo_content::add_post(array(
	'title' => 'This Sexy Steel Smartwatch Keeps Ticking When Turned Off',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_wearables_id,),
));

$post_td_post_main_manufacturer_will_stop_delivering_camera_parts_id = td_demo_content::add_post(array(
	'title' => 'Main Manufacturer Will Stop Delivering Camera Parts',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_video_id,),
));

$post_td_post_apple_unveils_top_5_best_selling_movies_of_all_time_id = td_demo_content::add_post(array(
	'title' => 'Apple Unveils Top 5 Best Selling Movies of All-Time',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_video_id,),
));

$post_td_post_nikon_portable_video_camera_to_be_launched_in_2017_id = td_demo_content::add_post(array(
	'title' => 'Nikon Portable Video Camera to be Launched in 2017',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_video_id,),
));

$post_td_post_virtual_reality_could_change_twitch_streaming_forever_id = td_demo_content::add_post(array(
	'title' => 'Virtual Reality Could Change Twitch Streaming Forever',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_video_id,),
));

$post_td_post_this_new_gear_vr_controller_feels_like_the_future_id = td_demo_content::add_post(array(
	'title' => 'This New Gear VR Controller Feels Like the Future',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_video_id,),
));

$post_td_post_new_card_will_keep_your_smart_home_from_becoming_obsolete_id = td_demo_content::add_post(array(
	'title' => 'New Card Will Keep Your Smart Home from Becoming Obsolete',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_smart_home_id,),
));

$post_td_post_sneak_peak_best_smart_home_gadgets_features_in_2017_id = td_demo_content::add_post(array(
	'title' => 'Sneak Peak: Best Smart Home Gadgets & Features in 2017',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_smart_home_id,),
));

$post_td_post_light_bulb_guide_for_your_home_led_vs_cfl_vs_halogen_id = td_demo_content::add_post(array(
	'title' => 'Light Bulb Guide for your Home: LED vs. CFL vs. Halogen',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_smart_home_id,),
));

$post_td_post_malware_may_soon_infect_smart_homes_operating_systems_id = td_demo_content::add_post(array(
	'title' => 'Malware May Soon Infect Smart Home\'s Operating Systems',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_smart_home_id,),
));

$post_td_post_prepare_to_meet_the_next_big_thing_for_smart_homes_id = td_demo_content::add_post(array(
	'title' => 'Prepare to Meet the Next Big Thing for Smart Homes',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_smart_home_id,),
));

$post_td_post_canon_crop_factor_how_the_camera_model_affects_your_lenses_id = td_demo_content::add_post(array(
	'title' => 'Canon Crop Factor: How the Camera Model Affects Your Lenses',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_photography_id,),
));

$post_td_post_this_new_breakthrough_phone_camera_has_periscoping_zoom_id = td_demo_content::add_post(array(
	'title' => 'This New Breakthrough Phone Camera Has Periscoping Zoom',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_photography_id,),
));

$post_td_post_the_best_point_and_shoot_cameras_for_your_next_vacation_id = td_demo_content::add_post(array(
	'title' => 'The Best Point and Shoot Cameras for your Next Vacation',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_photography_id,),
));

$post_td_post_how_to_share_multiple_images_and_video_in_your_instagram_id = td_demo_content::add_post(array(
	'title' => 'How to Share Multiple Images and Video in Your Instagram',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_photography_id,),
));

$post_td_post_discover_the_newest_waterproof_and_rugged_cameras_of_2017_id = td_demo_content::add_post(array(
	'title' => 'Discover the Newest Waterproof and Rugged Cameras of 2017',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_photography_id,),
));

$post_td_post_all_you_need_to_know_about_the_global_nokia_launching_id = td_demo_content::add_post(array(
	'title' => 'All You Need to Know About the Global Nokia Launching',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_top_tip_how_to_use_snapchat_on_iphone_and_android_id = td_demo_content::add_post(array(
	'title' => 'Top Tip: How to Use Snapchat on iPhone and Android',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_apples_next_smartphone_may_have_ultra_hd_oled_screens_id = td_demo_content::add_post(array(
	'title' => 'Apple\'s Next Smartphone May Have Ultra HD OLED Screens',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_iphone_will_adopt_fast_charging_and_retain_lightning_port_id = td_demo_content::add_post(array(
	'title' => 'iPhone will Adopt Fast Charging and Retain Lightning Port',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_google_pixel_2_will_arrive_in_the_premium_segment_id = td_demo_content::add_post(array(
	'title' => 'Google Pixel 2 Will Arrive in the Premium Segment',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_phones_id,),
));

$post_td_post_your_next_choice_10_drones_for_kids_ranked_best_to_worst_id = td_demo_content::add_post(array(
	'title' => 'Your Next Choice: 10 Drones for Kids Ranked Best to Worst',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_drones_id,),
));

$post_td_post_intruder_in_your_home_the_alarm_will_release_the_drones_id = td_demo_content::add_post(array(
	'title' => 'Intruder in Your Home? The Alarm Will Release the Drones',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_drones_id,),
));

$post_td_post_camera_passport_review_you_can_take_this_drone_anywhere_id = td_demo_content::add_post(array(
	'title' => 'Camera Passport Review: You Can Take This Drone Anywhere',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_drones_id,),
));

$post_td_post_this_new_underwater_drone_is_your_own_personal_submarine_id = td_demo_content::add_post(array(
	'title' => 'This New Underwater Drone Is Your Own Personal Submarine',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_drones_id,),
));

$post_td_post_air_hogs_drone_gives_you_a_birds_eye_view_in_vr_mode_id = td_demo_content::add_post(array(
	'title' => 'Air Hogs Drone Gives You a Bird\'s-Eye View in VR Mode',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_drones_id,),
));

$post_td_post_the_smart_wireless_earphones_for_djs_are_a_real_breakthrough_id = td_demo_content::add_post(array(
	'title' => 'The Smart Wireless Earphones for DJ\'s Are a Real Breakthrough',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_audio_id,),
));

$post_td_post_best_smart_surround_earphones_for_your_next_workout_session_id = td_demo_content::add_post(array(
	'title' => 'Best Smart Surround Earphones for Your Next Workout Session',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_audio_id,),
));

$post_td_post_how_to_save_100_on_top_selling_bose_kitchen_audio_system_id = td_demo_content::add_post(array(
	'title' => 'How to Save $100 on Top-Selling Bose Kitchen Audio System',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_audio_id,),
));

$post_td_post_discover_the_9_best_songs_to_stream_share_right_now_id = td_demo_content::add_post(array(
	'title' => 'Discover the 9 Best Songs to Stream & Share Right Now',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_audio_id,),
));





/*  ---------------------------------------------------------------------------- 
	PRODUCTS
*/

/*  ---------------------------------------------------------------------------- 
	MENUS
*/
$menu_td_demo_custom_menu_id = td_demo_menus::create_menu('td-demo-custom-menu', '');
$menu_td_demo_header_menu_id = td_demo_menus::create_menu('td-demo-header-menu', '');


/*  ---------------------------------------------------------------------------- 
	CLOUD TEMPLATES
*/
$template_tag_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Tag Template - Gadgets Magazine PRO',
	'file' => 'tag_cloud_template.txt',
	'template_type' => 'tag',
));

td_demo_misc::update_global_tag_template( 'tdb_template_' . $template_tag_template_gadgets_magazine_pro_id);


$template_search_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Search Template - Gadgets Magazine PRO',
	'file' => 'search_cloud_template.txt',
	'template_type' => 'search',
));

td_demo_misc::update_global_search_template( 'tdb_template_' . $template_search_template_gadgets_magazine_pro_id);


$template_date_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Date Template - Gadgets Magazine PRO',
	'file' => 'date_cloud_template.txt',
	'template_type' => 'date',
));

td_demo_misc::update_global_date_template( 'tdb_template_' . $template_date_template_gadgets_magazine_pro_id);


$template_single_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Single Template - Gadgets Magazine PRO',
	'file' => 'post_cloud_template.txt',
	'template_type' => 'single',
));

td_util::update_option('td_default_site_post_template', 'tdb_template_' . $template_single_template_gadgets_magazine_pro_id);


$template_category_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Category Template - Gadgets Magazine PRO',
	'file' => 'cat_cloud_template.txt',
	'template_type' => 'category',
));

td_demo_misc::update_global_category_template( 'tdb_template_' . $template_category_template_gadgets_magazine_pro_id);


$template_author_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Author Template - Gadgets Magazine PRO',
	'file' => 'author_cloud_template.txt',
	'template_type' => 'author',
));

td_demo_misc::update_global_author_template( 'tdb_template_' . $template_author_template_gadgets_magazine_pro_id);


$template_404_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => '404 Template - Gadgets Magazine PRO',
	'file' => '404_cloud_template.txt',
	'template_type' => '404',
));

td_demo_misc::update_global_404_template( 'tdb_template_' . $template_404_template_gadgets_magazine_pro_id);


$template_footer_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Footer - Gadgets Magazine PRO',
	'file' => 'footer_cloud_template.txt',
	'template_type' => 'footer',
));

td_demo_misc::update_global_footer_template( 'tdb_template_' . $template_footer_gadgets_magazine_pro_id);


$template_header_template_gadgets_magazine_pro_id = td_demo_content::add_cloud_template(array(
	'title' => 'Header Template - Gadgets Magazine PRO',
	'file' => 'header_cloud_template.txt',
	'template_type' => 'header',
));

td_demo_misc::update_global_header_template( 'tdb_template_' . $template_header_template_gadgets_magazine_pro_id);


update_post_meta( $template_header_template_gadgets_magazine_pro_id, 'header_mobile_menu_id', $menu_td_demo_header_menu_id);


/*  ----------------------------------------------------------------------------
	PAGES
*/
$page_home_id = td_demo_content::add_page(array(
    'title' => 'Home',
    'file' => 'home.txt',
    'homepage' => true,
));



/*  ----------------------------------------------------------------------------
	MENUS ITEMS
*/
$menu_item_0_id = td_demo_menus::add_link(array(
    'title' => 'Disclaimer',
    'add_to_menu_id' => $menu_td_demo_custom_menu_id,
    'url' => '#',
    'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_link(array(
    'title' => 'About',
    'add_to_menu_id' => $menu_td_demo_custom_menu_id,
    'url' => '#',
    'parent_id' => ''
));

$menu_item_2_id = td_demo_menus::add_link(array(
    'title' => 'Contact',
    'add_to_menu_id' => $menu_td_demo_custom_menu_id,
    'url' => '#',
    'parent_id' => ''
));



/*  ----------------------------------------------------------------------------
	MENUS ITEMS Header
*/
$menu_item_0_id = td_demo_menus::add_page(array(
    'title' => 'Home',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'page_id' => $page_home_id,
    'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_mega_menu(array(
    'title' => 'Gear',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_gear_id,
    'parent_id' => ''
), true);

$menu_item_2_id = td_demo_menus::add_mega_menu(array(
    'title' => 'Smart Home',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_smart_home_id,
    'parent_id' => ''
), true);

$menu_item_3_id = td_demo_menus::add_mega_menu(array(
    'title' => 'Gaming',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_gaming_id,
    'parent_id' => ''
), true);

$menu_item_4_id = td_demo_menus::add_mega_menu(array(
    'title' => 'Social Networks',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_social_networks_id,
    'parent_id' => ''
), true);

$menu_item_5_id = td_demo_menus::add_link(array(
    'title' => 'More',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'url' => '#',
    'parent_id' => ''
));

$menu_item_6_id = td_demo_menus::add_category(array(
    'title' => 'Computing',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_computing_id,
    'parent_id' => $menu_item_5_id
));

$menu_item_7_id = td_demo_menus::add_category(array(
    'title' => 'Internet',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_internet_id,
    'parent_id' => $menu_item_5_id
));

$menu_item_8_id = td_demo_menus::add_category(array(
    'title' => 'Security',
    'add_to_menu_id' => $menu_td_demo_header_menu_id,
    'category_id' => $cat_security_id,
    'parent_id' => $menu_item_5_id
));


/*  ---------------------------------------------------------------------------- 
	GENERAL SETTINGS
*/
td_demo_misc::update_background('', false);

td_demo_misc::update_background_mobile('tdx_pic_2');

td_demo_misc::update_background_login('tdx_pic_10');

td_demo_misc::update_background_header('');

td_demo_misc::update_background_footer('');

td_demo_misc::update_footer_text('');

td_demo_misc::update_logo(array('normal' => '','retina' => '','mobile' => '',));

td_demo_misc::update_footer_logo(array('normal' => '','retina' => '',));

td_demo_misc::add_social_buttons(array());

$generated_css = td_css_generator(); 
if ( function_exists('tdsp_css_generator') ) { 
	$generated_css .= tdsp_css_generator();
}
td_util::update_option( 'tds_user_compile_css', $generated_css );
