Example #1
0
?>
	
	<div id="main-middle" class="row">
	
		<?php 
// Set class of #content div depending on active sidebars
$content_class = is_active_sidebar(wpsight_get_sidebar('sidebar-listing-archive')) ? wpsight_get_span('big') : wpsight_get_span('full');
?>
	
	    <div id="content" class="<?php 
echo $content_class;
?>
">
	    
			<div class="title title-archive clearfix"><?php 
echo apply_filters('wpsight_search_title', wpsight_listing_loop_title());
// Action hook to add content to title
do_action('wpsight_loop_title_actions', $wp_query);
?>
			
			</div><!-- .title --><?php 
// Action hook to add content after archive title
do_action('wpsight_listing_archive_title_after', wpsight_listing_search_query_args(), $content_class);
if (have_posts()) {
    ?>
				
				<div class="row">
	    		
	    			<?php 
    // Create loop counter
    $counter = 0;
Example #2
0
	
	<div id="main-middle" class="row">
	
		<?php 
// Set class of #content div depending on active sidebars
$content_class = is_active_sidebar(wpsight_get_sidebar('sidebar-listing-archive')) ? wpsight_get_span('big') : wpsight_get_span('full');
?>
	
	    <div id="content" class="<?php 
echo $content_class;
?>
">
	    
			<div class="title title-archive clearfix"><?php 
// Display current term
echo apply_filters('wpsight_taxonomy_title', wpsight_listing_loop_title());
// Action hook to add content to title
do_action('wpsight_loop_title_actions');
// Display term description
$term_description = term_description();
if (!empty($term_description)) {
    echo '<div class="category-description clearfix">' . wpsight_format_content($term_description) . '</div>';
}
?>
			
			</div><!-- .title --><?php 
// Action hook to add content after archive title
do_action('wpsight_listing_archive_title_after', wpsight_listing_taxonomy_query_args(), $content_class);
?>
	    
	    	<?php 
Example #3
0
echo $content_class;
?>
">
			    
			<?php 
// Include author/listing agent info
do_action('wpsight_listing_agent', 'archive');
?>
	    
	    	<?php 
if (have_posts()) {
    ?>
	    	
	    		<div class="title title-author clearfix"><?php 
    // Display current author
    echo apply_filters('wpsight_author_title', wpsight_listing_loop_title());
    // Action hook to add content to title
    do_action('wpsight_loop_title_actions');
    ?>
			    
			    </div><!-- .title --><?php 
    // Action hook to add content after archive title
    do_action('wpsight_listing_archive_title_after', wpsight_author_query_args(), $content_class);
    ?>
				
				<div class="row">
	    		
	    			<?php 
    // Create loop counter
    $counter = 0;
    while (have_posts()) {