td_demo_content::add_post(array('title' => "Long Weekend in Barcelona", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => "6 Hotel Deals for Martin Luther King", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_7')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Romantic Getaway: Long Weekend in Montréal", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => "The river wild: Whitewater rafting rivers for the adventurous", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => "Where to Find Affordable Lodging in New York City", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => '10 Things NOT to Do at Walt Disney World', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_1')); td_demo_content::add_post(array('title' => "Ultimate Guide to European Rail Passes", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_2')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Where Can I Learn Spanish in Madrid?", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_3')); td_demo_content::add_post(array('title' => "Hotel Debuts in Costa Rica: Andaz Peninsula Papagayo", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => 'Luxury Hotel Debuts in French Alps', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => "Top 10 Things to Do in Napa Valley (Besides Drink Wine)", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => "5 Unique Ways to See the Grand Canyon", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_7')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Beginner's Guide to Hawaii: Kauai", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => "10 Things You Should Know Before You Go to Tibet", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => "Ultimate Guide to Vienna's Coffee Renaissance", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "How to Choose the Right Cruise for You", 'file' => td_global::$get_template_directory . '/includes/demos/travel/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' => "The 5 New Watch Trends To Try Now", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Are You Already Wearing the Hottest Brands in Your City?', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "7 Reasons Cruising Is a Great Way to See the World", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Choose Your Own Adventure: Machu Picchu", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => 'Could Shanghai Disneyland Be Cooler Than Walt Disney', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_5')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Are You Already Wearing the Hottest Brands in Your City?', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "7 Reasons Cruising Is a Great Way to See the World", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Choose Your Own Adventure: Machu Picchu", 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => 'Could Shanghai Disneyland Be Cooler Than Walt Disney', 'file' => td_global::$get_template_directory . '/includes/demos/travel/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_4'));
//------------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Holyrood Concours of Elegance', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => '400-hp BMW Diesel Just Around the Corner', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Land Rover Recreates 1948 Production Line', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'The Lexus Hoverboard is Here and it’s Real', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Volkswagen e-Golf SEL Premium', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => '605 HP Audi R8 Plus Dials the Power', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_4')); td_demo_content::add_post(array('title' => 'Tesla’s Prototype Model S Charger is a Freaky Robot', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => 'VW’s New Turbo 1.4', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => 'The Bloodhound Supersonic Car', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_7')); //------------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Cadillac CT6: You Can’t Call It Fat', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => 'Buick Enclave Tuscan Edition', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => '2015 Lexus GX460 Luxury', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => '2016 Hyundai Sonata Hybrid', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_1')); td_demo_content::add_post(array('title' => 'Roush Stage 3 Mustang', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_2')); //------------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => '2016 Lincoln MKX', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Land Rover Discovery Sport: Simply Unstoppable!', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Tesla Model S Convertible', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => '2017 Mercedes-AMG C63 Coupe Revealed', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => 'Bond’s New Aston Points to the DB’s Future', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_7')); //------------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Lamborghini Huracan LP610-4', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Dodge Unveils 2015 Charger Pursuit', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => '2016 Mercedes CLS Coupe', 'file' => td_global::$get_template_directory . '/includes/demos/cars/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' => 'Lincoln Continental Concept Headed for Production', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_1')); td_demo_content::add_post(array('title' => '2016 Camaro Starts at $26.695', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => 'Ford GT Spotted on Detroit Highway', 'file' => td_global::$get_template_directory . '/includes/demos/cars/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_3'));
td_demo_content::add_post(array('title' => "Best Funny Wins & Fails Compilation February 2015", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_14')); td_demo_content::add_post(array('title' => 'Funny Videos Accident Compilation 2014 HQ – Funny Sport Fails', 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Best Sports Bloopers 2015 Funny Sport Fails Compilation", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Epic Fail 93 – Extreme Sport Compilation HD", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_10')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Winners and Losers from MLS Matches Sep 5-7", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "Rooney backs Sterling to be England Overmars", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => "Former Wimbledon champion Goran Ivanisevic always believed in US Open", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Cincinnati Masters: Federer downs Murray to set up Raonic SF challenge", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "Williams Collects 3rd Straight US Open Title, \$4 Million", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Marin Cilic victory means US Open will host first Grand Slam final', 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "Rafael Nadal shows off sleeveless top he would have worn at US", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Lake effect: Bubble players fight for ticket to East Lake", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'FedEx update: Horschel No. 2; Hoffmann, Palmer advance', 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Horse racing tips: Monday 8 September", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14')); td_demo_content::add_post(array('title' => 'Scoop 6 pool expected to swell beyond £3m after 10 winners', 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "Tropics victory would be emotional for Dean Ivory", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Ask a Mechanic: Tuning a Campy rear derailleur", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Sport picture of the day: the flying horse', 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Ask a Mechanic: Tuning a Campy rear derailleur", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => 'Rory Mcilroy just 4-putted for the second time in two days', 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => "Eurobike Gallery: Canyon’s full-suspension road bike", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "Hole 26 at Shepard Hollow in Southeast Michigan", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Rumour Mill: Gordon Strachan | David Beckham", 'file' => td_global::$get_template_directory . '/includes/demos/sport/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_11', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Scotland and Germany play during Euro 16 qualifier", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "George Boateng: Keeping Ron Vlaar was Paul Lambert masterstroke", 'file' => td_global::$get_template_directory . '/includes/demos/sport/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' => "What Nude Underwear Should Really Look Like", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "Golden Globes: Fashion Verdict On The 10 Bold Dressed", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => "Golden Globes: Fashion Verdict On The 10 Bold Dressed", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "Everyone Saved the Best Accessories For Last at MFW", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "The 5 New Watch Trends To Try Now", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Are You Already Wearing the Hottest Brands in Your City?', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "Cheryl Steals Kate Middleton’s Beauty Icon Status", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Your Hottest Spring Accessory & Personality", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => 'The True Story About How Fashion Trends Are Born', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); td_demo_content::add_post(array('title' => "Cheryl Steals Kate Middleton’s Beauty Icon Status", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_13')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "The Perfect Shoes and Bags to Pair With Spring Looks", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14')); td_demo_content::add_post(array('title' => "The Perfect Shoes and Bags to Pair With Spring Looks", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => 'Top Stylists Share Their Secrets For RED CARPET', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "Your Hottest Spring Accessory & Personality", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Cheryl Steals Kate Middleton’s Beauty Icon Status", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "What Nude Underwear Should Really Look Like", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => 'Vintage Fashion: 3 Modern Ways To Shop The Decades', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "The 5 New Watch Trends To Try Now", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => 'Top Stylists Share Their Secrets For RED CARPET', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => "Cheryl Steals Kate Middleton’s Beauty Icon Status", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "History of Victoria’s Secret’s Sexiest Angels", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "We Found the Sexiest Lingerie on the Internet", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "Everyone Saved the Best Accessories For Last at MFW", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Everyone Saved the Best Accessories For Last at MFW", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "History of Victoria’s Secret’s Sexiest Angels", 'file' => td_global::$get_template_directory . '/includes/demos/fashion/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' => "StreetScore scores a street view based on how safe it looks to a human", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => "Mathematica 10 released on Raspberry Pi", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "50 Tips and Insights About Productivity, Happiness, and Life", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Show HN: Full Stack Entrepreneur – A Full Stack Guide To Entrepreneurship", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => "Kim Kardashian Shows Off Deep Cleavage In Plunging Top & Mini", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Why you should choose Microsoft over Linux', 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "Going Beyond Amazon: A New Model for Authors, Retailers, and Publishers", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Wind and solar power are even more expensive than is commonly thought", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'Building an API in 60 seconds, without any server setup', 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); td_demo_content::add_post(array('title' => "FCC chair accuses Verizon of throttling unlimited data to boost profits", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_13')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "UK to allow driverless cars on public roads in January", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Let’s Build a Traditional City and Make a Profit", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => 'Building a Gimbal in Rust: An Introduction', 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => "How Internet Providers Get Around War Zones", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Audio Tour App Detour Steers You Away from the Typical Tourist Traps", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Announcing a specification for PHP", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => 'Show HN: Appsites – Beautiful websites for mobile', 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "How to drive growth through customer support", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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 Ideal Length of Everything Online, Backed by Research', 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_8', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "The hand rail is going a little faster than the moving sidewalk.", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_9', 'template' => 'single_template_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Marriott Plays With Sensory-Rich Virtual Reality Getaways", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Android L Will Keep Your Secrets Safer", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => "Gadget Ogling: Amazon on Fire, Virtual Reality, True Nature and Energy Relief", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "My work only allows Internet Explorer, so I have to manually", 'file' => td_global::$get_template_directory . '/includes/demos/tech/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' => "Xbox One to launch in China this month after all", 'file' => td_global::$get_template_directory . '/includes/demos/tech/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_8'));
// ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Jupiter Rising – Adobe CC Manipulation", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "LEGO Marvel Super Heroes - Hot", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Top Popular Songs Dubstep 2014", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Final Fantasy 14 – Heavensward Opening Cinematic", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_7', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Dawn of Justice? – The Superhero Show – Batman v Superman", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'The Originals – Ashes to Ashes', 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Photoshop Concept Art Tutorials | Photo Manipulation", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Black Birds – Mix Tribute – Music Video", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'Supernatural – Dark Dynasty', 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Star Wars Rebels: Season 2 The Dark", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_13', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Nothing But Time – Adobe Photoshop CS6 Manipulation", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "There’s No Need to Worry About Star Wars Battlefront", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'The Walking Dead – Series', 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_3', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Bloodborne Walkthrough Gameplay – Character Creation", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Destiny: The Dark Below Animation ", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Kobe vs Messi: Legends on Board – Turkish Airlines", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_5', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'The Arrow - Get Ready', 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Aphrodite’s Tartarus – Manipulation", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_7', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'Nike Football: The Last Game ft. Ronaldo, Neymar Jr', 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_8', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Total War Battles: Kingdom Open Beta Trailer", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_9', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Dota 2 Great Game - Cheating Pros are Ruining", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Video Game Music Video – You’re Gonna Go Far, Kid", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_11', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "AXE Apollo – Sorry, Dario", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "Sapeurs - New Guinness Advert", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "The 100 - The new sci-fi series", 'file' => td_global::$get_template_directory . '/includes/demos/video/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video'));
/* td_demo_content::remove(); $td_homepage_id = td_demo_content::add_page(array( 'title' => 'Newseeeeeeeexxxx', 'file' => td_global::$get_template_directory . '/includes/demos/fashion/pages/homepage.txt', 'template' => 'page-pagebuilder-latest.php', // the page template full file name with .php 'homepage' => true, 'td_layout' => 5 )); die; */ if (isset($_GET['puiu_test']) and TD_DEPLOY_MODE == 'dev') { // clean the user settings //td_demo_media::remove(); td_demo_content::remove(); td_demo_category::remove(); td_demo_menus::remove(); td_demo_widgets::remove(); $td_demo_installer = new td_demo_installer(); // remove panel settings and recompile the css as empty foreach (td_global::$td_options as $option_id => $option_value) { td_global::$td_options[$option_id] = ''; } //typography settings td_global::$td_options['td_fonts'] = ''; //css font files (google) buffer td_global::$td_options['td_fonts_css_files'] = ''; //compile user css if any td_global::$td_options['tds_user_compile_css'] = td_css_generator(); update_option(TD_THEME_OPTIONS_NAME, td_global::$td_options);
td_demo_content::add_post(array('title' => "Going Beyond Amazon: A New Model for Authors, Retailers, and Publishers", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Wind and solar power are even more expensive than is commonly thought", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => 'Building an API in 60 seconds, without any server setup', 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); td_demo_content::add_post(array('title' => "FCC chair accuses Verizon of throttling unlimited data to boost profits", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_13')); td_demo_content::add_post(array('title' => "Bayside Ranch a perfect canvas for interior designer 2016", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_12_id), 'featured_image_td_id' => 'td_pic_15')); td_demo_content::add_post(array('title' => "Workout Routine for Big Forearms and a Crushing Grip", 'file' => td_global::$get_template_directory . '/includes/demos/default/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' => "UK to allow driverless cars on public roads in January", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Let’s Build a Traditional City and Make a Profit", 'file' => td_global::$get_template_directory . '/includes/demos/default/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' => 'Building a Gimbal in Rust: An Introduction', 'file' => td_global::$get_template_directory . '/includes/demos/default/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' => "How Internet Providers Get Around War Zones", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Audio Tour App Detour Steers You Away from the Typical Tourist Traps", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "How To Use Basic Design Principles To Decorate Your Home", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_12_id), 'featured_image_td_id' => 'td_pic_16')); td_demo_content::add_post(array('title' => "The dangers of eating too much restaurant food", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_15')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Announcing a specification for PHP", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => 'Show HN: Appsites – Beautiful websites for mobile', 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "How to drive growth through customer support", 'file' => td_global::$get_template_directory . '/includes/demos/default/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 Ideal Length of Everything Online, Backed by Research', 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_8', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "The hand rail is going a little faster than the moving sidewalk.", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_9', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "Creative decorating with houseplants, from floor to ceiling", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_12_id), 'featured_image_td_id' => 'td_pic_17')); td_demo_content::add_post(array('title' => "Melbourne calling: Three reasons why you should visit it", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_3')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Marriott Plays With Sensory-Rich Virtual Reality Getaways", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Android L Will Keep Your Secrets Safer", 'file' => td_global::$get_template_directory . '/includes/demos/default/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' => "Gadget Ogling: Amazon on Fire, Virtual Reality, True Nature and Energy Relief", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_2', 'template' => 'single_template_11', 'featured_video_url' => 'https://www.youtube.com/watch?v=o7JSltCqpCI', 'post_format' => 'video')); td_demo_content::add_post(array('title' => "My work only allows Internet Explorer, so I have to manually", 'file' => td_global::$get_template_directory . '/includes/demos/default/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' => "Xbox One to launch in China this month after all", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_8')); td_demo_content::add_post(array('title' => "SpringFest One Fashion Show at the University of Michigan", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_12_id), 'featured_image_td_id' => 'td_pic_18')); td_demo_content::add_post(array('title' => "Health star ratings Kellogg reveals the cereal", 'file' => td_global::$get_template_directory . '/includes/demos/default/pages/post_default.txt', 'categories_id_array' => array($demo_cat_11_id), 'featured_image_td_id' => 'td_pic_3'));
/* ------------------------------------------------------------------ */ td_demo_content::add_post(array('title' => 'Garden-Gorgeous Wedding Bouquets', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => '15 Ways to Use Red Roses in Your Wedding', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_10', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); td_demo_content::add_post(array('title' => 'Bouquets That Are Perfect for a Fun and Colorful Wedding', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_11')); td_demo_content::add_post(array('title' => 'Fresh Ideas for Your Wedding Flowers', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => 'Fabulous Flowers for Fall Weddings', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array('title' => 'Keep Your Wedding Rings Looking Perfect', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => '10 Cute Ideas for Your Ring Bearer', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_3', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); td_demo_content::add_post(array('title' => 'Find Your Dream Wedding Ring', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => 'These Gems are Truly Outrageous', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => '4 Apps for Finding Your Perfect Ring', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array('title' => 'The Wedding Jumpsuit is Here to Stay', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => '6 Reasons Why the Dress Doesn’t Fit', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_8', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); td_demo_content::add_post(array('title' => 'To Veil Or Not To Veil?', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => 'Simple & Elegant Wedding Dresses', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => 'Bridal Fashion and Fun at the Mansion', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_11', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array('title' => 'The Biggest Wedding Trends for 2015', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); td_demo_content::add_post(array('title' => '15 Fun Wedding Reception Ideas', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); td_demo_content::add_post(array('title' => 'Find Your Dream Wedding Venue', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => 'What to Consider Before Planning an Outdoor Wedding', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/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' => '15 Romantic Ideas for Your Wedding Reception', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_4', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); /* ------------------------------------------------------------------ */ td_demo_content::add_post(array('title' => 'Exciting Ideas for Your Ceremony Exit', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => '40 Ways to Decorate Your Ceremony Aisle', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_6', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6')); td_demo_content::add_post(array('title' => 'Beautiful Outdoor Wedding Ceremonies', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_7')); td_demo_content::add_post(array('title' => 'Our Guide to Writing Your Own Vows', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => '10 Very Pretty Ceremony Backdrops', 'file' => td_global::$get_template_directory . '/includes/demos/wedding/pages/post_smart.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_9', 'template' => 'single_template_5', 'smart_list' => 'td_smart_list_6'));
td_demo_content::add_post(array('title' => "The Seizure Stopper", 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "There's 1 Big Thing Fitness Trackers Haven't Mastered", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "The Workout That Burns More Calories Than Running", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "30 Exercises You Can Do Anywhere", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "8 Yoga Poses You Can Do in Your Desk Chair", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "Burn Calories at the Beach", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "Super Foods with a Twist", 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_10')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => '8 Ways to Stay Healthy This Winter', 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "The True Meaning of Paleo", 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "Detecting Parkinson’s Disease Early", 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_7')); td_demo_content::add_post(array('title' => 'These 10 Fitness Gadgets Will Take Your Workouts To The Next Level', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => '9 Things to Expect from Your Weight-Loss Journey', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "The Easy Stretch You Should Do for a Better Workout", 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Foam Rollers to Add to Your Home Gym", 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => 'Get Motivated: The Benefits of Outdoor Exercise', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); //------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => '10 Ways to Get More Fruits and Veggies in Your Diet', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_10_id), 'featured_image_td_id' => 'td_pic_7')); td_demo_content::add_post(array('title' => 'The Heart-Saving Hormone', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => 'This Service Could Change The Way We Buy Health Trackers', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => '9 Things You Need to Know About Muscle Soreness', 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => '5 Yoga Poses for Killer Abs', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_5')); //------------------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Off-Season Adventures', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_9_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => '6 Outdoor Workout Hazards', 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => 'Top 5 Snacks to Fuel Your Workout', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); td_demo_content::add_post(array('title' => 'Obesity Linked to 10 Cancers', 'file' => td_global::$get_template_directory . '/includes/demos/health/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => 'Should You Be Popping Probiotics?', 'file' => td_global::$get_template_directory . '/includes/demos/health/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' => "The Perfect Shoes and Bags to Pair With Spring Looks", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "Be Positive And Enjoy Every Ride", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_13')); td_demo_content::add_post(array('title' => 'Trends to Wear All Summer Long', 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_1')); td_demo_content::add_post(array('title' => "Spring Accessory With Personality", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_3_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Morning Essentials Tips", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_10')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "Weekend Mode – Relaxing", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "From Morning To Night", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_5')); td_demo_content::add_post(array('title' => "Golden Globes: Fashion Verdict On The 10 Bold Dressed", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "One Day In Venice", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "The 5 New Watch Trends To Try Now", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_4_id), 'featured_image_td_id' => 'td_pic_8')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Amsterdam City Guide', 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_9')); td_demo_content::add_post(array('title' => "This Year Adventure Calendar", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "Banana Pancakes Are Just Delicious", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_5_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => 'The True Story About How Fashion Trends Are Born', 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_12')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => "The Perfect Dinner", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_6_id), 'featured_image_td_id' => 'td_pic_14')); td_demo_content::add_post(array('title' => 'Good Morning Smoothie', 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "Your Hottest Spring Accessory & Personality", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_2')); td_demo_content::add_post(array('title' => "Style Tips to Look Instantly Slimmer", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_2_id), 'featured_image_td_id' => 'td_pic_4')); // ---------------------------------------------------------------------------- td_demo_content::add_post(array('title' => 'Shopping Is My Cardio', 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_6')); td_demo_content::add_post(array('title' => "High Five For Fitness", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "Summer Time Burn Out", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "Things You Should Pack When Travel", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_8_id), 'featured_image_td_id' => 'td_pic_10')); td_demo_content::add_post(array('title' => "The Things That Matter", 'file' => td_global::$get_template_directory . '/includes/demos/blog/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' => "I Enjoy Strawberry Deserts", 'file' => td_global::$get_template_directory . '/includes/demos/blog/pages/post_default.txt', 'categories_id_array' => array($demo_cat_7_id), 'featured_image_td_id' => 'td_pic_1'));
function ajax_stacks_controller() { if (!current_user_can('switch_themes')) { echo 'Permission denied!'; } // try to extend the time limit @set_time_limit(240); $td_demo_action = td_util::get_http_post_val('td_demo_action'); $td_demo_id = td_util::get_http_post_val('td_demo_id'); /* ---------------------------------------------------------------------------- Uninstall button - do uninstall with content */ if ($td_demo_action == 'uninstall_demo') { // remove our content td_demo_media::remove(); td_demo_content::remove(); td_demo_category::remove(); td_demo_menus::remove(); td_demo_widgets::remove(); // restore all settings to the state before a demo was loaded $td_demo_history = new td_demo_history(); $td_demo_history->restore_all(); // update our state - no stack installed td_demo_state::update_state('', ''); } else { if ($td_demo_action == 'remove_content_before_install_no_content') { // save the history - this class will save the history only when going from user settings -> stack $td_demo_history = new td_demo_history(); $td_demo_history->save_all(); // clean the user settings td_demo_media::remove(); td_demo_content::remove(); td_demo_category::remove(); td_demo_menus::remove(); td_demo_widgets::remove(); // remove panel settings and recompile the css as empty foreach (td_global::$td_options as $option_id => $option_value) { td_global::$td_options[$option_id] = ''; } //typography settings td_global::$td_options['td_fonts'] = ''; //css font files (google) buffer td_global::$td_options['td_fonts_css_files'] = ''; //compile user css if any td_global::$td_options['tds_user_compile_css'] = td_css_generator(); update_option(TD_THEME_OPTIONS_NAME, td_global::$td_options); } else { if ($td_demo_action == 'install_no_content_demo') { td_demo_state::update_state($td_demo_id, 'no_content'); // load panel settings - this will also recompile the css $this->import_panel_settings(td_global::$demo_list[$td_demo_id]['folder'] . 'td_panel_settings.txt', false); } else { if ($td_demo_action == 'remove_content_before_install') { // save the history - this class will save the history only when going from user settings -> stack $td_demo_history = new td_demo_history(); $td_demo_history->save_all(); // clean the user settings td_demo_media::remove(); td_demo_content::remove(); td_demo_category::remove(); td_demo_menus::remove(); td_demo_widgets::remove(); } else { if ($td_demo_action == 'td_media_1') { // change our state td_demo_state::update_state($td_demo_id, 'full'); // load panel settings $this->import_panel_settings(td_global::$demo_list[$td_demo_id]['folder'] . 'td_panel_settings.txt', true); // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_1.php'; } else { if ($td_demo_action == 'td_media_2') { // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_2.php'; } else { if ($td_demo_action == 'td_media_3') { // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_3.php'; } else { if ($td_demo_action == 'td_media_4') { // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_4.php'; } else { if ($td_demo_action == 'td_media_5') { // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_5.php'; } else { if ($td_demo_action == 'td_media_6') { // load the media import script require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_6.php'; } else { if ($td_demo_action == 'td_import') { require_once td_global::$demo_list[$td_demo_id]['folder'] . 'td_import.php'; } } } } } } } } } } } }