File: /www/wwwroot/fni.gov.mz/wp-content/themes/Newspaper/includes/demos/blog_health/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');
//top menu
$td_demo_top_menu = td_demo_menus::create_menu('td-demo-top-menu', 'top-menu');
td_demo_menus::add_link(array(
'title' => 'About',
'add_to_menu_id' => $td_demo_top_menu,
'url' => '#',
'parent_id' => ''
));
td_demo_menus::add_link(array(
'title' => 'Contact',
'add_to_menu_id' => $td_demo_top_menu,
'url' => '#',
'parent_id' => ''
));
//footer menu
$td_demo_footer_menu = td_demo_menus::create_menu('td-demo-footer-menu', 'footer-menu');
td_demo_menus::add_link(array(
'title' => 'About',
'add_to_menu_id' => $td_demo_footer_menu,
'url' => '#',
'parent_id' => ''
));
td_demo_menus::add_link(array(
'title' => 'Contact',
'add_to_menu_id' => $td_demo_footer_menu,
'url' => '#',
'parent_id' => ''
));
/* ----------------------------------------------------------------------------
background - leave empty if you want to make sure that there is NO background on the demo - td_demo_misc::update_background('');
*/
td_demo_misc::update_background('td_blog_health_bg', false);
// mobile background
td_demo_misc::update_background_mobile('td_pic_9');
// login background
td_demo_misc::update_background_login('td_pic_9');
// footer background
td_demo_misc::update_background_footer('');
/* ----------------------------------------------------------------------------
logo
*/
td_demo_misc::update_logo(array(
'normal' => 'td_logo_header',
'retina' => 'td_logo_header',
'mobile' => 'td_logo_mobile'
));
//footer
td_demo_misc::update_footer_logo(array(
'normal' => 'td_logo_footer',
'retina' => 'td_logo_footer'
));
/* ----------------------------------------------------------------------------
footer text
*/
td_demo_misc::update_footer_text('Newspaper is your news, entertainment, music & fashion website. We provide you with the latest news and videos straight from the entertainment industry.');
/* ----------------------------------------------------------------------------
socials
*/
td_demo_misc::add_social_buttons(array(
'facebook' => '#',
'twitter' => '#',
'instagram' => '#',
'vimeo' => '#',
'youtube' => '#'
));
/* ----------------------------------------------------------------------------
ads
*/
td_demo_misc::clear_all_ads();
td_demo_misc::add_ad_image('custom_ad_1', 'td_blog_health_post_ad');
td_demo_misc::add_ad_image('sidebar', 'td_blog_health_sidebar_ad');
/* ----------------------------------------------------------------------------
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');
td_demo_widgets::add_widget_to_sidebar('default', 'td_block_social_counter_widget',
array (
'custom_title' => "",
'facebook' => "tagdiv",
'twitter' => "tagdivofficial",
'instagram' => "tagDiv",
'youtube' => "tagDiv",
'style' => "style10 td-social-boxed td-social-colored"
)
);
td_demo_widgets::add_widget_to_sidebar('default', 'td_block_weather_widget',
array (
'custom_title' => 'Weather',
'w_location' => 'London',
'w_units' => '- Celsius -'
)
);
td_demo_widgets::add_widget_to_sidebar('default', 'td_block_ad_box_widget',
array (
'spot_title' => '- Advertisement -',
'spot_id' => 'sidebar'
)
);
td_demo_widgets::add_widget_to_sidebar('default', 'td_block_9_widget',
array (
'sort' => 'random_posts',
'custom_title' => 'Must Read',
'limit' => '5',
'header_color' => '',
'ajax_pagination' => "load_more"
)
);
/* ---------------------------------------------------------------------------
categories
*/
$demo_cat_1_id =td_demo_category::add_category(array(
'category_name' => 'Fitness',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Outdoors',
'parent_id' => $demo_cat_1_id,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Stretching',
'parent_id' => $demo_cat_1_id,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Training',
'parent_id' => $demo_cat_1_id,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Health',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Weight Loss',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'sidebar_id' => '',
'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID
'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar
'tdc_category_td_grid_style' => '2'
));
$demo_cat_7_id =td_demo_category::add_category(array(
'category_name' => 'Food',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'sidebar_id' => '',
'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID
'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar
'tdc_category_td_grid_style' => ''
));
$demo_cat_8_id =td_demo_category::add_category(array(
'category_name' => 'Gadgets',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Lifestyle',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'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' => 'Science',
'parent_id' => 0,
'category_template' => '',
'top_posts_style' => '',
'description' => '',
'background_td_pic_id' => '',
'sidebar_id' => '',
'tdc_layout' => '', //THE MODULE ID 1 2 3 NO NAME JUST ID
'tdc_sidebar_pos' => '', //sidebar_left, sidebar_right, no_sidebar
));
/* ----------------------------------------------------------------------------
pages
*/
//homepage
$td_homepage_id = td_demo_content::add_page(array(
'title' => 'Home',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/homepage.txt',
'template' => 'page-pagebuilder-latest.php', // the page template full file name with .php, for default no extension needed
'td_layout' => '17',
'homepage' => true,
'limit' => '5'
));
//about
$td_aboutpage_id = td_demo_content::add_page(array(
'title' => 'About',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/about.txt',
'template' => 'page-pagebuilder-title.php', // the page template full file name with .php, for default no extension needed
'td_layout' => '',
'homepage' => false
));
/* ----------------------------------------------------------------------------
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' => 'Fitness',
'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' => 'Health',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_5_id
));
td_demo_menus::add_mega_menu(array(
'title' => 'Weight Loss',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_6_id
));
td_demo_menus::add_mega_menu(array(
'title' => 'Food',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_7_id
));
// add a subcategory to the sub-menu
$parent_submenu_id = td_demo_menus::add_link(array(
'title' => 'More',
'add_to_menu_id' => $td_demo_header_menu_id,
'url' => '#',
'parent_id' => ''
));
td_demo_menus::add_category(array(
'title' => 'Gadgets',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_8_id,
'parent_id' => $parent_submenu_id
));
td_demo_menus::add_category(array(
'title' => 'Lifestyle',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_9_id,
'parent_id' => $parent_submenu_id
));
td_demo_menus::add_category(array(
'title' => 'Science',
'add_to_menu_id' => $td_demo_header_menu_id,
'category_id' => $demo_cat_10_id,
'parent_id' => $parent_submenu_id
));
td_demo_menus::add_page(array(
'title' => 'About',
'add_to_menu_id' => $td_demo_header_menu_id,
'page_id' => $td_aboutpage_id,
'parent_id' => ''
));
td_demo_menus::add_link(array(
'title' => 'Contact',
'add_to_menu_id' => $td_demo_header_menu_id,
'url' => '#',
'parent_id' => ''
));
/* ---------------------------------------------------------------------------
posts
*/
// posts in featured category
td_demo_content::add_post(array(
'title' => 'Lab Findings Will Take Your Workouts to the Next Level',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array(get_cat_ID(TD_FEATURED_CAT)),
'featured_image_td_id' => 'td_pic_1'
));
td_demo_content::add_post(array(
'title' => '10 Foods that Promote Weight Loss and Health',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array(get_cat_ID(TD_FEATURED_CAT)),
'featured_image_td_id' => 'td_pic_2'
));
td_demo_content::add_post(array(
'title' => 'Adventures that You Can Try with Your Family',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array(get_cat_ID(TD_FEATURED_CAT)),
'featured_image_td_id' => 'td_pic_3'
));
td_demo_content::add_post(array(
'title' => 'Discover How Yoga Benefits Your Proffessional Growth',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array(get_cat_ID(TD_FEATURED_CAT)),
'featured_image_td_id' => 'td_pic_4'
));
/* ------------------------------------------------------------------ */
// posts in multiple categories
td_demo_content::add_post(array(
'title' => 'This Service Could Change the Way We Buy Healthy Products',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_1'
));
td_demo_content::add_post(array(
'title' => 'Detecting Parkinson’s Disease Early',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_2'
));
td_demo_content::add_post(array(
'title' => 'Doctors Found America’s Fittest City',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_3'
));
td_demo_content::add_post(array(
'title' => 'Top 5 Snacks to Fuel Your Workout',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_4'
));
td_demo_content::add_post(array(
'title' => '10 Essential Rules of Good Health',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_5'
));
td_demo_content::add_post(array(
'title' => '10 Summer Sports That Torch Serious Calories',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_6'
));
td_demo_content::add_post(array(
'title' => 'Free Time: 10 Yoga Exercises You Can Try Everywhere',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'featured_image_td_id' => 'td_pic_7'
));
td_demo_content::add_post(array(
'title' => '30 Exercises You Can Do Anywhere',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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),
'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/blog_health/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),
'featured_image_td_id' => 'td_pic_9'
));
/* ------------------------------------------------------------------ */
// posts in one category
/* ------------------------------------------------------------------ */
td_demo_content::add_post(array(
'title' => 'The Heart-Saving Hormone',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array($demo_cat_10_id),
'featured_image_td_id' => 'td_pic_8'
));
td_demo_content::add_post(array(
'title' => 'Obesity Linked to Several Cancers',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array($demo_cat_10_id),
'featured_image_td_id' => 'td_pic_9'
));
td_demo_content::add_post(array(
'title' => 'Cats Are The Seizure Stoppers',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'New Genes Linked to Alzheimer’s',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Are You Feeling Older and Wiser?',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Excessive Excersise Could Do You Damage',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Should You Be Popping Pro-Biotics?',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Finally, We’re Just Like Dolly',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => 'Lab Findings Will Take Your Workouts to the Next Level',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Start Using These Wonderful Apps for Counting Calories',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => 'The Apple Watch Might Make Your Fitness Tracker Obsolete',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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 Device that Measures Your Sleep Hours',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '10 Ways to Get More Fruits and Veggies in Your Diet',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => '8 Foods that are Good for Strenght Training',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Foods Rich in Antioxidants for Healthy Aging',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '10 Foods that Promote Weight Loss and Health',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'The Workout That Burns More Calories Than Running',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'How Much Cardio do you Need to Burn Fat?',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'How Many Calories Does CrossFit Really Burn?',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => '8 Weight-Loss Mistakes Runners Make',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'How to Prevent Arthritis in 10 Different Ways',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => '6 Outdoor Jogging & Workout Hazards',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Adventures that You Can Try with Your Family',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Get Motivated: The Benefits of Outdoor Exercise',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'The Ultimate Upper-Body Workout',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '3 Reasons Runners Should Strength Train',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'The Summer Abs Workout',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Burn Calories at the Beach',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => 'Three Easy Moves You Should Do for a Better Workout',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '12 Classic Pilates Moves You Should Try Now',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '9 Things You Need to Know About Muscle Soreness',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => '11 Awesome Benefits of Stretching',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => '5 Adventurous Things to Do This Summer',
'file' => td_global::$get_template_directory . '/includes/demos/blog_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' => 'These 5 Yoga Poses Will Make Your Abs Look Great',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/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' => 'Foam Rollers to Add to Your Home Gym',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array($demo_cat_2_id),
'featured_image_td_id' => 'td_pic_2'
));
td_demo_content::add_post(array(
'title' => 'Discover How Yoga Benefits Your Proffessional Growth',
'file' => td_global::$get_template_directory . '/includes/demos/blog_health/pages/post_default.txt',
'categories_id_array' => array($demo_cat_2_id),
'featured_image_td_id' => 'td_pic_3'
));