<?php 

/*  ---------------------------------------------------------------------------- 
	CATEGORIES
*/
$cat_baby_id = td_demo_category::add_category(array(
	'category_name' => 'کودک',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_10',
	'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_birth_id = td_demo_category::add_category(array(
	'category_name' => 'تولد',
	'parent_id' => $cat_baby_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_9',
	'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_family_id = td_demo_category::add_category(array(
	'category_name' => 'خانواده',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_8',
	'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' => 'ویژه',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_7',
	'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_fitness_id = td_demo_category::add_category(array(
	'category_name' => 'تناسب اندام',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_6',
	'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_food_id = td_demo_category::add_category(array(
	'category_name' => 'غذا',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_5',
	'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_learning_id = td_demo_category::add_category(array(
	'category_name' => 'یادگیری',
	'parent_id' => $cat_baby_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_4',
	'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_life_id = td_demo_category::add_category(array(
	'category_name' => 'زندگی',
	'parent_id' => $cat_baby_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_4',
	'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_moments_id = td_demo_category::add_category(array(
	'category_name' => 'لحظات',
	'parent_id' => $cat_baby_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_3',
	'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_pregnancy_id = td_demo_category::add_category(array(
	'category_name' => 'بارداری',
	'parent_id' => $cat_baby_id,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_2',
	'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_reviews_id = td_demo_category::add_category(array(
	'category_name' => 'نقد و بررسی',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_1',
	'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_work_id = td_demo_category::add_category(array(
	'category_name' => 'کار',
	'parent_id' => 0,
	'category_template' => '',
	'top_posts_style' => '',
	'description' => '',
	'background_td_pic_id' => 'td_pic_10',
	'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 
));


/*  ---------------------------------------------------------------------------- 
	ATTACHMMENTS
*/

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

$post_what_you_need_to_know_about_bleeding_id = td_demo_content::add_post(array(
    'title' => 'خرید هاست و دامنه مطمئن از میهن گیگ',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_1',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_a_guided_day_of_practicing_self_care_7_steps_id = td_demo_content::add_post(array(
    'title' => 'در زمان آلودگی هوا چه چیزهایی بخوریم؟',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_2',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_valentines_day_gift_guide_for_moms_with_littles_id = td_demo_content::add_post(array(
    'title' => 'اندروید 8 برای گوشی HTC U11 Life عرضه شد',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_3',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_our_favorite_mom_friendly_workout_clothes_id = td_demo_content::add_post(array(
    'title' => 'آیفون 10 به این زودی‌ها از رده خارج نمی‌شود',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_4',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_9_milestones_women_should_celebrate_yearly_id = td_demo_content::add_post(array(
    'title' => 'گوشی Nova 2S به‌زودی معرفی می‌شود',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_5',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_how_to_get_and_keep_your_home_organized_this_year_id = td_demo_content::add_post(array(
    'title' => 'بهترین گوشی‌های اندرویدی برای عکاسی',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_6',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_why_moms_need_to_practice_meditation_id = td_demo_content::add_post(array(
    'title' => 'نسخه نهایی مایکروسافت اج برای اندروید منتشر شد',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_7',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_self_care_for_moms_filling_your_cup_with_minimal_time_id = td_demo_content::add_post(array(
    'title' => 'محیط‌ زیستی به سبک گربه‌های اشرافی',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_8',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_10_products_on_amazon_every_dad_needs_id = td_demo_content::add_post(array(
    'title' => 'نگاهی به خودروهای جدید بورگوارد',
    'file' => 'post_default.txt',
    'featured_image_td_id' => 'td_pic_9',
    'categories_id_array' => array($cat_birth_id,$cat_family_id,$cat_fitness_id,$cat_food_id,$cat_learning_id,$cat_life_id,$cat_moments_id,$cat_pregnancy_id,$cat_reviews_id,$cat_work_id,),
));

