• Hi
    I want to change the code of prporty archive to random

    this is the code of archive

    <?php
    
    global $wp_query;
    
    $default_sort = aviators_settings_get_value('properties', 'properties', 'default_sort');
    if(isset($_GET['filter_sort_by'])) {
        $default_sort = $_GET['filter_sort_by'];
    }
    
    echo View::render('archive-property.twig', array(
        'wp_query' => aviators_properties_filter(TRUE),
        'properties' => aviators_properties_filter(FALSE),
        'default_sort' => $default_sort,
    ));

    thnks

    [ No bumping please. ]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change for of property to random’ is closed to new replies.