- This topic has 4 replies, 2 voices, and was last updated 13 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Adding Calendar to a Homepage
I was able to add a calendar to the “events page” with this code: [events_calendar full=1]
and I was able to add a list of events with this code to the “homepage”:
<?php eme_get_events_list(“limit=5”); ?>
Question: Is there some kind of php code I can paste into index.php to show the standard calendar?
For now I just viewed the source and took that code though I fear it won’t be dynamic and update month to month, change dates, etc…
You can use all shortcodes on any normal page, see http://www.e-dynamics.be/wordpress/?cat=17
Really appreciate the reply.
I tried to add this code [events_calendar] to the homepage in the themes index.php file, but I take it I’m doing it wrong… where should I add it so it’ll show above my blog on the homepage?
Thanks!
Here is how to do it!
<?php echo do_shortcode(‘[events_calendar full=1]‘); ?>
Thanks for such a quick reply and looking forward to the day it becomes SEO friendly
Great work!
If you’re using the shortcodes, you might want to put them just in your WP created pages, not in your theme 🙂
The 2 widgets are there to help you as well.