Support

Account

Home Forums Front-end Issues Count field selection in a WP Query Reply To: Count field selection in a WP Query

  • This is what it outputs now @jarvis;

    Array
    (
        [0] => 5199
        [1] => 6999
        [2] => 7499
        [3] => 7799
        [4] => 9799
        [5] => 10399
        [6] => 8699
        [7] => 6399
        [8] => 7999
        [9] => 7399
        [10] => 4399
        [11] => 4699
    )
    Array
    (
        [0] => 5199
        [1] => 6999
        [2] => 7499
        [3] => 7799
        [4] => 9799
        [5] => 10399
        [6] => 8699
        [7] => 6399
        [8] => 7999
        [9] => 7399
        [10] => 4399
        [11] => 4699
    )
    Price: 5199
    
    $figure_total: 2 count: 2
    
    Price: 6999
    
    $figure_total: 2 count: 2
    
    Price: 7499
    
    $figure_total: 2 count: 2
    
    Price: 7799
    
    $figure_total: 2 count: 2
    
    Price: 9799
    
    $figure_total: 2 count: 2
    
    Price: 10399
    
    $figure_total: 2 count: 2
    
    Price: 8699
    
    $figure_total: 2 count: 2
    
    Price: 6399
    
    $figure_total: 2 count: 2
    
    Price: 7999
    
    $figure_total: 2 count: 2
    
    Price: 7399
    
    $figure_total: 2 count: 2
    
    Price: 4399
    
    $figure_total: 2 count: 2
    
    Price: 4699
    
    $figure_total: 2 count: 2

    Is it because it’s not checking against the figure total? e.g. Cars within £5000 = 5, cars within £7000 = 8