echo iced_mocha_get_layout_class(); ?> "> <div id="content" role="main"> <?php espresso_theme_before_content_hook(); if (have_posts()) { /* Start the Loop */ while (have_posts()) { the_post(); get_template_part('content/content', get_post_format()); } if ($iced_mocha_pagination == "Enable") { iced_mocha_pagination(); } else { iced_mocha_content_nav('nav-below'); } } else { ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e('Nothing Found', 'iced_mocha'); ?> </h1> </header><!-- .entry-header --> <div class="entry-content">
foreach ($iced_mochas as $key => $value) { ${"{$key}"} = $value; } //espresso_theme_before_content_hook(); if (have_posts()) { /* Start the Loop */ $paged = get_query_var('paged') ? get_query_var('paged') : 1; $the_query = new WP_Query(array('posts_per_page' => $iced_mochas['iced_mocha_frontpostscount'], 'paged' => $paged)); while ($the_query->have_posts()) { $the_query->the_post(); global $more; $more = 0; get_template_part('content/content', get_post_format()); } if ($iced_mocha_pagination == "Enable") { iced_mocha_pagination($the_query->max_num_pages); } else { iced_mocha_content_nav('nav-below'); } } else { ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e('Nothing Found', 'iced_mocha'); ?> </h1> </header><!-- .entry-header --> <div class="entry-content">