Home › Forums › Calendar Products › Events Calendar PRO › Order venues by number of events
- This topic has 24 replies, 2 voices, and was last updated 11 years, 1 month ago by Jonah.
-
AuthorPosts
-
February 19, 2013 at 5:29 am #32958JoanParticipant
HI to everybody.
First of all congrats for a plugin very well developed. I think is a great product. I’ve a little question for a customization. Is there the posibility to order venues by the number of events by wordpress query?
I’ve this code on the query:
query( array(
‘orderby’=> ‘title’,
‘order’ => ‘ASC’,
‘post_type’=> ‘tribe_venue’,
‘posts_per_page’ => 24,
‘paged’ => $paged));
if ($upcoming->have_posts()) :
while ($upcoming->have_posts()) :
$upcoming->the_post();
?>Thanks in advance for your help and sorry for my very goos broken english
February 19, 2013 at 9:36 am #32978JonahParticipantHi Joan,
I don’t know how to do this myself and will need to ask a developer. Please stay tuned for a possible solution. No guarantees, but I’ve got someone else looking at this.
Thanks,
JonahFebruary 19, 2013 at 9:43 am #32979JoanParticipantThanks a lot!! 😉
February 25, 2013 at 3:38 am #40828JoanParticipantIs there any solution Jonah?
February 25, 2013 at 7:19 am #40853JonahParticipantSorry for the delay Joan, I just sent the developer assigned to this a message and will get back to you as soon as I hear something.
Thanks,
JonahFebruary 25, 2013 at 7:26 am #40856JoanParticipantThanks Jonah!!!
March 5, 2013 at 8:30 am #41606JonahParticipantHi Joan,
I have an update for you but I need to test some things out, particularly against your query code. Can you please post the code you are working with for your venue query to: http://snippi.com/
Thanks,
JonahMarch 11, 2013 at 10:43 am #42236JonahParticipantHi Joan, it’s been a while since we’ve heard from you. Please post back here in the next couple days or I’m going to close this thread out.
Thanks,
JonahMarch 11, 2013 at 10:47 am #42238JoanParticipantSorry haven’t see your email. Here you are
March 12, 2013 at 3:41 pm #42476JonahParticipantHi Joan,
Our developer put this code together that should allow you to filter your custom query. Here is the code: https://gist.github.com/PaulHughes01/5083640
Does that help?
– Jonah
March 13, 2013 at 2:33 am #42504JoanParticipantHi Jonah,
If I put this code every venue has de same number of events. In this case everyone has 47 events par venue….
March 13, 2013 at 7:18 am #42517JonahParticipantHi Joan,
Can you please share your aolot_getVenueNextEvents() with us too?
Thanks,
JonahMarch 14, 2013 at 10:56 am #42673JoanParticipantOf course! Here you are
March 18, 2013 at 9:35 am #43076JoanParticipantThis reply is private.
March 18, 2013 at 12:10 pm #43103JonahParticipantHi Joan,
Sorry for the delay on this. We’re still working on a solution for you. I should have an update for you in the next couple days.
Thanks,
Jonah -
AuthorPosts
- The topic ‘Order venues by number of events’ is closed to new replies.