• Trying to use the “Event Page Plugin” to create an event page in which posts labeled as a events are used in an event format on the page.

    Instructions are:

    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 this code <?php /* Template Name: Events */ ?> on the first line of the file. ** Remove the code that prints the post to the page and replace it with this code: <?php tern_wp_events(); ?> ** Upload the new file to the server.

    I obviously get placing the first line of code, but I can’t figure out which code is associated with the second line.

    Here’s my page.php:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Can anyone help me figure out where to place that second line?

    Thanks!

    Geoff

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Need Help – Directions say "Remove Code that prints to post page"’ is closed to new replies.