Displaying Events on homepage

Home Forums Calendar Products Events Calendar PRO Displaying Events on homepage

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #63365
    frontierstrategies
    Participant

    I need to manually display a list of latest events on my homepage and am getting stuck. I have followed a pattern to display 3 different wp categories fine, but cannot seem to control the Tribe Events Post Type in the same manner. My arguments arent changing what is output on the frontend. I’m looking to display the next 4 events (only displaying future). Please see these attachments of my local dev. If necessary i can put this up on a test link.

    https://dl.dropboxusercontent.com/u/8244754/events1.jpg
    https://dl.dropboxusercontent.com/u/8244754/events2.jpg

    #63366
    frontierstrategies
    Participant

    And i love the plugin btw. Money well spent.

    #63858
    Kelly
    Participant

    Hi, frontierstrategies. Thanks for getting in touch about your issue.

    Would you mind trying switching from get_posts() to tribe_get_events() in the first instance? Let me know if that gets you any closer.

    Thanks for letting us know that you’re a satisfied TEC customer. It’s always great to hear!

    #64025
    Kitka
    Participant

    I am also trying to figure out how to edit my front-page.php file to get events to show up… the code currently reads:

    <div id="bodyCopy" >

    ” . __( ‘Pages:’, ‘simpletheme’ ), ‘after’ => ” ) ); ?>
    <?php edit_post_link( __( 'Edit', 'simpletheme' ), '’, ” ); ?>

    I am not an experienced PHP coder… what would I change to make this page display upcoming events?
    Thanks,
    Kitka

    #64026
    Kitka
    Participant

    doh! the code isn’t displaying in my comment…

    #64028
    Kitka
    Participant

    I have put the code here. I hope someone can tell me how to edit it to make the page display forthcoming events.
    http://kitka.net.au/example.txt

    #64044
    Kelly
    Participant

    Hi, Kitka. Thanks for getting in touch.

    We try to keep our topics to one issue each, that way we can better assist each user. As the underlying cause of your issue may be different from the initial one, please open a new thread. Once you’ve done that, we’ll happily take a look at what’s going on for you.

    Thanks for being a TEC user!

    #65678
    frontierstrategies
    Participant

    This reply is private.

    #65807
    Kelly
    Participant

    Hi, frontierstrategies. Thanks for the login credentials.

    After taking some time to look at your site, this looks like this is a pretty bespoke customization that we’re not really able to support. If you’d like a recommendation for a developer that could help you out, we’re more than happy to give you a list. Unfortunately, we’re unable to help with things like this beyond pointing you in the right direction and making sure you know where to find our documentation.

    I’m really sorry that we couldn’t be of more help.

    #65840
    frontierstrategies
    Participant

    Hey Kelly-

    Well i followed your documentation here..

    https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events

    Here’s an example using a date range from today’s date through the next 30 days:

    and even going by your examples, using your code its not working. At this point, just limiting it to a certain number of events displaying would be a small victory.

    thanks

    #65845
    Kelly
    Participant

    Hi, frontierstrategies. Thanks for your reply.

    As noted at the top of that page, the documentation there is for 2.x versions of the product. Please use the current documentation page linked at right (http://docs.tri.be/).

    Hope that helps. Let us know if there’s anything else we can do to support you in making this customization.

    #65889
    Kitka
    Participant

    Hi frontierstrategies. If it is of any help, this is the code that someone provided to me, that got my events to show up on home page – file named front-page.php
    http://kitka.net.au/example.txt

    #66020
    frontierstrategies
    Participant

    @Kitka Thank you! This is perfect.
    @kelly, the function you told me to use isnt on your new documentation “tribe_get_events()”

    #66044
    Kelly
    Participant

    Hi, frontierstrategies. Hope you had a good weekend.

    Thanks for the tip about the function missing in our docs. I’ll look into it.

    I’m very glad to hear that you were able to find a solution to your issue. Since it sounds like you’re set, I’ll go ahead and close this thread. Please feel free to start a new topic if anything else comes up.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Displaying Events on homepage’ is closed to new replies.