Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem. Is there any way to put the event calendar on a post?

    Event calendar is great, and widget is useful.
    I really want to put it on the page rather than a small sidebar.

    Thanks for reply if any.

    Hi Guys,
    Event Calendar uses a category, so the first thing that you will want to do is find out which category number it uses (you can find this in your admin section).

    After you have the category number (let’s assume the number is 7) you will create a template for this category, the templates name will be:

    category-7.php

    Next you will create your template which might look similar to this:

    <?php
    /*
    Template Name: Calendar
    */
    ?>
    <?php get_header(); ?>
    <!-- Whatever code is needed for your design here -->
    
    <div id="calendar">
    <h2>Monthly Caledar of Events</h2>
    <?php ec3_get_calendar(); ?>
    </div>
    
    <div id="events">
    <?php ec3_get_events(10); ?>
    </div>
    
    <?php get_footer(); ?>

    The above code will need adjusting to suit your design needs but should serve as a good launch pad for what you are trying to set-up.

    Hope this helps. ??

    Me too…I’m interested…anyone that can help us???

    cwoodside,

    Thanks for creating that code!

    I added a category-7.php style file to the directory /wp-content/themes/k2/ (since I use the K2 theme), and it appeared in the Template Editor right away.

    This is a great starting off point to create a special calendar page using eventcalendar3.

    I’ve found a few good examples of how nice eventcalendar3 pages can be.

    This site uses the K2 theme:
    https://dryden.eastmanhouse.org/

    This site has its own customized theme:
    https://streetsblog.com/category/events/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Event Calendar 3 on a page?’ is closed to new replies.