ternstyle - Lehigh Valley, Allentown, Bethlehem, Easton, WordPress, Lehigh Valley web design, web programming, web development, lehigh valley web hosting, content management tools, website plugins, WordPress plugins, WordPress Themes, php libraries, php classes, javascript libraries, javascript classes, jQuery plugins, web programming, free web software, free php classes, free software

  • NEW EVENT PLUGIN FOR WordPress!

    ternCal is the New Ultimate WordPress Event System!

    Featuring repeating events, Google Calendar integration, ICAL and Outlook Support, month, week, and day views, Wordpress short code for listing events, a color coded legend and much much more...

    Check it out now!

WordPress Event Page Plugin How to Make It Work

To create a page that houses your events follow these steps:

  • Navigate to your WordPress blog’s theme folder which should be found in /wp-content/themes/the-name-of-your-theme
  • You’ll need to create a new template file entitled “events.php”
    • To do this copy your file entitled page.php and name it events.php.
    • Place the code in “Example 1″ on the first line of the file.
    • Remove the code that prints the page content and replace it with the code in “Example 2″.
    • Upload the new file to the server.
  • Now you’ll need to create a new page which you can title whatever you like.
  • Assign this page to the template entitled “Events”
  • Remember to alter your Event Page settings to reflect the new name of this page. Seesettings.
  • That should be it. View the page and you should see the Event Page in its moderately useful glory!

Example 1

<?php
/*
Template Name: Events
*/
?>

Example 2

To implement this plugin you only need two lines of code. See below:

<?php
     tern_wp_events();
?>

The first line of code initializes the plugin’s class. The second line of code prints your events to the page.

Home > Products > Plugins > WordPress Plugins > WordPress Event Page Plugin > WordPress Event Page Plugin How to Make It Work

Copyright © 2010 Ternstyle Inc. All rights reserved.
site design: ternstyle.us