$post_td_post_amazing_girls_room_handmade_decor_id = td_demo_content::add_post(array(
	'title' => 'چرا گوشی ریزر جک هدفون ندارد؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_reviews_id,),
));

$post_td_post_the_best_baby_bottle_you_need_to_try_id = td_demo_content::add_post(array(
	'title' => 'با ویژگی جدید اینستاگرام آشنا شوید',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_reviews_id,),
));

$post_td_post_the_bag_baby_carrier_that_makes_sense_id = td_demo_content::add_post(array(
	'title' => 'نگاهی به فولکس تیگوان',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_reviews_id,),
));

$post_td_post_baby_cream_review_finale_thats_a_wrap_id = td_demo_content::add_post(array(
	'title' => 'اپل 15 میلیون آیفون 10 فروخته است',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_reviews_id,),
));

$post_td_post_top_12_baby_onesies_how_we_used_them_id = td_demo_content::add_post(array(
	'title' => 'آنر V10 رسما معرفی شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_reviews_id,),
));

$post_td_post_5_pro_advices_for_modern_working_moms_id = td_demo_content::add_post(array(
	'title' => 'هوش مصنوعی گوگل مچ مزاحم‌ها را می‌گیرد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_work_id,),
));

$post_td_post_prepare_for_the_return_to_third_shift_id = td_demo_content::add_post(array(
	'title' => 'ممکن است معده‌ی کسی از پرخوری بترکد؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_work_id,),
));

$post_td_post_discover_these_super_jobs_for_single_moms_id = td_demo_content::add_post(array(
	'title' => 'باکس‌آفیس در تصاحب پیکسار',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_work_id,),
));

$post_td_post_returning_to_work_right_after_pregnancy_id = td_demo_content::add_post(array(
	'title' => 'هواوی گوشی میت 10 را در ایران رونمایی کرد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_work_id,),
));

$post_td_post_the_diaries_of_a_working_mom_of_three_id = td_demo_content::add_post(array(
	'title' => 'نگاهی به فولکس پاسات',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_work_id,),
));

$post_td_post_under_2_years_working_out_with_your_baby_id = td_demo_content::add_post(array(
	'title' => 'HTC U11 به اندروید 8.0 بروزرسانی شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_fitness_id,),
));

$post_td_post_the_perfect_recipe_for_a_great_workout_id = td_demo_content::add_post(array(
	'title' => 'اپل گوشی یا تبلت با نمایشگر تاشو می‌سازد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_fitness_id,),
));

$post_td_post_healthy_lifestyle_to_adopt_after_birth_id = td_demo_content::add_post(array(
	'title' => 'گوگل اپلیکیشن‌هایش را برای آیفون 10 به‌روز کرد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_fitness_id,),
));

$post_td_post_10_things_to_know_about_baby_walking_id = td_demo_content::add_post(array(
	'title' => '5+1 تصمیم برتر در بازی‌های ویدیویی',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_fitness_id,),
));

$post_td_post_exercises_recommended_for_pregnant_women_id = td_demo_content::add_post(array(
	'title' => 'گوشی اوپو A79 معرفی شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_fitness_id,),
));

$post_td_post_vitamin_tips_super_meals_for_your_baby_id = td_demo_content::add_post(array(
	'title' => 'فایرفاکس کوانتوم یا گوگل کروم؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_cooking_with_your_toddler_in_the_kitchen_id = td_demo_content::add_post(array(
	'title' => 'چه چیز جایگزین گوشی هوشمند خواهد شد؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_5_steps_to_developing_healthier_food_habits_id = td_demo_content::add_post(array(
	'title' => 'آیا مایکروسافت به سمت اندروید می‌رود؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_meat_rich_baby_food_for_optimal_growth_id = td_demo_content::add_post(array(
	'title' => 'تبلت Surface Pro 3 ارزان می‌شود',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_nutritious_and_friendly_meals_for_kids_id = td_demo_content::add_post(array(
	'title' => 'با تبلت جدید هوآوی آشنا شوید',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_food_id,),
));

$post_td_post_sharing_the_news_about_your_new_baby_id = td_demo_content::add_post(array(
	'title' => 'پدیده‌ای به نام «اسکرین‌شات»',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_family_id,),
));

