Thanks for your answer and sorry for my english, it’s not my native language
Yes, I tried this one (query=”posts_per_page=-1&post_type=hotels”) , but it displays all the hotels on the map (not the hotel related to my research).
For example, say I have 600 registered hotels in my database.
I search all the hotels located in Paris.
I have a list of 50 hotels as results, of which only 15 are displayed as the first page of results, then the other over 3 other pages.
–> Currently, the map shows only the 15 results of the current page.
What I am looking to do is display all the 50 results on the map (but only results related to my research on paris, so 50 hotels)
I checked the documentation but I did not find any solution
I hope this is more understandable !