• Hello,

    Would anyone know how I could modify this code so that the featured post will only appear once on the page and not again in the post excerpt section? As I am using images, my readers will get double vision, and on mobile devices the post will feature twice one under the other.

    <?php
    $count = 1;
    if (is_home()) {
    	$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	query_posts(array(
    		'post__not_in' => $do_not_duplicate,
    		'paged' => $paged
    	)); }
    if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(); }
    if (have_posts()) : while (have_posts()) : the_post(); ?>

    My theme developers won’t offer support on this as I have used Smooth Slider instead of their default slider. The support for Smooth Sider is hopeless.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘featured post appears twice on page’ is closed to new replies.