$ample_magazine_section_cat_id, 'posts_per_page' => $no_of_slider); $breaking_news_query = new WP_Query($ample_magazine_breaking_news); $ample_magazine_show_option = ample_magazine_get_option('ample_magazine_breaking_news_option'); if ($ample_magazine_show_option == 'show') { if ($breaking_news_query->have_posts()): ?> 0) { $ample_magazine_feature_section_option = ample_magazine_get_option('ample_magazine_homepage_feature_option'); if ($ample_magazine_feature_section_option == 'show') { ?>
$ample_magazine_slider_section_cat_id, 'posts_per_page' => $no_of_slider); $ample_magazine_home_slider_section_query = new WP_Query($ample_magazine_home_slider_section); if ($ample_magazine_home_slider_section_query->have_posts()) { while ($ample_magazine_home_slider_section_query->have_posts()) { $ample_magazine_home_slider_section_query->the_post(); ?>

0) { $ample_magazine_feature_section_option = ample_magazine_get_option('ample_magazine_homepage_feature_option'); if ($ample_magazine_feature_section_option == 'show') { ?>
$ample_magazine_feature_section_cat_id, 'posts_per_page' => 4); $ample_magazine_home_feature_section_query = new WP_Query($ample_magazine_home_feature_section); if ($ample_magazine_home_feature_section_query->have_posts()) { while ($ample_magazine_home_feature_section_query->have_posts()) { $ample_magazine_home_feature_section_query->the_post(); ?>
<?php the_title_attribute();?>

$ample_magazine_feature_section_cat_id, 'posts_per_page' => 2); $ample_magazine_home_feature_section_query = new WP_Query($ample_magazine_home_feature_section); if ($ample_magazine_home_feature_section_query->have_posts()) { while ($ample_magazine_home_feature_section_query->have_posts()) { $ample_magazine_home_feature_section_query->the_post(); ?>
<?php the_title_attribute();?>

0) { $ample_magazine_feature_section_option = ample_magazine_get_option('ample_magazine_homepage_feature_option'); if ($ample_magazine_feature_section_option == 'show') { ?>
$ample_magazine_section_cat_id, 'posts_per_page' => $no_of_slider); $breaking_news_query = new WP_Query($ample_magazine_breaking_news); $ample_magazine_show_option = ample_magazine_get_option('ample_magazine_trending_news_option'); if ($ample_magazine_show_option == 'show') { if ($breaking_news_query->have_posts()): ?>
    have_posts()): $breaking_news_query->the_post(); $thumbnail = get_the_post_thumbnail_url(); ?>
"; bcn_display(); echo "
"; ?>