Plugin Directory

Changeset 3091532


Ignore:
Timestamp:
05/23/2024 01:25:14 PM (21 months ago)
Author:
apimofficiel
Message:

Commit Message:
===============

  • Version 2.5.8
  • Updated: Fix Order By filter in the shortcode
Location:
apimo/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apimo/trunk/apimo.php

    r3091018 r3091532  
    77* Description: Manage Real Estat Bussiness
    88
    9 * Version: 2.5.7
     9* Version: 2.5.8
    1010
    1111* Author: ApiWork
  • apimo/trunk/includes/shortcode.php

    r3069734 r3091532  
    3131
    3232
    33 
     33   
    3434
    3535
     
    5858
    5959
    60 
     60   
    6161
    6262
     
    23992399
    24002400                        <div class="filter-item-dropdown">
    2401 
    24022401                            <div class="apimo-archive-filter orderby-radio">
    2403 
    24042402                                <div class="order-by-radio-item">
    2405 
    2406                                     <input type="radio" id="relevance" name="order-by-properties" value="relevance" checked>
    2407 
     2403                                    <input type="radio" id="relevance" name="order-by-properties" value="relevance" <?php if($attrs['order_by'] == 'relevance') { echo 'checked'; } ?>>
    24082404                                    <label for="relevance"><?php _e('Relevance', 'apimo'); ?></label>
    2409 
    24102405                                </div>
    24112406
    24122407                                <div class="order-by-radio-item">
    2413 
    2414                                     <input type="radio" id="price_low_to_hig" name="order-by-properties"
    2415                                         value="price_low_to_high">
    2416 
    2417                                     <label for="price_low_to_hig"><?php _e('Rising price', 'apimo'); ?></label>
    2418 
     2408                                    <input type="radio" id="price_low_to_high" name="order-by-properties" value="price_low_to_high" <?php if($attrs['order_by'] == 'price_low_to_high') { echo 'checked'; } ?>>
     2409                                    <label for="price_low_to_high"><?php _e('Rising price', 'apimo'); ?></label>
    24192410                                </div>
    24202411
    24212412                                <div class="order-by-radio-item">
    2422 
    2423                                     <input type="radio" id="price_high_to_low" name="order-by-properties"
    2424                                         value="price_high_to_low">
    2425 
     2413                                    <input type="radio" id="price_high_to_low" name="order-by-properties" value="price_high_to_low" <?php if($attrs['order_by'] == 'price_high_to_low') { echo 'checked'; } ?>>
    24262414                                    <label for="price_high_to_low"><?php _e('Descending price', 'apimo'); ?></label>
    2427 
    24282415                                </div>
    24292416
    24302417                                <div class="order-by-radio-item">
    2431 
    2432                                     <input type="radio" id="area_low_to_high" name="order-by-properties"
    2433                                         value="area_low_to_high">
    2434 
     2418                                    <input type="radio" id="area_low_to_high" name="order-by-properties" value="area_low_to_high" <?php if($attrs['order_by'] == 'area_low_to_high') { echo 'checked'; } ?>>
    24352419                                    <label for="area_low_to_high"><?php _e('Rising area', 'apimo'); ?></label>
    2436 
    24372420                                </div>
    24382421
    24392422                                <div class="order-by-radio-item">
    2440 
    2441                                     <input type="radio" id="price_low_to_hig" name="order-by-properties"
    2442                                         value="area_high_to_low">
    2443 
     2423                                    <input type="radio" id="area_high_to_low" name="order-by-properties" value="area_high_to_low" <?php if($attrs['order_by'] == 'area_high_to_low') { echo 'checked'; } ?>>
    24442424                                    <label for="area_high_to_low"><?php _e('Descending area', 'apimo'); ?></label>
    2445 
    24462425                                </div>
    24472426
    24482427                                <div class="order-by-radio-item">
    2449 
    2450                                     <input type="radio" id="bedrooms_low_to_high" name="order-by-properties"
    2451                                         value="bedrooms_low_to_high">
    2452 
     2428                                    <input type="radio" id="bedrooms_low_to_high" name="order-by-properties" value="bedrooms_low_to_high" <?php if($attrs['order_by'] == 'bedrooms_low_to_high') { echo 'checked'; } ?>>
    24532429                                    <label for="bedrooms_low_to_high"><?php _e('Bedrooms increasing', 'apimo'); ?></label>
    2454 
    24552430                                </div>
    24562431
    24572432                                <div class="order-by-radio-item">
    2458 
    2459                                     <input type="radio" id="bedrooms_high_to_low" name="order-by-properties"
    2460                                         value="bedrooms_high_to_low">
    2461 
     2433                                    <input type="radio" id="bedrooms_high_to_low" name="order-by-properties" value="bedrooms_high_to_low" <?php if($attrs['order_by'] == 'bedrooms_high_to_low') { echo 'checked'; } ?>>
    24622434                                    <label for="bedrooms_high_to_low"><?php _e('Bedrooms descending', 'apimo'); ?></label>
    2463 
    24642435                                </div>
    24652436
    24662437                                <div class="order-by-radio-item">
    2467 
    2468                                     <input type="radio" id="rooms_low_to_high" name="order-by-properties"
    2469                                         value="rooms_low_to_high">
    2470 
     2438                                    <input type="radio" id="rooms_low_to_high" name="order-by-properties" value="rooms_low_to_high" <?php if($attrs['order_by'] == 'rooms_low_to_high') { echo 'checked'; } ?>>
    24712439                                    <label for="rooms_low_to_high"><?php _e('Comparment increasing', 'apimo'); ?></label>
    2472 
    24732440                                </div>
    24742441
    24752442                                <div class="order-by-radio-item">
    2476 
    2477                                     <input type="radio" id="rooms_high_to_low" name="order-by-properties"
    2478                                         value="rooms_high_to_low">
    2479 
     2443                                    <input type="radio" id="rooms_high_to_low" name="order-by-properties" value="rooms_high_to_low" <?php if($attrs['order_by'] == 'rooms_high_to_low') { echo 'checked'; } ?>>
    24802444                                    <label for="rooms_high_to_low"><?php _e('Comparment descending', 'apimo'); ?></label>
    2481 
    24822445                                </div>
    24832446
    24842447                                <div class="order-by-radio-item">
    2485 
    2486                                     <input type="radio" id="created_at_low_to_high" name="order-by-properties"
    2487                                         value="created_at_low_to_high">
    2488 
    2489                                     <label
    2490                                         for="created_at_low_to_high"><?php _e('Creation date: from oldest to newest', 'apimo'); ?></label>
    2491 
     2448                                    <input type="radio" id="created_at_low_to_high" name="order-by-properties" value="created_at_low_to_high" <?php if($attrs['order_by'] == 'created_at_low_to_high') { echo 'checked'; } ?>>
     2449                                    <label for="created_at_low_to_high"><?php _e('Creation date: from oldest to newest', 'apimo'); ?></label>
    24922450                                </div>
    24932451
    24942452                                <div class="order-by-radio-item">
    2495 
    2496                                     <input type="radio" id="created_at_high_to_low" name="order-by-properties"
    2497                                         value="created_at_high_to_low">
    2498 
    2499                                     <label
    2500                                         for="created_at_high_to_low"><?php _e('Creation date: from newest to oldest', 'apimo'); ?></label>
    2501 
     2453                                    <input type="radio" id="created_at_high_to_low" name="order-by-properties" value="created_at_high_to_low" <?php if($attrs['order_by'] == 'created_at_high_to_low') { echo 'checked'; } ?>>
     2454                                    <label for="created_at_high_to_low"><?php _e('Creation date: from newest to oldest', 'apimo'); ?></label>
    25022455                                </div>
    25032456
    25042457                                <div class="order-by-radio-item">
    2505 
    2506                                     <input type="radio" id="updated_at_low_to_high" name="order-by-properties"
    2507                                         value="updated_at_low_to_high">
    2508 
    2509                                     <label
    2510                                         for="updated_at_low_to_high"><?php _e('Update date: from oldest to newest', 'apimo'); ?></label>
    2511 
     2458                                    <input type="radio" id="updated_at_low_to_high" name="order-by-properties" value="updated_at_low_to_high" <?php if($attrs['order_by'] == 'updated_at_low_to_high') { echo 'checked'; } ?>>
     2459                                    <label for="updated_at_low_to_high"><?php _e('Update date: from oldest to newest', 'apimo'); ?></label>
    25122460                                </div>
    25132461
    25142462                                <div class="order-by-radio-item">
    2515 
    2516                                     <input type="radio" id="updated_at_high_to_low" name="order-by-properties"
    2517                                         value="updated_at_high_to_low">
    2518 
    2519                                     <label
    2520                                         for="updated_at_high_to_low"><?php _e('Update date: from newest to oldest', 'apimo'); ?></label>
    2521 
     2463                                    <input type="radio" id="updated_at_high_to_low" name="order-by-properties" value="updated_at_high_to_low" <?php if($attrs['order_by'] == 'updated_at_high_to_low') { echo 'checked'; } ?>>
     2464                                    <label for="updated_at_high_to_low"><?php _e('Update date: from newest to oldest', 'apimo'); ?></label>
    25222465                                </div>
    25232466
    25242467                                <div class="order-by-radio-item">
    2525 
    2526                                     <input type="radio" id="published_at_low_to_high" name="order-by-properties"
    2527                                         value="published_at_low_to_high">
    2528 
    2529                                     <label
    2530                                         for="published_at_low_to_high"><?php _e('Publish date: from oldest to newest', 'apimo'); ?></label>
    2531 
     2468                                    <input type="radio" id="published_at_low_to_high" name="order-by-properties" value="published_at_low_to_high" <?php if($attrs['order_by'] == 'published_at_low_to_high') { echo 'checked'; } ?>>
     2469                                    <label for="published_at_low_to_high"><?php _e('Publish date: from oldest to newest', 'apimo'); ?></label>
    25322470                                </div>
    25332471
    25342472                                <div class="order-by-radio-item">
    2535 
    2536                                     <input type="radio" id="published_at_high_to_low" name="order-by-properties"
    2537                                         value="published_at_high_to_low">
    2538 
    2539                                     <label
    2540                                         for="published_at_high_to_low"><?php _e('Publish date: from newest to oldest', 'apimo'); ?></label>
    2541 
    2542                                 </div>
    2543 
     2473                                    <input type="radio" id="published_at_high_to_low" name="order-by-properties" value="published_at_high_to_low" <?php if($attrs['order_by'] == 'published_at_high_to_low') { echo 'checked'; } ?>>
     2474                                    <label for="published_at_high_to_low"><?php _e('Publish date: from newest to oldest', 'apimo'); ?></label>
     2475                                </div>
    25442476                            </div>
    25452477
    25462478                            <div class="apply-filter">
    2547 
    2548                                 <button type="button" data-unique-id="<?php echo esc_attr($apimo_data_id); ?>"
    2549                                     class="btn-apply  apimo-apply-filter"><?php _e('Apply order', 'apimo') ?></button>
    2550 
     2479                                <button type="button" data-unique-id="<?php echo esc_attr($apimo_data_id); ?>" class="btn-apply apimo-apply-filter">
     2480                                    <?php _e('Apply order', 'apimo') ?>
     2481                                </button>
    25512482                            </div>
    2552 
    25532483                        </div>
     2484
    25542485
    25552486                    </div>
  • apimo/trunk/readme.txt

    r3091018 r3091532  
    33Tags: real estate, property management, listings, clients, leads, showings, open houses, reports
    44Tested up to: 6.4.2
    5 Stable tag: 2.5.7
     5Stable tag: 2.5.8
    66License: GPLv2
    77License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9494== Changelog ==
    9595
    96 = 2.5.7 =
    97 * Added support for optional Sector ID in API integration.
    98 * Updated settings interface to include Sector ID field.
    99 * Enhanced validation process to handle the presence or absence of Sector ID.
     96= 2.5.8 =
     97* Fix order By filter in the shortcode
    10098
    10199
Note: See TracChangeset for help on using the changeset viewer.