• featured content slider working perfectly fetching the contents of post in slider but i want to edit the number of post display on one slide i.e two posts per slide. this is the loop for fetching posts.. can anyone help to edit this so it can fetch two posts to display on one slide and so on.

    `

    $args = array( ‘meta_key’ => ‘feat_slider3’, ‘meta_value’=> ‘1’, ‘suppress_filters’ => 0, ‘post_type’ => array(‘post’, ‘page’), ‘orderby’ => $c_slider_sort, ‘order’ => $c_slider_order, ‘numberposts’=> $c_slider_post_limit);
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post);
    $c_slider_custom = get_post_custom($post->ID);
    $c_slider_thumb = c_slider_get_thumb(“feat_slider3”);?>

The topic ‘featured content slider for posts’ is closed to new replies.