Events Made Easy Forums How do I … Adding Calendar to a Homepage

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42531
    Anonymous
    Inactive

    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…

    #46758
    Franky
    Keymaster

    You can use all shortcodes on any normal page, see http://www.e-dynamics.be/wordpress/?cat=17

    #46759
    Anonymous
    Inactive

    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!

    #46760
    Anonymous
    Inactive

    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!

    #46761
    Franky
    Keymaster

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top