WordPress.org

Ready to get started?Download WordPress

Forums

Empty space on my main paige (2 posts)

  1. Sharena
    Member
    Posted 2 years ago #

    I have empty space on my main paige, between posts, how can i fix that. I am using creativix theme
    please help
    http://project.pictor.hr/

  2. Sharena
    Member
    Posted 2 years ago #

    DO I NEED TO CHANGE SOMETHING IN CODE:

    $args = array( 'meta_key' => 'feat_front', 'meta_value'=> '1', 'suppress_filters' => 0, 'post_type' => array('post', 'page'), 'post_status' => 'publish', 'numberposts' => 30, 'orderby' => $feat_sort, 'order' => $feat_order
    );

    $myposts = get_posts( $args );

    if(!$myposts) {

    $args = array('suppress_filters' => 0, 'post_type' => array('post'), 'post_status' => 'publish', 'numberposts' => 30, 'orderby' => $feat_sort, 'order' => $feat_order
    );

Topic Closed

This topic has been closed to new replies.

About this Topic