How to add and Events listing to the homepage

Home Forums Calendar Products Events Calendar PRO How to add and Events listing to the homepage

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #996649
    KMS
    Participant

    Hi,
    We are trying to show the events on the homepage. I have tried adding the code from the photo.php (We have the Pro version which allows the photo option) to the child template in page.php with an if condition to check for homepage, but I’m running into errors.

    Basically, I’m looking for the easiest/quickest way to make the main section of the homepage display the events information like this page.
    http://72.52.172.52/~garretcol/events/

    Here is the current homepage:
    http://72.52.172.52/~garretcol/

    Thanks,
    BP

    #996763
    Geoff
    Member

    Hi BP and thanks for reaching out!

    Right now, we unfortunately do not have a way to embed the Photo View of the calendar on any page with a shortcode (though we do have other shortcodes for embedding the calendar widgets).

    One way of embedding events on the homepage might be to use the Event Rocket plugin. The only issue here is that I do not believe it embeds Photo View specifically.

    Another route would be to create your own query of events in the homepage template. We have a tutorial on using theĀ tribe_get_events() function that would help get you started on that route. Note that you would need to make sure the styles and scripts for Photo View are enqueued for that page so the Photo View styling could be used.

    Sorry I don’t have more of a concrete solution for you here, but I do hope this at least helps get you started in the right direction!

    Geoff

    #1000861
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to add and Events listing to the homepage’ is closed to new replies.