$post_td_post_life_the_first_weeks_of_pregnancy_id = td_demo_content::add_post(array(
	'title' => 'نکسوس بعدی بر اساس LG G4 نخواهد بود',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_family_id,),
));

$post_td_post_family_goals_just_the_three_of_us_id = td_demo_content::add_post(array(
	'title' => 'مایکروسافت درحال خرید AMD',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_family_id,),
));

$post_td_post_what_makes_for_the_perfect_holiday_id = td_demo_content::add_post(array(
	'title' => 'عبور تاریخی از نقطه‌ی بی‌بازگشت',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_family_id,),
));

$post_td_post_the_story_on_how_i_met_your_father_id = td_demo_content::add_post(array(
	'title' => 'چرا آدرس‌های اینترنتی به زبان انگلیسی هستند؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_family_id,),
));

$post_td_post_for_your_child_perfect_room_for_learning_id = td_demo_content::add_post(array(
	'title' => 'بازی مافیا 3 در راه است',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_learning_id,),
));

$post_td_post_parenting_tips_is_reading_a_must_at_five_id = td_demo_content::add_post(array(
	'title' => 'دوازده ترفند عمومی اندروید',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_learning_id,),
));

$post_td_post_girls_first_words_come_2_months_earlier_id = td_demo_content::add_post(array(
	'title' => 'تعقیب کوسه‌ها با GPS',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_learning_id,),
));

$post_td_post_eating_routine_for_all_kids_under_6_years_id = td_demo_content::add_post(array(
	'title' => 'جزییات سخت‌افزاری گلکسی A8 منتشر شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_learning_id,),
));

$post_td_post_picking_up_a_sport_at_only_3_years_old_id = td_demo_content::add_post(array(
	'title' => 'فبلت‌ها آمده‌اند که بمانند!',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_learning_id,),
));

$post_td_post_prepare_the_first_baby_pet_encounter_id = td_demo_content::add_post(array(
	'title' => 'مشخصات LG G Pro 3 لو رفت؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_moments_id,),
));

$post_td_post_when_to_get_your_baby_out_of_the_nursery_id = td_demo_content::add_post(array(
	'title' => 'کدام بازی مبارزه‌ای محبوب‌تر است؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_moments_id,),
));

$post_td_post_prepare_for_babys_first_scooter_ride_id = td_demo_content::add_post(array(
	'title' => 'وقتی پوست روی بدن پرینت میشود',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_moments_id,),
));

$post_td_post_newborns_what_to_do_when_darkness_falls_id = td_demo_content::add_post(array(
	'title' => 'سونی بخش موبایل‌اش را نمی‌فروشد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_moments_id,),
));

$post_td_post_the_anticipated_gender_reveal_moment_id = td_demo_content::add_post(array(
	'title' => 'مشخصات گوشی گلکسی J2 لو رفت',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_moments_id,),
));

$post_td_post_mother_issues_baby_feeding_struggles_id = td_demo_content::add_post(array(
	'title' => 'Redmi Note 2 سنسور اثر انگشت دارد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_life_id,),
));

$post_td_post_five_important_baby_proofing_advice_id = td_demo_content::add_post(array(
	'title' => 'عرضه‌ی تبلت نوکیا N1 در اندونزی',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_life_id,),
));

$post_td_post_does_your_child_need_extra_attention_id = td_demo_content::add_post(array(
	'title' => 'اطلاعات سخت‌افزاری G4 S منتشر شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_life_id,),
));

$post_td_post_best_toys_that_develop_intelligence_id = td_demo_content::add_post(array(
	'title' => 'کادیلاک بدون راننده، تا دو سال آینده',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_life_id,),
));

$post_td_post_to_dos_before_your_baby_turns_three_id = td_demo_content::add_post(array(
	'title' => 'ایسوس و اسمارت‌فون جدیدش',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_life_id,),
));

