*/ $td_demo_site->remove_widgets_from_sidebar('footer-1'); $td_demo_site->add_widget_to_sidebar('footer-1', 'footer_logo_widget', array('logo_url' => get_template_directory_uri() . '/images/demo/logo-footer.png', 'logo_url_r' => get_template_directory_uri() . '/images/demo/logo-footer-retina.png', 'footer_text' => 'Newspaper is your news, entertainment, music & fashion website. We provide you with the latest breaking news and videos straight from the entertainment industry.', 'footer_text_2' => 'We are your all-access pass to all the A-List stars around the globe.', 'footer_email' => '*****@*****.**')); $td_demo_site->remove_widgets_from_sidebar('footer-2'); $td_demo_site->add_widget_to_sidebar('footer-2', 'td_block4_widget', array('sort' => 'featured', 'custom_title' => 'FEATURED', 'limit' => '3')); $td_demo_site->remove_widgets_from_sidebar('footer-3'); $td_demo_site->add_widget_to_sidebar('footer-3', 'td_popular_categories_widget', array('limit' => 7, 'custom_title' => 'POPULAR CATEGORIES')); /* ---------------------------------------------------------------------------- footer menu */ $td_demo_site->create_menu('td_demo_footer'); $td_demo_site->add_top_menu('Privacy policy'); $td_demo_site->add_top_menu('Advertising'); $td_demo_site->add_top_menu('Contact us'); $td_demo_site->activate_menu('footer-menu'); $td_demo_site->set_theme_copyright('Copyright 2013 - your text'); /* ---------------------------------------------------------------------------- create categories $td_demo_site->add_category has an array parameter @param[0] : name of category @param[1] : parent category */ $td_demo_site->add_category(array('Category 1', 0)); $td_demo_site->add_category(array('Category 2', 0)); $td_demo_site->add_category(array('Category 3', 0)); /* ---------------------------------------------------------------------------- header menu - make the main menu */ $td_demo_site->create_menu('td header'); $td_demo_site->activate_menu('header-menu');