$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>
$featured = cp_display_style( 'featured', false );
remove_action( 'cp_listing_item_head', 'cp_add_listing_item_featured' , 8 );
// Different layout based on view.
// Pass in anything for the layout query var to use list layout.
if( isset($args['layout']) ){
if( $args['layout'] == 'list')
$display = array( 'list', 3, 9 );
if( $args['layout'] == 'grid' )
$display = array( 'grid', 12, 12 );
}
else
$display = ( 'grid' !== get_query_var( 'listing_layout' ) && ( get_query_var( 'listing_layout' ) || is_archive() || is_post_type_archive( APP_POST_TYPE ) || is_search() || is_tax( array( APP_TAX_CAT, APP_TAX_TAG ) ) ) ) ? array( 'list', 3, 9 ) : array( 'grid', 12, 12 );
/*
if( $display[0] == 'grid' ){
remove_action( 'cp_listing_item_content', 'cp_ad_loop_content' );
remove_action( 'cp_listing_item_meta', 'cp_ad_loop_meta' );
remove_filter( 'cp_listing_item_head', 'ag_star' , 9 );
} */
?>