%PDF- %PDF-
Direktori : /home/emergentqj/antanimora/wp-content/plugins/td-composer/legacy/Newspaper/includes/demos/blog_lifestyle/ |
Current File : /home/emergentqj/antanimora/wp-content/plugins/td-composer/legacy/Newspaper/includes/demos/blog_lifestyle/td_import.php |
<?php /* --------------------------------------------------------------------------- top menu - MENUS MUST HAVE THE FOLLOWING NAMES: td-demo-top-menu td-demo-header-menu td-demo-footer-menu */ //main menu $td_demo_header_menu_id = td_demo_menus::create_menu('td-demo-header-menu', 'header-menu'); //menu background td_demo_misc::update_background_header(''); //main background > keep it empty to make sure that no bg img is set td_demo_misc::update_background(''); //mobile menu/search background td_demo_misc::update_background_mobile('td_pic_1'); //login background td_demo_misc::update_background_login(''); /* ---------------------------------------------------------------------------- logo */ td_demo_misc::update_logo(array( 'normal' => 'td_logo_header', )); /* ---------------------------------------------------------------------------- socials */ td_demo_misc::add_social_buttons(array( 'facebook' => '#', 'twitter' => '#', 'instagram' => '#', 'youtube' => '#' )); /* ---------------------------------------------------------------------------- ads */ td_demo_misc::clear_all_ads(); /* ---------------------------------------------------------------------------- sidebars */ //default sidebar td_demo_widgets::remove_widgets_from_sidebar('default'); //remove footer widgets > remove existing widgets from footer widgets areas td_demo_widgets::remove_widgets_from_sidebar('footer-1'); td_demo_widgets::remove_widgets_from_sidebar('footer-2'); td_demo_widgets::remove_widgets_from_sidebar('footer-3'); /* ---------------------------------------------------------------------------- Cloud Templates */ //cloud template - type category $td_cloud_cat_template_id = td_demo_content::add_cloud_template(array( 'title' => 'Category Cloud Template - Lifestyle Blog', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/cat_cloud_template.txt', 'template_type' => 'category', )); // set - the default (global) cloud category template td_demo_misc::update_global_category_template( 'tdb_template_' . $td_cloud_cat_template_id ); //cloud template - type single $td_cloud_post_template_id = td_demo_content::add_cloud_template(array( 'title' => 'Single Cloud Template - Lifestyle Blog', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_cloud_template.txt', 'template_type' => 'single', )); // set the default (site wide) post template td_util::update_option('td_default_site_post_template', 'tdb_template_' . $td_cloud_post_template_id); //cloud template - type author - global $td_cloud_global_author_template_id = td_demo_content::add_cloud_template(array( 'title' => 'Author Cloud Template - Lifestyle Blog', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/author_cloud_template.txt', 'template_type' => 'author', )); // set - the default (global) cloud author template td_demo_misc::update_global_author_template( 'tdb_template_' . $td_cloud_global_author_template_id ); //cloud template - type 404 - global $td_cloud_global_404_template_id = td_demo_content::add_cloud_template(array( 'title' => '404 Cloud Template - Lifestyle Blog', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/404_cloud_template.txt', 'template_type' => '404', )); // set - the default (global) cloud 404 template td_demo_misc::update_global_404_template( 'tdb_template_' . $td_cloud_global_404_template_id ); //cloud template - type search - global $td_cloud_global_search_template_id = td_demo_content::add_cloud_template(array( 'title' => 'Search Cloud Template - Lifestyle Blog', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/search_cloud_template.txt', 'template_type' => 'search', )); // set - the default (global) search template td_demo_misc::update_global_search_template( 'tdb_template_' . $td_cloud_global_search_template_id ); /* --------------------------------------------------------------------------- categories */ $demo_cat_1_id =td_demo_category::add_category(array( 'category_name' => 'Lifestyle', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_2_id =td_demo_category::add_category(array( 'category_name' => 'Fashion', 'parent_id' => $demo_cat_1_id, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_3_id =td_demo_category::add_category(array( 'category_name' => 'Fitness', 'parent_id' => $demo_cat_1_id, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_4_id =td_demo_category::add_category(array( 'category_name' => 'Fragrances', 'parent_id' => $demo_cat_1_id, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_5_id =td_demo_category::add_category(array( 'category_name' => 'Style', 'parent_id' => $demo_cat_1_id, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_6_id =td_demo_category::add_category(array( 'category_name' => 'Wellness', 'parent_id' => $demo_cat_1_id, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_7_id =td_demo_category::add_category(array( 'category_name' => 'Outfits', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_8_id =td_demo_category::add_category(array( 'category_name' => 'Hair Care', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_9_id =td_demo_category::add_category(array( 'category_name' => 'Make Up', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_10_id =td_demo_category::add_category(array( 'category_name' => 'Beauty', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar )); $demo_cat_11_id =td_demo_category::add_category(array( 'category_name' => 'Top Tips', 'parent_id' => 0, 'category_template' => '', 'top_posts_style' => '', 'description' => '', 'background_td_pic_id' => '', 'boxed_layout' => 'hide', //leave empty for boxed layout, write "hide" for full layout 'sidebar_id' => '', 'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID 'tdc_sidebar_pos' => 'no_sidebar', //sidebar_left, sidebar_right, no_sidebar )); /* ---------------------------------------------------------------------------- pages */ //homepage $td_homepage_id = td_demo_content::add_page(array( 'title' => 'Home', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/homepage.txt', 'template' => 'default', // the page template full file name with .php, for default no extension needed 'td_layout' => '', 'homepage' => true )); //footer page $td_footerpage_id = td_demo_content::add_page(array( 'title' => 'Footer', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/footer.txt', 'template' => 'default', // the page template full file name with .php, for default no extension needed 'td_layout' => '', 'sidebar_position' => 'no_sidebar', 'homepage' => false )); td_util::update_option( 'tds_footer_page', $td_footerpage_id); /* ---------------------------------------------------------------------------- menu */ //add the homepage to the menu td_demo_menus::add_page(array( 'title' => 'Home', 'add_to_menu_id' => $td_demo_header_menu_id, 'page_id' => $td_homepage_id, 'parent_id' => '' )); // mega menu multiple subcateg td_demo_menus::add_mega_menu(array( 'title' => 'Lifestyle', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_1_id )); // mega menu one subcateg td_demo_menus::add_mega_menu(array( 'title' => 'Outfits', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_7_id )); td_demo_menus::add_mega_menu(array( 'title' => 'Hair Care', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_8_id )); td_demo_menus::add_mega_menu(array( 'title' => 'Make Up', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_9_id )); td_demo_menus::add_mega_menu(array( 'title' => 'Beauty', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_10_id )); td_demo_menus::add_mega_menu(array( 'title' => 'Top Tips', 'add_to_menu_id' => $td_demo_header_menu_id, 'category_id' => $demo_cat_11_id )); /* --------------------------------------------------------------------------- posts */ // posts in featured category /* ------------------------------------------------------------------ */ // posts in multiple categories td_demo_content::add_post(array( 'title' => 'Now Is the Time to Think About Your Small-Business Success', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_1' )); td_demo_content::add_post(array( 'title' => 'How Nancy Reagan Gave Glamour and Class to the White House', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_2' )); td_demo_content::add_post(array( 'title' => 'Things to Look For in a Financial Trading Platform Environment', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_3' )); td_demo_content::add_post(array( 'title' => 'Sanders Gets Respectful Welcome at Conservative College', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_4' )); td_demo_content::add_post(array( 'title' => 'Burberry is the First Brand to get an Apple Music Channel Outfit Lines', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_5' )); td_demo_content::add_post(array( 'title' => 'The Most Popular Celebrity Baby Names List of the Millennium is Here', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_6' )); td_demo_content::add_post(array( 'title' => 'Blake Shelton Goes Up Against Christina Aguilera', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_7' )); td_demo_content::add_post(array( 'title' => 'The 25 Best Cities You Can Find in Italy to Satisfy the Love for Pizza', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_8' )); td_demo_content::add_post(array( 'title' => 'Discover the Newest Waterproof and Rugged Smartwatches that Come on Sale', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_9' )); td_demo_content::add_post(array( 'title' => 'Entertainment Buzz: Taylor Swift gets an Emmy Award on Her 25 Year Old Birthday', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_10' )); td_demo_content::add_post(array( 'title' => 'Trinity Audio Delta Review: Fighting the Hybrid Fight is Harder than Ever', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_11' )); td_demo_content::add_post(array( 'title' => 'Trinity Audio Delta Review: Fighting the Hybrid Fight is Harder than Ever', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_12' )); td_demo_content::add_post(array( 'title' => 'Silicon Valley Stunned by the Fulminant Slashed Investments', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_1' )); td_demo_content::add_post(array( 'title' => 'Cover Girl Announces Star Wars Makeup Line is Due for Next December', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id,$demo_cat_3_id,$demo_cat_4_id,$demo_cat_5_id,$demo_cat_6_id,$demo_cat_7_id,$demo_cat_8_id,$demo_cat_9_id,$demo_cat_10_id,$demo_cat_11_id), 'featured_image_td_id' => 'td_pic_2' )); /* ------------------------------------------------------------------ */ // posts in one category /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Artist Creates Haunting Ode To Black Women Who Have Gone Missing', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_5' )); td_demo_content::add_post(array( 'title' => 'Please Stop Asking this Woman to Record Your Voice Messages', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_6' )); td_demo_content::add_post(array( 'title' => 'At-home Massage Service for Women of Color is Changing The Game', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_7' )); td_demo_content::add_post(array( 'title' => 'King Daughter Says Her Mother’s Papers Should Be Published', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_8' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'The Car Insurance Catch that can Double Your Cover in Two Months', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_11' )); td_demo_content::add_post(array( 'title' => 'The Weirdest Places Ashes Have Been Scattered in New Zeeland', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_12' )); td_demo_content::add_post(array( 'title' => 'The Next Wave of Superheroes Has Arrived with Astonishing Speed', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_10' )); td_demo_content::add_post(array( 'title' => 'Watch Awesome Kate Middleton Go Full Skiing Pro in Austria', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_1' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Scream is Now the Second Biggest Name in Drone Filming Equipment', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_2' )); td_demo_content::add_post(array( 'title' => 'New Movies and TV Shows Will Stream on Netflix, Amazon and Hulu this Fall', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_3' )); td_demo_content::add_post(array( 'title' => 'How Pixar Brings it’s Animated Movies to Life with Disney’s New Film', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_4' )); td_demo_content::add_post(array( 'title' => 'For Composer Derrick Spiva, Music is all About Embracing Life', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_5' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Take a Stroll Through All the Advantages of Permanent Eyebrows Tattoos', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_6' )); td_demo_content::add_post(array( 'title' => '10 Cool Startups that Will Change Your Perspective on Clothes & Fashion', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_7' )); td_demo_content::add_post(array( 'title' => '10 Outfits Inspired by Famous Works of Art are Auctioned in London', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_8' )); td_demo_content::add_post(array( 'title' => 'The Make-up Conference in New York this Winter Unveils Hot Innovations', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_9' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Kristen Stewart Visits the Toronto Film Festival with New Boyfriend', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_10' )); td_demo_content::add_post(array( 'title' => 'Celebrity Make-up Artist Gary Meyers Shows you His Beauty Tricks', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1' )); td_demo_content::add_post(array( 'title' => 'Ben Affleck and Jennifer Garner Visit the Famous Ranches of California', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_2' )); td_demo_content::add_post(array( 'title' => 'E!’s Fashion Finder: Biggest Shows, Parties and Celebrity for New Years', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_3' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Applauds for NYC Mayor’s Pledge To Close Rikers Island Prison', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_4' )); td_demo_content::add_post(array( 'title' => 'Community Celebrates Black Woman after Successful Transplant', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_5' )); td_demo_content::add_post(array( 'title' => 'Lawmakers to Host Meeting in Town Hall on Missing Black Girls', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_6' )); td_demo_content::add_post(array( 'title' => 'Trump Eases Emigration Rules Intended to Help Civilians in the US', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_7' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'The Definitive Guide To Marketing Your Business On Instagram', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_8' )); td_demo_content::add_post(array( 'title' => 'Olimpic Athlete Reads Donald Trump’s Mean Tweets on Kimmel', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_9' )); td_demo_content::add_post(array( 'title' => 'Kansas City Has a Massive Array of Big National Companies', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_10' )); td_demo_content::add_post(array( 'title' => 'Program Will Lend $10M to Detroit Minority Businesses', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_11' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'The Politics Behind Marocco’s Stock Market Turbulence Last Year', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_12' )); td_demo_content::add_post(array( 'title' => 'Expanding Peacefull Political Climate Gears up for 2019’s Election', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_3' )); td_demo_content::add_post(array( 'title' => 'Things You Didn’t Know About the American Past Presidents', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_4' )); td_demo_content::add_post(array( 'title' => 'India’s Presidential Candidates Presented in Just a Few Minutes', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_5' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Customer Engagement Marketing: A New Strategy for the Economy', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_6' )); td_demo_content::add_post(array( 'title' => 'Social Media Marketing for Franchises is Meant for Women', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_7' )); td_demo_content::add_post(array( 'title' => 'Entrepreneurial Advertising: The Future Of Marketing', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_8' )); td_demo_content::add_post(array( 'title' => 'Mobile Marketing is Said to Be the Future of E-Commerce', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_9' )); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array( 'title' => 'Dell Will Invest $125 Billion in China’s Tech in the Next 5 Years', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_10' )); td_demo_content::add_post(array( 'title' => 'Boxtrade Lands $50 Million in Another New Funding Round with IBM', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_11' )); td_demo_content::add_post(array( 'title' => 'A Look at How Social Media & Mobile Gaming Can Increase Sales', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_12' )); td_demo_content::add_post(array( 'title' => 'The Secret to Your Company’s Financial Health is Very Important', 'file' => TDC_PATH_LEGACY . '/includes/demos/blog_lifestyle/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_1' ));