Home › Forums › Welcome! › Pre-Sales Questions › Include page content with calendar
- This topic has 4 replies, 1 voice, and was last updated 11 years, 5 months ago by
Geoff.
-
AuthorPosts
-
December 10, 2014 at 8:18 am #914220
Josh
GuestBefore I purchase the pro version I’m trying to figure out if it’s possible to display a page’s content along with the calendar. For example; if I create a page at /events can I get the pages content to display as well?
December 10, 2014 at 8:59 am #914278Geoff
MemberHi there, Josh! Thanks for reaching out and for checking out the plugin. We hope it fits in with what you’re working on. 🙂
Good question. While adding content to the calendar page itself is not supported right out of the box (the page itself is a formatted Archive template for the tribe_events custom post type), there are a couple of different ways to make it happen.
One way is to hook into our filters and add your content to the calendar page that way. For example, we have both the tribe_events_before_html() and tribe_events_after_html() functions which would allow you to output custom content before or after the HTML that is output by the plugin. Here’s a snippet that shows how this might look using tribe_events_before_html() to output custom content on the Month View.
Another way is to use a third party plugin like Event Rocket. We don’t support the plugin here in the forums, but it does have a feature that allows you to embed the calendar on pages using shortcodes. Definitely worth checking out.
Does this help answer your question? Please let me know and thanks again for getting in touch. 🙂
Cheers!
GeoffDecember 10, 2014 at 11:26 am #914467Josh
GuestThanks for the quick response. After looking at the event rocket plugin my understanding is that it allows for embedding widgets via shortcodes, but not the actual calendar. Is that correct?
December 11, 2014 at 1:25 pm #915677Geoff
MemberThat is correct, indeed. Shortcodes are not currently supported by the plugin right out of the box, but Event Rocket will extend that functionality into it.
Does that help clarify things a bit?
Cheers!
GeoffDecember 12, 2014 at 7:36 am #916392Geoff
MemberHey there, Josh! Thanks for following up and confirming the answer–I really appreciate it and hope the plugin is a good fit for your project.
I’ll go ahead and close this thread, but please feel free to hit us up with a new one if any other questions pop up. We’d be happy to help. 🙂
Thanks again for getting in touch and checking out the plugin.
Geoff
-
AuthorPosts
- The topic ‘Include page content with calendar’ is closed to new replies.