$post_td_post_its_a_miracle_little_human_is_born_id = td_demo_content::add_post(array(
	'title' => 'سامسونگ SSD دو ترابایتی روانه بازار کرد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_1',
	'categories_id_array' => array($cat_birth_id,),
));

$post_td_post_do_babies_look_like_their_parents_id = td_demo_content::add_post(array(
	'title' => 'آیا نوت 5 ماه آینده عرضه می‌شود؟',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_2',
	'categories_id_array' => array($cat_birth_id,),
));

$post_td_post_10_most_important_newborn_must_haves_id = td_demo_content::add_post(array(
	'title' => 'بلک‌بری دو دامین اندرویدی ثبت کرد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_3',
	'categories_id_array' => array($cat_birth_id,),
));

$post_td_post_biggest_hospital_husband_worries_id = td_demo_content::add_post(array(
	'title' => 'تصاویر جدیدی از گلکسی A8 لو رفت',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_4',
	'categories_id_array' => array($cat_birth_id,),
));

$post_td_post_waiting_patiently_for_the_birth_day_id = td_demo_content::add_post(array(
	'title' => 'سیستم مورد نیاز بازی FIFA 16 اعلام شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_5',
	'categories_id_array' => array($cat_birth_id,),
));

$post_td_post_remember_to_stay_healthy_active_id = td_demo_content::add_post(array(
	'title' => 'گوشی XOLO Black با دو دوربین معرفی شد',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_6',
	'categories_id_array' => array($cat_pregnancy_id,),
));

$post_td_post_monthly_pregnancy_sleep_training_id = td_demo_content::add_post(array(
	'title' => 'جدیدترین تصاویر از گوشی موتوجی لو رفت',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_7',
	'categories_id_array' => array($cat_pregnancy_id,),
));

$post_td_post_you_have_to_holiday_when_pregnant_id = td_demo_content::add_post(array(
	'title' => 'اطلاعات جدید از گوشی گلکسی S7',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_8',
	'categories_id_array' => array($cat_pregnancy_id,),
));

$post_td_post_maternity_super_adventure_stories_id = td_demo_content::add_post(array(
	'title' => 'کلید نامرئی در گوشی‌های بعدی سامسونگ',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_9',
	'categories_id_array' => array($cat_pregnancy_id,),
));

$post_td_post_father_tips_baby_boy_or_baby_girl_id = td_demo_content::add_post(array(
	'title' => 'محصولات جدید ایسر برای ویندوز 10',
	'file' => 'post_default.txt',
	'featured_image_td_id' => 'td_pic_10',
	'categories_id_array' => array($cat_pregnancy_id,),
));


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


/*  ----------------------------------------------------------------------------
	CLOUD TEMPLATES
*/
$template_header_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب هدر',
    'file' => 'header_cloud_template.txt',
    'template_type' => 'header',
));

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


$template_footer_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب فوتر',
    'file' => 'footer_cloud_template.txt',
    'template_type' => 'footer',
));

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


$template_date_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب تاریخ',
    'file' => 'date_cloud_template.txt',
    'template_type' => 'date',
));

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


$template_404_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب 404',
    'file' => '404_cloud_template.txt',
    'template_type' => '404',
));

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


$template_search_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب جستجو',
    'file' => 'search_cloud_template.txt',
    'template_type' => 'search',
));

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


$template_author_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب نویسنده',
    'file' => 'author_cloud_template.txt',
    'template_type' => 'author',
));

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


$template_category_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب دسته‌بندی',
    'file' => 'cat_cloud_template.txt',
    'template_type' => 'category',
));

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


$template_single_post_template_id = td_demo_content::add_cloud_template(array(
    'title' => 'قالب نوشته',
    'file' => 'post_cloud_template.txt',
    'template_type' => 'single',
));

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


