• Resolved Krokodil

    (@krokodil)


    Hi all

    Excuse my ignorance, and my humble apologies if this question has already been asked.

    I want to create an html bulleted list of upcoming events that I can display on a page or in my side bar.

    In v1.6 of the-events-calendar I could simply use a plugin with shortcode [catlist id=x] where x was the category I was using for events, or I could use

    <?php
    wp_list_categories('showcount=1&include=x');
    ?>

    to show a link with the number of upcoming events.

    Now that I have upgraded the-events-calendar to v2.0.4 I have lost that ability.

    What is the equivalent way of doing this with 2.0.4?

    Any help / pointers will be greatly appreciated.

    Thanks.

    http://wordpress.org/extend/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey Krokodil. No apology needed! Happy to help, and I realize this can be a bit confusing. Basically with the 2.0 codebase you’ll want to use template tags in place of shortcodes, which can be used to accomplish generally the same things. Check out our documentation along those lines at http://tri.be/support/documentation, and let me know if you still have any questions from there. Cheers man.

    Thread Starter Krokodil

    (@krokodil)

    Hey Rob. Thank you so much for your reply. I have studied the template tags, but I think my problem is not knowing how to use them properly. The documentation tells you what the tag is supposed to do, but I am unable to easily get them to do what I want them to do.

    For example, if I just wanted a list of links to upcoming events to appear in my sidebar, (no thumbs, date ranges, etc), I would presumably do the following:

    <h4>Upcoming Events</h4>
    <ul>
    <li><?php tribe_get_events(); ?>
    </ul>

    But, I know that it is not that simple. I have looked at the code samples in the tribe.be documentation but it looks a bit complex for my simple needs.

    Thanks again
    Krok

    Hey Krok, in order to pull events you’ve either got to use the tribe_get_events() function or roll your own with a WP_Query. It’s the only way…

    Thread Starter Krokodil

    (@krokodil)

    Thanks Jonah

    Will have to get rolling then…

    CIao

    Thanks for the follow-up, Krokodil. Sounds like you’re all set here but if you need anything else please let us know.

    Thread Starter Krokodil

    (@krokodil)

    Thanks Rob!

    It is a learning process 🙂

    My wishlist:
    – Short Codes
    – Enhanced user guides

    If I can assist you guys in any way with this, please shout.

    Fond regards
    Krok

    Hey dude! Thanks for the follow-up. Shortcodes are probably a ways out (though they will feature prominently into our Community Events add-on…). But I hear you loud and clear as to the enhanced user guides. We’re building those out currently…got a big Genesis tutorial coming up first, along with a revamped FAQ. From there we’ll likely be moving into a Thesis integration tut followed by some smaller, simpler how-tos.

    Any suggestions you have as to things that could be of value are definitely welcome. Either post them here or shoot me an email to pro /a/ tri.be. Thanks again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: The Events Calendar] Create html bulleted list of upcoming events’ is closed to new replies.