Plugin Directory

Changeset 1723416


Ignore:
Timestamp:
09/01/2017 07:55:45 PM (9 years ago)
Author:
trackhs
Message:

Version 4.0.2 - Fixed issue when no units returned.

Location:
track-connect/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • track-connect/trunk/includes/views/archive-listing-boxes.php

    r1523437 r1723416  
    171171        <div id="content" class="site-content" role="main">
    172172
    173             <?php if ( have_posts() ) : ?>
    174173
    175                 <header class="archive-header">
    176                     <?php
    177                     $object = get_queried_object();
    178                     $title = '<h1 class="archive-title">Unit Search</h1>';
    179                     echo $title; ?>
     174            <header class="archive-header">
     175                <?php
     176                $object = get_queried_object();
     177                $title = '<h1 class="archive-title">Unit Search</h1>';
     178                echo $title; ?>
    180179
    181                     <small><?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?></small>
    182                 </header><!-- .archive-header -->
     180                <small><?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?></small>
     181            </header><!-- .archive-header -->
    183182
    184             <?php
    185 
    186             archive_listing_loop();
    187 
    188             else :
    189                 // If no content, include the "No posts found" template.
    190                 get_template_part( 'content', 'none' );
    191 
    192             endif;
    193 
    194             ?>
     183            <?php archive_listing_loop(); ?>
    195184
    196185        </div><!-- #content -->
  • track-connect/trunk/includes/views/archive-listing.php

    r1723266 r1723416  
    303303include(track_connect_view_override('archive-listing', 'style.php'));
    304304
    305 if (have_posts()) {
    306     include(track_connect_view_override('archive-listing', 'header.php'));
    307 
    308     include(track_connect_view_override('archive-listing', 'body.php'));
    309 } else {
    310     get_template_part('content', 'none');
    311 }
    312 
     305include(track_connect_view_override('archive-listing', 'header.php'));
     306
     307include(track_connect_view_override('archive-listing', 'body.php'));
    313308get_footer();
    314309?>
  • track-connect/trunk/plugin.php

    r1723334 r1723416  
    77    Author URI: http://www.trackhs.com
    88
    9     Version: 4.0.1
     9    Version: 4.0.2
    1010
    1111    License: GNU General Public License v2.0 (or later)
  • track-connect/trunk/readme.txt

    r1723334 r1723416  
    44Requires at least: 3.7
    55Tested up to: 4.8
    6 Stable tag: 4.0.0
     6Stable tag: 4.0.2
    77
    88Creates and syncs listing-type posts from TRACK PM, a cloud-based property management system (www.trackhs.com).
     
    4444
    4545== Changelog ==
     46= 4.0.2 =
     47Fixed issue of displaying correctly when no listings are returned.
     48
    4649= 4.0.1 =
    4750Removed a typo of a closing bracket.
Note: See TracChangeset for help on using the changeset viewer.