$td_page) { $paged = $td_paged; } else { $paged = $td_page; } $list_custom_title_show = true; //show the article list title by default /* read the settings for the loop ---------------------------------------------------------------------------------------- */ if (!empty($post->ID)) { td_global::load_single_post($post); //read the metadata for the post // // the $td_homepage_loop is used instead //$td_homepage_loop_filter = get_post_meta($post->ID, 'td_homepage_loop_filter', true); //it's send to td_data_source $td_homepage_loop = get_post_meta($post->ID, 'td_homepage_loop', true); if (!empty($td_homepage_loop['td_layout'])) { $loop_module_id = $td_homepage_loop['td_layout']; } if (!empty($td_homepage_loop['td_sidebar_position'])) { $loop_sidebar_position = $td_homepage_loop['td_sidebar_position']; } // sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue $td_sidebar_position = ''; if($loop_sidebar_position == 'sidebar_left') { $td_sidebar_position = 'td-sidebar-left'; } if (!empty($td_homepage_loop['td_sidebar'])) { td_global::$load_sidebar_from_template = $td_homepage_loop['td_sidebar']; } if (!empty($td_homepage_loop['list_custom_title'])) { $td_list_custom_title = $td_homepage_loop['list_custom_title']; } else { $td_list_custom_title =__td('LATEST ARTICLES', TD_THEME_NAME); } if (!empty($td_homepage_loop['list_custom_title_show'])) { $list_custom_title_show = false; } } ?>

post_content)) { //show this only when we have content if (empty($paged) or $paged < 2) { //show this only on the first page if (have_posts()) { ?>