Can i move events page into homepage

Home Forums Calendar Products Events Calendar PRO Can i move events page into homepage

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #935400
    Steve
    Participant

    Hy there,

    I am trying to see if there is a way to move the entire code of the /events page into a section on homepage.

    I moved :

    <div id="tribe-events-pg-template">
    		<?php tribe_events_before_html(); ?>
    		<?php tribe_get_view(); ?>
    		<?php tribe_events_after_html(); ?>
    	</div> <!-- #tribe-events-pg-template -->

    But all it does it a spinner and does not load anything i also tried to remove the link in events-> settings but again no result.

    Do you have any suggestions ? Or do you know any way to make this happen ?

    Thanks

    #935417
    Geoff
    Member

    Hi there, Steve! Thanks for getting in touch.

    We’re fairly limited in how much we can support custom development questions like this one, but I’m happy to point you in the right direction, if I can. 🙂

    Currently, there is no setting or easy way to make the calendar your site’s homepage or to embed it in the homepage. There is a third-party plugin called Event Rocket (not supported by us), that gives you some shortcode options to do just that, but that functionality isn’t currently supported by our plugin right out of the box.

    I think the reason you’re getting the spinner is that the calendar scripts are not included on your page. You’ll want to use the default WordPress enqueue_script() function to add those in when the homepage is loaded. Here’s a nice list of available scripts. I’m not sure if this is all of them, but it is pretty comprehensive. Also, here’s an example snippet that you can use to get your self started.

    Sorry I don’t have more of a concrete solution for you, but I hope these options help steer you in the right direction. 🙂

    Cheers!
    Geoff

    #938826
    Geoff
    Member

    Hey Steve! Just checking in to see if you still need any assistance on this one or if you’re good–please let me know.

    Cheers!
    Geoff

    #941027
    Geoff
    Member

    Hey there, Steve! It’s been a while since I’ve heard from you, so I’m going to go ahead and close this thread. Please feel free to hit us up with a new thread if anything else pops up and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Can i move events page into homepage’ is closed to new replies.