Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • oops. Sorry, wrong function. Oh well.

    I want to do the exact same thing Anton.
    I’ve little expertise in php but the function appears to be in the file
    events-calendar/events-calendar.php towards the bottom.

    Tried it out with the following in my external page

    <section class="diary"><h1>Diary</h1><?php sidebarEventsList($one);?></section>

    and the html returned to the browser <section class=”diary”><h1>Diary</h1>

      <li id=”no-events-in-list”>Events are coming soon, stay tuned!

    </section>

    However, removing the variable thus:
    <section class="diary"><h1>Diary</h1><?php sidebarEventsList();?></section>

    returns the following HTML inside my diary section:

    <ul id="events-calendar-list"><li id="events-calendar-list-2"><a href="http://127.0.1.1:8080/wordpress/?p=66"><strong>Fri 16/3/2012</strong>: Youth Club</a></li>
    </ul>

    Which is the only event I’ve put in the calendar. This is followed by some JavaScript, which appears to be jQuery related
    , which presumably makes the event clickable, which it is.

    Hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)