Home › Forums › Calendar Products › Events Calendar PRO › Displaying Events on homepage
- This topic has 13 replies, 3 voices, and was last updated 12 years, 7 months ago by
Kelly.
-
AuthorPosts
-
August 28, 2013 at 9:32 am #63365
frontierstrategies
ParticipantI 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.jpgAugust 28, 2013 at 9:32 am #63366frontierstrategies
ParticipantAnd i love the plugin btw. Money well spent.
August 30, 2013 at 10:54 am #63858Kelly
ParticipantHi, 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!
September 2, 2013 at 12:38 am #64025Kitka
ParticipantI 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,
KitkaSeptember 2, 2013 at 12:38 am #64026Kitka
Participantdoh! the code isn’t displaying in my comment…
September 2, 2013 at 12:42 am #64028Kitka
ParticipantI 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.txtSeptember 2, 2013 at 7:49 am #64044Kelly
ParticipantHi, 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!
September 12, 2013 at 2:23 pm #65678frontierstrategies
ParticipantThis reply is private.
September 13, 2013 at 9:59 am #65807Kelly
ParticipantHi, 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.
September 13, 2013 at 1:45 pm #65840frontierstrategies
ParticipantHey Kelly-
Well i followed your documentation here..
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
September 13, 2013 at 2:09 pm #65845Kelly
ParticipantHi, 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.
September 13, 2013 at 11:21 pm #65889Kitka
ParticipantHi 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.txtSeptember 16, 2013 at 7:08 am #66020frontierstrategies
Participant@Kitka Thank you! This is perfect.
@kelly, the function you told me to use isnt on your new documentation “tribe_get_events()”September 16, 2013 at 9:21 am #66044Kelly
ParticipantHi, 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.
-
AuthorPosts
- The topic ‘Displaying Events on homepage’ is closed to new replies.