/*  ----------------------------------------------------------------------------
	PAGES
*/
$page_home_id = td_demo_content::add_page(array(
    'title' => 'صفحه اصلی',
    'file' => 'home.txt',
    'homepage' => true,
));


/*  ---------------------------------------------------------------------------- 
	MENUS ITEMS CUSTOM MENU
*/
$menu_item_0_id = td_demo_menus::add_category(array(
	'title' => 'تناسب اندام',
	'add_to_menu_id' => $menu_td_demo_custom_menu_id,
	'category_id' => $cat_fitness_id,
	'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_category(array(
	'title' => 'غذا',
	'add_to_menu_id' => $menu_td_demo_custom_menu_id,
	'category_id' => $cat_food_id,
	'parent_id' => ''
));

$menu_item_2_id = td_demo_menus::add_category(array(
	'title' => 'کار',
	'add_to_menu_id' => $menu_td_demo_custom_menu_id,
	'category_id' => $cat_work_id,
	'parent_id' => ''
));

/*  ---------------------------------------------------------------------------- 
	MENUS ITEMS HEADER MENU
*/
$menu_item_0_id = td_demo_menus::add_mega_menu(array(
	'title' => 'کودک',
	'add_to_menu_id' => $menu_td_demo_header_menu_id,
	'category_id' => $cat_baby_id,
	'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_category(array(
	'title' => 'خانواده',
	'add_to_menu_id' => $menu_td_demo_header_menu_id,
	'category_id' => $cat_family_id,
	'parent_id' => ''
));

$menu_item_2_id = td_demo_menus::add_category(array(
	'title' => 'نقد و بررسی',
	'add_to_menu_id' => $menu_td_demo_header_menu_id,
	'category_id' => $cat_reviews_id,
	'parent_id' => ''
));

/*  ---------------------------------------------------------------------------- 
	MENUS ITEMS HEADER MENU EXTRA
*/
$menu_item_0_id = td_demo_menus::add_page(array(
	'title' => 'صفحه اصلی',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'page_id' => $page_home_id,
	'parent_id' => ''
));

$menu_item_1_id = td_demo_menus::add_category(array(
	'title' => 'کودک',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_baby_id,
	'parent_id' => ''
));

$menu_item_2_id = td_demo_menus::add_category(array(
	'title' => 'تولد',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_birth_id,
	'parent_id' => $menu_item_1_id
));

$menu_item_3_id = td_demo_menus::add_category(array(
	'title' => 'یادگیری',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_learning_id,
	'parent_id' => $menu_item_1_id
));

$menu_item_4_id = td_demo_menus::add_category(array(
	'title' => 'زندگی',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_life_id,
	'parent_id' => $menu_item_1_id
));

$menu_item_5_id = td_demo_menus::add_category(array(
	'title' => 'لحظات',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_moments_id,
	'parent_id' => $menu_item_1_id
));

$menu_item_6_id = td_demo_menus::add_category(array(
	'title' => 'بارداری',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_pregnancy_id,
	'parent_id' => $menu_item_1_id
));

$menu_item_7_id = td_demo_menus::add_category(array(
	'title' => 'خانواده',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_family_id,
	'parent_id' => ''
));

$menu_item_8_id = td_demo_menus::add_category(array(
	'title' => 'تناسب اندام',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_fitness_id,
	'parent_id' => ''
));

$menu_item_9_id = td_demo_menus::add_category(array(
	'title' => 'غذا',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_food_id,
	'parent_id' => ''
));

$menu_item_10_id = td_demo_menus::add_category(array(
	'title' => 'نقد و بررسی',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_reviews_id,
	'parent_id' => ''
));

$menu_item_11_id = td_demo_menus::add_category(array(
	'title' => 'کار',
	'add_to_menu_id' => $menu_td_demo_header_menu_extra_id,
	'category_id' => $cat_work_id,
	'parent_id' => ''
));




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

td_demo_misc::update_background_mobile('td_pic_5');

td_demo_misc::update_background_login('td_pic_6');

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);
