How To Display Total Number of Events

Home Forums Calendar Products Events Calendar PRO How To Display Total Number of Events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182798
    jokesonme
    Participant

    Hi! I am trying to find/write a simple line of code to display the total number of Events. So far the only thing I got was writing it into the loop on the content.php page when it is asking “if there is a post”. I can get it to output 6, because that’s how many I have it to show per page. But I have a total of 7 events (if that makes sense).

    Also in a similar fashion (to get some bonus info out of you guys!) if there was a similar line for say getting the total number of “Florida” Venues (if Florida is the name of the venue) or the number of Events on a Tuesday. That would be SO GREAT! Thanks I am loving the three Plugins I have for you guys.

    #184608
    Casey D
    Member

    Hello jokesonme,

    Thanks for contacting us!

    I believe everything you are looking for is in this template tags tutorial. You basically need a new query for every question you’re asking, and you do that with the ‘tribe_get_events()’ function.

    Typically this level of customization goes beyond theĀ scope of the forums, but I will continue to give you pointers as long as it’s not too time intensive.

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #223325
    Casey D
    Member

    Hello jokesonme,

    We typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Cheers!

    – Casey Driscoll

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How To Display Total Number of Events’ is closed to new replies.