filtering the list below the map view

Home Forums Calendar Products Events Calendar PRO filtering the list below the map view

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #66276
    dimitrilongo
    Participant

    hello
    I’m trying to filtering the list below the map view. in map/loop.php

    see http://pastebin.com/gxfkegdU
    but when i use without the if condition only one query it works, i can filter with the slug and the operator, but when i put a conditions based on the url (…./map) id doesn’t work anymore. (may be due to ajax ?)
    Thanks for any help, just help me to understand

    Best Regards
    Dimitri

    #66302
    Barry
    Member

    It probably is indeed due to the fact that URLs for ajax requests will not follow that same pattern.

    Would it be possible for you to build your test using a combination of functions like tribe_is_map(), tribe_is_event_category() and has_term() instead of a string comparison?

    #66319
    dimitrilongo
    Participant

    oh great, thanks for advices I have to investigate now , I’ll come back in 2 or 3 days I hope with the solution for tribe’s folks

    #66322
    Barry
    Member

    Excellent, look forward to seeing it – and good luck!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘filtering the list below the map view’ is closed to new replies.